diff options
-rw-r--r-- | net/ifstated/Makefile | 15 | ||||
-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 a9bfe01e793..50cb7b7c3a4 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 98c544fafe0..98c544fafe0 100644 --- a/net/ifstated/files/ifstated.sh +++ b/net/ifstated/files/ifstated.in |