aboutsummaryrefslogtreecommitdiffstats
path: root/net/linuxigd/Makefile
blob: 163f7f0982624a69e1ab9915943a4df89bb1f1c8 (plain) (blame)
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
# New ports collection makefile for:    linuxigd
# Date created:             02 August 2002
# Whom:                     Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=   linuxigd
PORTVERSION=    0.92
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= linux-igd
EXTRACT_SUFX=   .tgz

MAINTAINER= leeym@FreeBSD.org
COMMENT=    Linux UPnP Internet Gateway Device

LIB_DEPENDS=    upnp.1:${PORTSDIR}/devel/upnp104

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/linux-igd
MAKE_ENV=   PTHREAD_LIBS=${PTHREAD_LIBS}

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

.include <bsd.port.mk>