pkgsrc/net/miniupnpd/Makefile

28 lines
725 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2009/04/29 12:34:42 sborrill Exp $
#
DISTNAME= miniupnpd-20081009
PKGREVISION= 1
PKGNAME= ${DISTNAME:S/miniupnpd-/&1.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
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}
MAKE_ENV+= PKG_CFLAGS="-DPKG_DEFAULT_CONFIG=\\\"${PKG_SYSCONFDIR:Q}/miniupnpd.conf\\\""
RCD_SCRIPTS= miniupnpd
.include "../../mk/bsd.pkg.mk"