mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
af8e8db979
Unhide installation
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Daniel O'Connor <darius@dons.net.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= miniupnpd
|
|
PORTVERSION= 1.8.20140310
|
|
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
|
|
|
|
PF_ENABLE_FILTER_RULES_EXTRA_PATCHES= ${PATCHDIR}/pf_enable_filter_rules.patch
|
|
|
|
post-patch:
|
|
@${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>
|