PORTNAME= minissdpd DISTVERSION= 1.6.0 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= UPnP IGD discovery speed enhancer WWW= http://miniupnp.free.fr/minissdpd.html LICENSE= BSD3CLAUSE USES= cpe gmake CPE_VENDOR= miniupnp_project USE_RC_SUBR= minissdpd CFLAGS+= -D_GNU_SOURCE PLIST_FILES= sbin/minissdpd \ share/man/man8/minissdpd.8.gz post-extract: @${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${PORTNAME}.8 post-patch: @${REINPLACE_CMD} -e 's|^\(\.TH.*\)1|\18|' ${WRKSRC}/${PORTNAME}.8 @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8 .include