diff options
author | adrianp <adrianp> | 2004-10-30 15:24:02 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2004-10-30 15:24:02 +0000 |
commit | 6effa5a23493b79cd061cc565fab914a961e32b6 (patch) | |
tree | e36edee04fc6f6fb97548951cf28a0a2d58a45c5 | |
parent | cb7d8fc45a47f2596b7dc265579c79624795193c (diff) | |
download | pkgsrc-6effa5a23493b79cd061cc565fab914a961e32b6.tar.gz |
- Fix directory permissions
- Add CONF_FILES directive for installed .conf
- Fix default path of wistumbler2.conf
-rw-r--r-- | net/wistumbler2/Makefile | 16 | ||||
-rw-r--r-- | net/wistumbler2/PLIST | 4 |
2 files changed, 18 insertions, 2 deletions
diff --git a/net/wistumbler2/Makefile b/net/wistumbler2/Makefile index c3bf8fcfbee..266c5d1a9a6 100644 --- a/net/wistumbler2/Makefile +++ b/net/wistumbler2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/10/20 22:17:31 xtraeme Exp $ +# $NetBSD: Makefile,v 1.8 2004/10/30 15:24:02 adrianp Exp $ DISTNAME= wistumbler2.00-pre9 PKGNAME= ${DISTNAME:S/wistumbler/wistumbler-/} @@ -12,6 +12,7 @@ COMMENT= Fork of original WaveLAN/IEEE network stumbler USE_BUILDLINK3= YES HAS_CONFIGURE= YES MANCOMPRESSED= YES +USE_PKGINSTALL= YES CONFIGURE_ENV+= PREFIX=${PREFIX} NOT_FOR_PLATFORM= NetBSD-[01].[012345]*-* @@ -21,6 +22,15 @@ WISTUMBLER2_USES_GTK?= yes BUILD_DEFS+= WISTUMBLER2_USES_GTK +CONF_FILES= ${PREFIX}/share/wistumber2/wistumber2.conf \ + ${PKG_SYSCONFDIR}/wistumber2.conf + +SUBST_CLASSES+= conf +SUBST_STAGE.conf= post-patch +SUBST_FILES.conf= src/userconf.c +SUBST_SED.conf= -e "s|/etc|${PKG_SYSCONFDIR}|g" +SUBST_MESSAGE.conf= "Fixing configuration files." + .include "../../mk/bsd.prefs.mk" .if !empty(WISTUMBLER2_USES_GTK:M[Yy][Ee][Ss]) @@ -30,6 +40,10 @@ USE_X11= yes CONFIGURE_ENV+= USE_GTK=0 .endif +post-extract: + @${CHMOD} ${PKGDIRMODE} ${WRKSRC}/doc + @${CHMOD} ${PKGDIRMODE} ${WRKSRC}/img + .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/wistumbler2/PLIST b/net/wistumbler2/PLIST index df7ef0635e2..0f59b581325 100644 --- a/net/wistumbler2/PLIST +++ b/net/wistumbler2/PLIST @@ -1,3 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 19:11:02 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/10/30 15:24:02 adrianp Exp $ bin/wistumbler2 man/man1/wistumbler2.1 +share/examples/wistumbler2/wistumbler2.conf +@dirrm share/examples/wistumbler2 |