summaryrefslogtreecommitdiffstats
path: root/editors/xemacs21/Makefile
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2001-10-08 10:34:46 +0000
committergj <gj@FreeBSD.org>2001-10-08 10:34:46 +0000
commitf436149d8f8c2e1a5b56276683f38ddc8689e7be (patch)
treee08cbd375dad77e474711d65dae861078461e059 /editors/xemacs21/Makefile
parentebaa012616d2aaa86630092a71462af4dc5c0058 (diff)
downloadFreeBSD-ports-f436149d8f8c2e1a5b56276683f38ddc8689e7be.zip
FreeBSD-ports-f436149d8f8c2e1a5b56276683f38ddc8689e7be.tar.gz
Add a pre-configure target to patch some man pages such that they
reference the correct, gzipped source man pages. PR: ports/29523 Submitted by: swear@aa.net (Gary W. Swearingen)
Diffstat (limited to 'editors/xemacs21/Makefile')
-rw-r--r--editors/xemacs21/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile
index 7dbd926..5568c8a 100644
--- a/editors/xemacs21/Makefile
+++ b/editors/xemacs21/Makefile
@@ -80,6 +80,13 @@ WITH_OFFIX?= --with-offix=no
.endif
.endif
+# fix .so references in a few man pages
+pre-configure::
+.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
+ @${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > tmp_zot
+ @${MV} tmp_zot ${WRKSRC}/${file}
+.endfor
+
post-install::
.if !defined(MULE_COMMON)
${LN} -sf xemacs-${XEMACS_VER} ${PREFIX}/bin/xemacs21${BINNAMEEXT}
OpenPOWER on IntegriCloud