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 +++++++ 1 file changed, 7 insertions(+) (limited to 'editors/xemacs-devel') 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} -- cgit