blob: 7ff56c8e55c79ae6a394cce41c2b7f75740f0c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.14 2014/12/03 14:05:55 joerg Exp $
DISTNAME= miniupnpd-1.8.20141022
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
# miniupnpd.c:8:10: fatal error: 'config.h' file not found
MAKE_JOBS_SAFE= no
.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"
|