pkgsrc/net/miniupnpd/Makefile
adam ed833ce4ff VERSION 2.0:
2016/04/18:
  linux/netfilter: fix compile time detection of iptables version >= 1.4.3
2016/03/08:
  linux/netfilter: do not add MASQUERADE rule if ports are equals
2016/02/19:
  set IPv6 Hop limit to 10
  fix HOST: header of event notifications in IPv6
  be more compliant on 64bit machines : ui4 in [0;2^32-1]
2016-10-01 11:32:57 +00:00

33 lines
945 B
Makefile

# $NetBSD: Makefile,v 1.22 2016/10/01 11:32:57 adam Exp $
DISTNAME= miniupnpd-2.0
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/download.php?file=
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://miniupnp.free.fr/
COMMENT= UPnP IGD service with NAT-PMP support
LICENSE= modified-bsd
EGDIR= ${PREFIX}/share/examples/miniupnpd
CONF_FILES= ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
MAKE_JOBS_SAFE= no # genconfig.sh run in parallel with users of config.h
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
CFLAGS+= -DDEFAULT_CONFIG=\"${PKG_SYSCONFDIR}/miniupnpd.conf\"
INSTALL_MAKE_FLAGS+= INSTALLETCDIR=${EGDIR}
INSTALL_MAKE_FLAGS+= INSTALLMANDIR=${PREFIX}/${PKGMANDIR}/man1
RCD_SCRIPTS= miniupnpd
SUBST_CLASSES+= fwname
SUBST_STAGE.fwname= pre-configure
SUBST_MESSAGE.fwname= Setting desired firewall type.
SUBST_FILES.fwname= genconfig.sh
SUBST_VARS.fwname= FWNAME
.include "../../mk/bsd.pkg.mk"