aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xphelloworld
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-28 16:18:34 +0800
committeredwin <edwin@FreeBSD.org>2007-09-28 16:18:34 +0800
commit0ea75ee7106fdfc92770f4b19bc6413cee1bda7f (patch)
treebb0b38249bb862a54f7b0ca7b9fa1eef8561bba8 /x11/xphelloworld
parent9bcd3c1b4bfaa046266c4d2eaae7d91912d83aab (diff)
downloadfreebsd-ports-gnome-0ea75ee7106fdfc92770f4b19bc6413cee1bda7f.tar.gz
freebsd-ports-gnome-0ea75ee7106fdfc92770f4b19bc6413cee1bda7f.tar.zst
freebsd-ports-gnome-0ea75ee7106fdfc92770f4b19bc6413cee1bda7f.zip
x11/xphelloworld - Man page wierdness
Properly replace __xxxmansuffix__ in the manpages of this port. PR: ports/112940 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: maintainer timeout
Diffstat (limited to 'x11/xphelloworld')
-rw-r--r--x11/xphelloworld/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/xphelloworld/Makefile b/x11/xphelloworld/Makefile
index 42b37579e71b..f3ca2bfb588f 100644
--- a/x11/xphelloworld/Makefile
+++ b/x11/xphelloworld/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xphelloworld
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
@@ -23,4 +24,14 @@ MAN1= xphelloworld.1 \
xpsimplehelloworld.1 \
xpxthelloworld.1
+post-build:
+ ${REINPLACE_CMD} \
+ -e "s/__appmansuffix__/1/g" \
+ -e "s/__miscmansuffix__/7/g" \
+ -e "s/__libmansuffix__/3Xp/g" \
+ ${WRKSRC}/xphelloworld/xphelloworld.man \
+ ${WRKSRC}/xpsimplehelloworld/xpsimplehelloworld.man \
+ ${WRKSRC}/xpxmhelloworld/xpxmhelloworld.man \
+ ${WRKSRC}/xpxthelloworld/xpxthelloworld.man
+
.include <bsd.port.mk>