summaryrefslogtreecommitdiff
path: root/x11/xphelloworld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xphelloworld/Makefile')
-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>