2009-04-29 14:34:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2009/04/29 12:34:42 sborrill Exp $
|
2009-01-06 04:56:45 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= miniupnpd-20081009
|
2009-04-29 14:34:42 +02:00
|
|
|
PKGREVISION= 1
|
2009-01-07 00:39:53 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/miniupnpd-/&1.2.0./}
|
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
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/miniupnpd
|
|
|
|
CONF_FILES= ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
MAKE_ENV+= ${BSD_MAKE_ENV}
|
2009-01-07 00:39:53 +01:00
|
|
|
MAKE_ENV+= PKG_CFLAGS="-DPKG_DEFAULT_CONFIG=\\\"${PKG_SYSCONFDIR:Q}/miniupnpd.conf\\\""
|
|
|
|
|
|
|
|
RCD_SCRIPTS= miniupnpd
|
2009-01-06 04:56:45 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|