mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
d20e5e2afa
PR: 156512 Submitted by: Tor Halvard Furulund <squat@squat.no> (maintainer)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: miniupnpd
|
|
# Date created: 22 March 2007
|
|
# Whom: Daniel O'Connor <darius@dons.net.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= miniupnpd
|
|
PORTVERSION= 1.5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://miniupnp.tuxfamily.org/files/ \
|
|
http://miniupnp.free.fr/files/
|
|
|
|
MAINTAINER= squat@squat.no
|
|
COMMENT= A UPnP IGD implementation which uses pf/ipf
|
|
|
|
SUB_FILES= miniupnpd.conf.sample
|
|
SUB_LIST= UUID=${UUID}
|
|
|
|
UUID!= uuidgen
|
|
FWNAME?= pf
|
|
PLIST_FILES= etc/miniupnpd.conf.sample sbin/miniupnpd
|
|
|
|
MAN8= miniupnpd.8
|
|
|
|
USE_RC_SUBR= miniupnpd.sh
|
|
|
|
OPTIONS= PF_ENABLE_FILTER_RULES "Enable pf generation of filter rules" off \
|
|
|
|
.include <bsd.port.options.mk>
|
|
.if defined(WITH_PF_ENABLE_FILTER_RULES)
|
|
EXTRA_PATCHES= ${PATCHDIR}/pf_enable_filter_rules.patch
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin/miniupnpd
|
|
@${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample ${PREFIX}/etc/miniupnpd.conf.sample
|
|
@${INSTALL_MAN} ${WRKSRC}/miniupnpd.1 ${PREFIX}/man/man8/miniupnpd.8
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|