aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2001-10-08 18:34:46 +0800
committergj <gj@FreeBSD.org>2001-10-08 18:34:46 +0800
commitf436149d8f8c2e1a5b56276683f38ddc8689e7be (patch)
treee08cbd375dad77e474711d65dae861078461e059
parentebaa012616d2aaa86630092a71462af4dc5c0058 (diff)
downloadfreebsd-ports-gnome-f436149d8f8c2e1a5b56276683f38ddc8689e7be.tar.gz
freebsd-ports-gnome-f436149d8f8c2e1a5b56276683f38ddc8689e7be.tar.zst
freebsd-ports-gnome-f436149d8f8c2e1a5b56276683f38ddc8689e7be.zip
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)
-rw-r--r--editors/xemacs-devel/Makefile7
-rw-r--r--editors/xemacs/Makefile7
-rw-r--r--editors/xemacs21/Makefile7
3 files changed, 21 insertions, 0 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index 7dbd926ff541..5568c8a0eab9 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/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}
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 7dbd926ff541..5568c8a0eab9 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/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}
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}