summaryrefslogtreecommitdiff
path: root/editors/xemacs21
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>2001-10-08 10:34:46 +0000
committerGary Jennejohn <gj@FreeBSD.org>2001-10-08 10:34:46 +0000
commit4fecd6e3ce39f618fba65c53d9fe26962d5c2c98 (patch)
treec74081b1cbf8bcd231907be68b082de7972050a1 /editors/xemacs21
parentMove jdk-doc into jdk11-doc and add new jdk{12,13,14}-doc ports. (diff)
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)
Notes
Notes: svn path=/head/; revision=48556
Diffstat (limited to 'editors/xemacs21')
-rw-r--r--editors/xemacs21/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile
index 7dbd926ff541..5568c8a0eab9 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}