2005-05-24 12:29:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2005/05/24 10:30:51 rillig Exp $
|
2005-03-13 13:48:21 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= linuxigd-0.92
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=linux-igd/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= obata@lins.jp
|
|
|
|
HOMEPAGE= http://linux-igd.sourceforge.net/
|
|
|
|
COMMENT= Linux UPnP Internet Gateway Device
|
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_PKGINSTALL= yes
|
2005-05-24 12:29:21 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-03-13 13:48:21 +01:00
|
|
|
|
2005-04-21 15:04:57 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2005-03-13 13:48:21 +01:00
|
|
|
WRKSRC= ${WRKDIR}/linux-igd
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR?= linuxigd
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/linuxigd
|
|
|
|
CONF_FILES= ${EGDIR}/gateconnSCPD.xml ${PKG_SYSCONFDIR}/gateconnSCPD.xml
|
|
|
|
CONF_FILES+= ${EGDIR}/gatedesc.skl ${PKG_SYSCONFDIR}/gatedesc.skl
|
|
|
|
CONF_FILES+= ${EGDIR}/gatedesc.xml ${PKG_SYSCONFDIR}/gatedesc.xml
|
|
|
|
CONF_FILES+= ${EGDIR}/gateicfgSCPD.xml ${PKG_SYSCONFDIR}/gateicfgSCPD.xml
|
|
|
|
CONF_FILES+= ${EGDIR}/gateinfoSCPD.xml ${PKG_SYSCONFDIR}/gateinfoSCPD.xml
|
|
|
|
RCD_SCRIPTS= linuxigd
|
|
|
|
|
|
|
|
SUBST_CLASSES+= cfgdir
|
|
|
|
SUBST_STAGE.cfgdir= pre-configure
|
|
|
|
SUBST_FILES.cfgdir= gateway.h
|
|
|
|
SUBST_SED.cfgdir= -e 's|@CONFDIR@|${PKG_SYSCONFDIR}|'
|
|
|
|
|
|
|
|
.include "../../wip/libupnp/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|