2010-05-11 10:53:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2010/05/11 08:53:29 roy Exp $
|
2009-01-06 04:56:45 +01:00
|
|
|
#
|
|
|
|
|
2010-05-11 10:53:29 +02:00
|
|
|
DISTNAME= miniupnpd-1.4.20100308
|
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
|
2009-11-26 01:35:00 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2009-01-06 04:56:45 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/miniupnpd
|
|
|
|
CONF_FILES= ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
|
2010-05-11 10:53:29 +02:00
|
|
|
CFLAGS+= -DDEFAULT_CONFIG=\"${PKG_SYSCONFDIR:Q}/miniupnpd.conf\"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|