diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-04-05 18:14:58 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-04-05 18:14:58 +0000 |
commit | 2741bc6d91a2b31cd99713aa0e72ffff35e9618a (patch) | |
tree | b52187086fea817c359d09a9b462acb802af3809 /net-mgmt/netustad | |
parent | d15fa877661c65bce51c3630347709c758ab0132 (diff) |
Notes
Diffstat (limited to 'net-mgmt/netustad')
-rw-r--r-- | net-mgmt/netustad/Makefile | 15 | ||||
-rw-r--r-- | net-mgmt/netustad/files/netustad.in (renamed from net-mgmt/netustad/files/netustad.sh) | 0 | ||||
-rw-r--r-- | net-mgmt/netustad/pkg-plist | 1 |
3 files changed, 5 insertions, 11 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile index 87b820e4f81e..3dd91a4b9754 100644 --- a/net-mgmt/netustad/Makefile +++ b/net-mgmt/netustad/Makefile @@ -7,7 +7,7 @@ PORTNAME= netustad PORTVERSION= 0.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt security MASTER_SITES= http://www.enderunix.org/netustad/ @@ -17,7 +17,7 @@ COMMENT= A Web based admin tool that manages network services #MAN8= netustad.8 netustadpasswd.8 #MAN5= netustad.conf.5 -USE_RC_SUBR= yes +USE_RC_SUBR= ${PORTNAME} USE_GETTEXT= yes GNU_CONFIGURE= yes OPTIONS= SSL "Use netUstad with SSL support" on @@ -41,16 +41,11 @@ CONFIGURE_ARGS+= --without-nls .endif .if defined(NOPORTDOCS) -#make portlint happy :) +post-patch: + ${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in .endif -SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; }' - -post-build: - @${SED} ${SED_SCRIPT} ${FILESDIR}/netustad.sh >${WRKDIR}/netustad.sh - post-install: - @${CAT} ${PKGMESSAGE} | ${SED} ${SED_SCRIPT} - ${INSTALL_SCRIPT} ${WRKDIR}/netustad.sh ${PREFIX}/etc/rc.d/ + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/net-mgmt/netustad/files/netustad.sh b/net-mgmt/netustad/files/netustad.in index 083dd8c289ae..083dd8c289ae 100644 --- a/net-mgmt/netustad/files/netustad.sh +++ b/net-mgmt/netustad/files/netustad.in diff --git a/net-mgmt/netustad/pkg-plist b/net-mgmt/netustad/pkg-plist index d6126d3d403f..ed520888f92c 100644 --- a/net-mgmt/netustad/pkg-plist +++ b/net-mgmt/netustad/pkg-plist @@ -1,7 +1,6 @@ bin/netustadctl bin/netustadpasswd sbin/netustad -etc/rc.d/netustad.sh @unexec if cmp -s %D/etc/netustad/netustad.conf %D/etc/netustad/netustad.conf-dist; then rm -f %D/etc/netustad/netustad.conf; fi etc/netustad/netustad.conf-dist @exec [ -f %B/netustad/netustad.conf ] || cp %B/%f %B/netustad/netustad.conf |