# $FreeBSD: head/net/miniupnpc/Makefile 555011 2020-11-13 10:14:39Z dinoex $ 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 .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