aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-06 02:14:58 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-06 02:14:58 +0800
commit8657174e7776328aa835aa33031945dbcfca67c4 (patch)
tree7fda48120cbe63c58876ce5ebfed517217a71418 /net-mgmt/netustad/Makefile
parent26543a75da9d00f3a701f0bcdae7ac432d7cd524 (diff)
downloadfreebsd-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
Diffstat (limited to 'net-mgmt/netustad/Makefile')
-rw-r--r--net-mgmt/netustad/Makefile15
1 files changed, 5 insertions, 10 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>