diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2000-02-11 09:52:21 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2000-02-11 09:52:21 +0800 |
commit | 79cf7c5660d890e8205bebd5a8cd9a6a79b72b10 (patch) | |
tree | 337c36fd352add2830145c7c7d99b9087d4d4336 /textproc/openjade/Makefile | |
parent | 7f83aaf970b681b138ff0831a1effd63b309fb27 (diff) | |
download | freebsd-ports-gnome-79cf7c5660d890e8205bebd5a8cd9a6a79b72b10.tar.gz freebsd-ports-gnome-79cf7c5660d890e8205bebd5a8cd9a6a79b72b10.tar.zst freebsd-ports-gnome-79cf7c5660d890e8205bebd5a8cd9a6a79b72b10.zip |
Enable default catalog as "${PREFIX}/share/sgml/catalog".
Add missing PLIST entries.
Submitted by: kiri@pis.toba-cmt.ac.jp
Comment from: PW
No response from: maintainer
Diffstat (limited to 'textproc/openjade/Makefile')
-rw-r--r-- | textproc/openjade/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile index f608fc1b3ce7..267f3ecf2e2b 100644 --- a/textproc/openjade/Makefile +++ b/textproc/openjade/Makefile @@ -22,6 +22,10 @@ BROKEN= nsgmls coredumps in static constructors PATCH_DIST_STRIP?= -p1 GNU_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" +CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog + +pre-install: + @find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; post-install: .for i in jade nsgmls sgmlnorm spam spent sx @@ -34,5 +38,10 @@ post-install: ${MKDIR} ${PREFIX}/share/sgml/jade ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib + @if [ ! -f ${PREFIX}/share/sgml/catalog ]; then \ + ${ECHO} "CATALOG \"${PREFIX}/share/sgml/jade/catalog\"" > ${PREFIX}/share/sgml/catalog; \ + else \ + ${SETENV} LANG=C ${PERL} -ni -e 'print if !m|${PREFIX}/share/sgml/jade/catalog|;print "CATALOG \"${PREFIX}/share/sgml/jade/catalog\"\n" if eof;' ${PREFIX}/share/sgml/catalog; \ + fi .include <bsd.port.mk> |