svn commit: r342935 - head/net/ifstated
Martin Wilke
miwi at FreeBSD.org
Thu Feb 6 07:21:40 UTC 2014
Author: miwi
Date: Thu Feb 6 07:21:39 2014
New Revision: 342935
URL: http://svnweb.freebsd.org/changeset/ports/342935
QAT: https://qat.redports.org/buildarchive/r342935/
Log:
- Stage support
Modified:
head/net/ifstated/Makefile
Modified: head/net/ifstated/Makefile
==============================================================================
--- head/net/ifstated/Makefile Thu Feb 6 07:20:15 2014 (r342934)
+++ head/net/ifstated/Makefile Thu Feb 6 07:21:39 2014 (r342935)
@@ -12,27 +12,23 @@ COMMENT= Interface state daemon
LIB_DEPENDS= event-1:${PORTSDIR}/devel/libevent
-MAN5= ifstated.conf.5
-MAN8= ifstated.8
-
PLIST_FILES= etc/ifstated.conf-sample \
- sbin/ifstated
+ sbin/ifstated \
+ man/man5/ifstated.conf.5.gz \
+ man/man8/ifstated.8.gz
+
SUB_FILES= pkg-message
USE_RC_SUBR= ifstated
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/ifstated.conf.5
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${PREFIX}/etc
- ${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${PREFIX}/man/man5
- ${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${PREFIX}/man/man8
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${STAGEDIR}${PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list