mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
ca172e882f
The previous commit fixed the intended action on a standard option; it should have been bumped.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Daniel O'Connor <darius@dons.net.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= miniupnpd
|
|
PORTVERSION= 1.8
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://miniupnp.tuxfamily.org/files/ \
|
|
http://miniupnp.free.fr/files/
|
|
|
|
MAINTAINER= squat@squat.no
|
|
COMMENT= 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 \
|
|
man/man8/miniupnpd.8.gz
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
USE_RC_SUBR= miniupnpd
|
|
|
|
OPTIONS_DEFINE= PF_ENABLE_FILTER_RULES
|
|
PF_ENABLE_FILTER_RULES_DESC= Enable pf generation of filter rules
|
|
|
|
.include <bsd.port.options.mk>
|
|
.if ${PORT_OPTIONS:MPF_ENABLE_FILTER_RULES}
|
|
EXTRA_PATCHES= ${PATCHDIR}/pf_enable_filter_rules.patch
|
|
.endif
|
|
|
|
post-patch-script:
|
|
@${REINPLACE_CMD} 's|CFLAGS ?= -pipe -Os|CFLAGS ?= -pipe|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${STAGEDIR}${PREFIX}/sbin
|
|
@${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/miniupnpd.conf.sample
|
|
@${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 \
|
|
${STAGEDIR}${MAN8PREFIX}/man/man8/miniupnpd.8
|
|
|
|
.include <bsd.port.mk>
|