1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/miniupnpc/Makefile
2015-01-06 13:59:35 +00:00

36 lines
645 B
Makefile

# $FreeBSD$
PORTNAME= miniupnpc
PORTVERSION= 1.9
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.10
.endif
.include <bsd.port.post.mk>