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