diff options
author | obache <obache@pkgsrc.org> | 2008-12-28 12:49:25 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-12-28 12:49:25 +0000 |
commit | 436e982b8bef828ae1a2b7cc83624c7f93342872 (patch) | |
tree | 8c548136e39f5d9f5391a5955914fa6186de8ab4 /net/wpa_supplicant | |
parent | 2fa05ee9f930045837a90f0ec278ea6da6bcb0f3 (diff) | |
download | pkgsrc-436e982b8bef828ae1a2b7cc83624c7f93342872.tar.gz |
* Marked as DESTDIR support, and remove redundant slashes.
* Change to use BUILD_DIRS instead of custom do-build target.
Diffstat (limited to 'net/wpa_supplicant')
-rw-r--r-- | net/wpa_supplicant/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/net/wpa_supplicant/Makefile b/net/wpa_supplicant/Makefile index fad4bc0095b..4449ee16d5b 100644 --- a/net/wpa_supplicant/Makefile +++ b/net/wpa_supplicant/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/12/11 21:18:41 reed Exp $ +# $NetBSD: Makefile,v 1.2 2008/12/28 12:49:25 obache Exp $ # DISTNAME= wpa_supplicant-0.6.6 @@ -9,32 +9,33 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://hostap.epitest.fi/wpa_supplicant/ COMMENT= Wireless connection client daemon for WPA, WPA2, and WEP +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c USE_TOOLS+= gmake +BUILD_DIRS= wpa_supplicant + INSTALLATION_DIRS= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 post-extract: cp ${FILESDIR}/defconfig.${OPSYS} ${WRKSRC}/wpa_supplicant/.config -do-build: - cd ${WRKSRC}/wpa_supplicant && ${SETENV} ${MAKE_ENV} ${GMAKE} all - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_cli \ - ${DESTDIR}/${PREFIX}/sbin/ + ${DESTDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_passphrase \ - ${DESTDIR}/${PREFIX}/sbin/ + ${DESTDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/wpa_supplicant/wpa_supplicant \ - ${DESTDIR}/${PREFIX}/sbin/ + ${DESTDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_supplicant.conf.5 \ - ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man5/ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_cli.8 \ - ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_passphrase.8 \ - ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/wpa_supplicant/doc/docbook/wpa_supplicant.8 \ - ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man8/ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ .include "../../net/libpcap/buildlink3.mk" |