2008-01-25 17:34:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= miniupnpc
|
2016-12-26 00:11:36 +01:00
|
|
|
PORTVERSION= 2.0.20161216
|
2009-08-14 09:08:41 +02:00
|
|
|
CATEGORIES?= net
|
2008-01-25 17:34:53 +01:00
|
|
|
MASTER_SITES= http://miniupnp.free.fr/files/
|
|
|
|
|
2011-11-14 06:45:02 +01:00
|
|
|
MAINTAINER?= dinoex@FreeBSD.org
|
2009-08-13 16:52:01 +02:00
|
|
|
COMMENT?= UPnP IGD client lightweight library
|
2008-01-25 17:34:53 +01:00
|
|
|
|
2014-03-09 14:57:06 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2011-02-20 17:43:10 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2010-12-10 13:43:45 +01:00
|
|
|
|
2015-01-06 14:59:35 +01:00
|
|
|
USES+= gmake
|
2009-08-13 16:52:01 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
CONFIGURE_SCRIPT= updateminiupnpcstrings.sh
|
2014-10-11 11:12:17 +02:00
|
|
|
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
|
2009-08-13 16:52:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CFLAGS+= -DDEBUG
|
|
|
|
.endif
|
2008-01-25 17:34:53 +01:00
|
|
|
|
2010-12-16 07:07:56 +01:00
|
|
|
.if ${SLAVE_PORT} == no
|
2012-03-31 09:48:49 +02:00
|
|
|
USE_RC_SUBR= miniupnpc
|
2014-10-11 11:12:17 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/upnpc \
|
2016-12-26 00:11:36 +01:00
|
|
|
${STAGEDIR}${PREFIX}/lib/libminiupnpc.so.16
|
2009-08-13 16:52:01 +02:00
|
|
|
.endif
|
2008-07-12 07:09:10 +02:00
|
|
|
|
2009-08-13 16:52:01 +02:00
|
|
|
.include <bsd.port.post.mk>
|