freebsd-ports/net/miniupnpc/Makefile

36 lines
654 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= miniupnpc
PORTVERSION= 2.0.20161216
CATEGORIES?= net
MASTER_SITES= http://miniupnp.free.fr/files/
MAINTAINER?= dinoex@FreeBSD.org
COMMENT?= UPnP IGD client lightweight library
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
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.16
.endif
.include <bsd.port.post.mk>