diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2009-12-23 17:44:35 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2009-12-23 17:44:35 +0800 |
commit | 09125b681552f5205de132919449862489555d30 (patch) | |
tree | 4ce76452f750655268b05e3894d14ee3187d1ed7 /net | |
parent | c47644f4a874c0d39676980b1a7cab6d36d8da2e (diff) | |
download | freebsd-ports-gnome-09125b681552f5205de132919449862489555d30.tar.gz freebsd-ports-gnome-09125b681552f5205de132919449862489555d30.tar.zst freebsd-ports-gnome-09125b681552f5205de132919449862489555d30.zip |
Move manpage in the right man section.
PR: 141914
Submitted by: Nikolai Saoukh <nms+bsd@otdel-1.org>
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> |