aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-05 13:28:13 +0800
committersem <sem@FreeBSD.org>2004-08-05 13:28:13 +0800
commite784bb3e0f57343170bbf5420fb15c893189d8d8 (patch)
tree2bab53b3239c121bcdee9619ce4f8ff7b292bf18 /net-mgmt/netustad/Makefile
parent245fe61b4e253d9dda97b7f9e49ca81ef2bafcdf (diff)
downloadfreebsd-ports-gnome-e784bb3e0f57343170bbf5420fb15c893189d8d8.tar.gz
freebsd-ports-gnome-e784bb3e0f57343170bbf5420fb15c893189d8d8.tar.zst
freebsd-ports-gnome-e784bb3e0f57343170bbf5420fb15c893189d8d8.zip
update to 0.2 beta
many enhancements. much better rule list view. PR: ports/70007 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/netustad/Makefile')
-rw-r--r--net-mgmt/netustad/Makefile29
1 files changed, 24 insertions, 5 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile
index 8c9299d3c5a7..ffa721ff5ada 100644
--- a/net-mgmt/netustad/Makefile
+++ b/net-mgmt/netustad/Makefile
@@ -1,23 +1,42 @@
# New ports collection makefile for: netustad
# Date created: 4 July 2004
-# Whom: ozkan@enderunix.org
+# Whom: Ozkan KIRIK <ozkan@enderunix.org>
#
# $FreeBSD$
#
PORTNAME= netustad
-PORTVERSION= 0.1.1
+PORTVERSION= 0.2b
CATEGORIES= net-mgmt security
MASTER_SITES= http://www.enderunix.org/netustad/
+DISTNAME= ${PORTNAME}-0.2-BETA
MAINTAINER= ozkan@enderunix.org
-COMMENT= A web based admin tool that manages network services
+COMMENT= A Web based admin tool that manages network services
MAN8= netustad.8 netustadpasswd.8
MAN5= netustad.conf.5
+USE_RC_SUBR= yes
+SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; }'
+
+post-build:
+ @${SED} ${SED_SCRIPT} ${FILESDIR}/netustad.sh >${WRKDIR}/netustad.sh
+ @${SED} ${SED_SCRIPT} ${FILESDIR}/netustadctl >${WRKDIR}/netustadctl
+
post-install:
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g'
- @${INSTALL_SCRIPT} ${FILESDIR}/netustad.sh.sample ${PREFIX}/etc/rc.d/
+ @${CAT} ${PKGMESSAGE} | ${SED} ${SED_SCRIPT}
+ ${INSTALL_SCRIPT} ${WRKDIR}/netustad.sh ${PREFIX}/etc/rc.d/
+ ${INSTALL_SCRIPT} ${WRKDIR}/netustadctl ${PREFIX}/sbin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/GPL-License ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+.endif
.include <bsd.port.mk>