diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-04-06 02:14:58 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-04-06 02:14:58 +0800 |
commit | 8657174e7776328aa835aa33031945dbcfca67c4 (patch) | |
tree | 7fda48120cbe63c58876ce5ebfed517217a71418 | |
parent | 26543a75da9d00f3a701f0bcdae7ac432d7cd524 (diff) | |
download | freebsd-ports-gnome-8657174e7776328aa835aa33031945dbcfca67c4.tar.gz freebsd-ports-gnome-8657174e7776328aa835aa33031945dbcfca67c4.tar.zst freebsd-ports-gnome-8657174e7776328aa835aa33031945dbcfca67c4.zip |
- fix plist with -DNOPORTDOCS
- modernize rc.d and pkg-message handling
- bump PORTREVISION
Prompted by: QAT QA run
-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 |