This project is a deamon that emulates Microsoft's Internet Connection Service (ICS). It implements the UPnP Internet Gateway Device specification (IGD) and allows UPnP aware clients, such as MSN Messenger to work properly from behind a NAT firewall. PR: ports/41295 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> Submitter sponsored by: Miss WeiWei.
36 lines
758 B
Makefile
36 lines
758 B
Makefile
# New ports collection makefile for: linuxigd
|
|
# Date created: 02 August 2002
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= linuxigd
|
|
PORTVERSION= 0.75
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= linux-igd
|
|
DISTNAME= gateway-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= leeym@leeym.com
|
|
|
|
LIB_DEPENDS= upnp.1:${PORTSDIR}/devel/upnp
|
|
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
|
|
post-extract:
|
|
@${CHMOD} 755 ${WRKSRC}/etc
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/gateway.h
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/etc/rc.d
|
|
@${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.sh.sample ${PREFIX}/etc/rc.d
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|