diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-28 08:18:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-28 08:18:34 +0000 |
commit | 814019ef9eb68b005860f23ec0d6954059a2051a (patch) | |
tree | 94f1c4b0227145aeb29ef744757a9a58267bd737 /x11/xphelloworld/Makefile | |
parent | Readd deleted files with the -kb flag (diff) |
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
Notes
Notes:
svn path=/head/; revision=200260
Diffstat (limited to '')
-rw-r--r-- | x11/xphelloworld/Makefile | 11 |
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> |