2016-06-01 13:36:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2016/06/01 11:36:45 wiz Exp $
|
2009-01-06 04:56:45 +01:00
|
|
|
|
2016-03-01 14:14:52 +01:00
|
|
|
DISTNAME= miniupnpd-1.9.20160222
|
2009-01-06 04:56:45 +01:00
|
|
|
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
|
2012-03-22 13:56:51 +01:00
|
|
|
LICENSE= modified-bsd
|
2009-01-06 04:56:45 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/miniupnpd
|
|
|
|
CONF_FILES= ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
|
|
|
|
|
2016-06-01 13:36:45 +02:00
|
|
|
MAKE_JOBS_SAFE= no # genconfig.sh run in parallel with users of config.h
|
|
|
|
|
2009-01-06 04:56:45 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
|
2014-01-30 16:07:57 +01:00
|
|
|
CFLAGS+= -DDEFAULT_CONFIG=\"${PKG_SYSCONFDIR}/miniupnpd.conf\"
|
2010-05-11 10:53:29 +02:00
|
|
|
|
|
|
|
INSTALL_MAKE_FLAGS+= INSTALLETCDIR=${EGDIR}
|
|
|
|
INSTALL_MAKE_FLAGS+= INSTALLMANDIR=${PREFIX}/${PKGMANDIR}/man1
|
2009-01-07 00:39:53 +01:00
|
|
|
|
|
|
|
RCD_SCRIPTS= miniupnpd
|
2009-01-06 04:56:45 +01:00
|
|
|
|
2014-07-10 15:44:22 +02:00
|
|
|
SUBST_CLASSES+= fwname
|
|
|
|
SUBST_STAGE.fwname= pre-configure
|
|
|
|
SUBST_MESSAGE.fwname= Setting desired firewall type.
|
|
|
|
SUBST_FILES.fwname= genconfig.sh
|
|
|
|
SUBST_VARS.fwname= FWNAME
|
|
|
|
|
2009-01-06 04:56:45 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|