1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Edwin Groothuis 2007-09-28 08:18:34 +00:00
parent 9d1204aa9d
commit 814019ef9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200260

View File

@ -7,6 +7,7 @@
PORTNAME= xphelloworld PORTNAME= xphelloworld
PORTVERSION= 1.0.1 PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= x11 CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org MAINTAINER= x11@FreeBSD.org
@ -23,4 +24,14 @@ MAN1= xphelloworld.1 \
xpsimplehelloworld.1 \ xpsimplehelloworld.1 \
xpxthelloworld.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> .include <bsd.port.mk>