diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/minissdpd/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net/minissdpd/Makefile b/net/minissdpd/Makefile index 3c5de860b5e6..15d6c9d107b8 100644 --- a/net/minissdpd/Makefile +++ b/net/minissdpd/Makefile @@ -7,7 +7,7 @@ PORTNAME= minissdpd PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ \ CRITICAL @@ -20,14 +20,18 @@ MAKE_JOBS_SAFE= yes CFLAGS+= -D_GNU_SOURCE -MAN1= minissdpd.1 +MAN8= minissdpd.8 PLIST_FILES= sbin/minissdpd +post-extract: + @${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${MAN8} + post-patch: + @${REINPLACE_CMD} -e 's|^\(\.TH.*\)1|\18|' ${WRKSRC}/${MAN8} @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8 .include <bsd.port.mk> |