aboutsummaryrefslogtreecommitdiff
path: root/net/ifstated
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-10-07 11:17:09 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-10-07 11:17:09 +0000
commit5d2ef3d520b3968c6fda947665555afb77fa5abf (patch)
tree669437e831413377a02128d581066988384d4190 /net/ifstated
parent72cd52f197a9c8eb81b75757171b8b9cb4797686 (diff)
downloadports-5d2ef3d520b3968c6fda947665555afb77fa5abf.tar.gz
ports-5d2ef3d520b3968c6fda947665555afb77fa5abf.zip
Notes
Diffstat (limited to 'net/ifstated')
-rw-r--r--net/ifstated/Makefile15
-rw-r--r--net/ifstated/files/ifstated.in (renamed from net/ifstated/files/ifstated.sh)0
2 files changed, 4 insertions, 11 deletions
diff --git a/net/ifstated/Makefile b/net/ifstated/Makefile
index a9bfe01e793a..50cb7b7c3a46 100644
--- a/net/ifstated/Makefile
+++ b/net/ifstated/Makefile
@@ -10,28 +10,21 @@ PORTVERSION= 20050505
CATEGORIES= net
MASTER_SITES= ftp://ftp.secureworks.net/pub/ifstated/
-MAINTAINER= mdg@secureworks.net
+MAINTAINER= ports@FreeBSD.org
COMMENT= Interface State daemon
INSTALL_TARGET= install install-man
MAN8= ifstated.8
-PLIST_FILES= sbin/ifstated \
- etc/ifstated.conf etc/rc.d/ifstated.sh
+PLIST_FILES= sbin/ifstated etc/ifstated.conf
+SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-USE_RC_SUBR= yes
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+USE_RC_SUBR= ifstated
post-patch:
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/ifstated.sh > ${WRKDIR}/ifstated.sh
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ifstated.c ${WRKSRC}/ifstated.8
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/ifstated.sh ${PREFIX}/etc/rc.d/ifstated.sh
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
diff --git a/net/ifstated/files/ifstated.sh b/net/ifstated/files/ifstated.in
index 98c544fafe0f..98c544fafe0f 100644
--- a/net/ifstated/files/ifstated.sh
+++ b/net/ifstated/files/ifstated.in