From f436149d8f8c2e1a5b56276683f38ddc8689e7be Mon Sep 17 00:00:00 2001 From: gj Date: Mon, 8 Oct 2001 10:34:46 +0000 Subject: 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) --- editors/xemacs-devel/Makefile | 7 +++++++ editors/xemacs/Makefile | 7 +++++++ editors/xemacs21/Makefile | 7 +++++++ 3 files changed, 21 insertions(+) (limited to 'editors') diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile index 7dbd926..5568c8a 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 7dbd926..5568c8a 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 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} -- cgit v1.1