blob: f5c588b3f9d5bf539b83ac4b3022f7469903e9cb (
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
|
PORTNAME= miniupnpc
PORTVERSION= 2.2.0
PORTREVISION= 0
CATEGORIES?= net
MASTER_SITES= http://miniupnp.free.fr/files/
MAINTAINER?= dinoex@FreeBSD.org
COMMENT?= UPnP IGD client lightweight library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES+= gmake
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_SCRIPT= updateminiupnpcstrings.sh
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CFLAGS+= -DDEBUG
.endif
.if ${SLAVE_PORT} == no
USE_RC_SUBR= miniupnpc
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/upnpc \
${STAGEDIR}${PREFIX}/lib/libminiupnpc.so.17
.endif
.include <bsd.port.post.mk>
|