1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net/ifstated/Makefile
Ryan Steinmetz 9ff471ed29 - Update to 5.1
PR:		ports/166444
Submitted by:	Jim Riggs <ports@christianserving.org> (maintainer)
Feature safe:	yes
2012-03-28 01:42:25 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: ifstated
# Date created: 18 November 2004
# Whom: Matthew George <mdg@secureworks.net>
#
# $FreeBSD$
#
PORTNAME= ifstated
PORTVERSION= 5.1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://christianserving.org/ports/net/ifstated/
MAINTAINER= ports@christianserving.org
COMMENT= Interface state daemon
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
MAN5= ifstated.conf.5
MAN8= ifstated.8
PLIST_FILES= etc/ifstated.conf-sample \
sbin/ifstated
SUB_FILES= pkg-message
USE_RC_SUBR= ifstated
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}
.include <bsd.port.mk>