aboutsummaryrefslogtreecommitdiffstats
path: root/net/linuxigd/Makefile
blob: 30224ef882b25bc48be4c115896f28d9ce66a50a (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
# Created by: Yen-Ming Lee <leeym@leeym.com>
# $FreeBSD$

PORTNAME=   linuxigd
PORTVERSION=    1.0
PORTREVISION=   9
CATEGORIES= net
MASTER_SITES=   SF/linux-igd/linux-igd/${PORTNAME}-${PORTVERSION}

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

LIB_DEPENDS=    upnp.9:${PORTSDIR}/devel/upnp

USE_RC_SUBR=    linuxigd
USE_GMAKE=  yes
MAKE_ENV=   PTHREAD_LIBS=${PTHREAD_LIBS}

MAN8=       upnpd.8

NO_STAGE=   yes
post-extract:
    @${RM} ${WRKSRC}/iptc.?

post-patch:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g"

.include <bsd.port.mk>