1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/minissdpd/Makefile
2021-04-06 16:31:07 +02:00

33 lines
773 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= minissdpd
PORTVERSION= 1.5.20200928
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= UPnP IGD discovery speed enhancer
LICENSE= BSD3CLAUSE
USES= gmake
USE_RC_SUBR= minissdpd
CFLAGS+= -D_GNU_SOURCE
PLIST_FILES= sbin/minissdpd 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}${MANPREFIX}/man/man8
.include <bsd.port.mk>