mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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
This commit is contained in:
parent
e6762aeb44
commit
9073f0dae1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25652
@ -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>
|
||||
|
@ -171,10 +171,14 @@ share/doc/jade/sx.htm
|
||||
share/doc/jade/sysdecl.htm
|
||||
share/doc/jade/sysid.htm
|
||||
share/doc/jade/xml.htm
|
||||
share/sgml/jade/FOT.tex
|
||||
share/sgml/jade/Makefile.jadetex
|
||||
share/sgml/jade/catalog
|
||||
@unexec env LANG=C perl -ni -e 'print if !m|%D/%F|;' %D/share/sgml/catalog
|
||||
@exec if [ ! -f %D/share/sgml/catalog ]; then echo "CATALOG \"%D/%F\"" > %D/share/sgml/catalog; else env LANG=C perl -ni -e 'print if !m|%D/%F|;print "CATALOG \"%D/%F\"\n" if eof;' %D/share/sgml/catalog; fi
|
||||
share/sgml/jade/demo.dsl
|
||||
share/sgml/jade/demo.sgm
|
||||
share/sgml/jade/demoMaster.tex
|
||||
share/sgml/jade/dsssl.dtd
|
||||
share/sgml/jade/fot.dtd
|
||||
share/sgml/jade/jadetex.dtx
|
||||
|
@ -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>
|
||||
|
@ -171,10 +171,14 @@ share/doc/jade/sx.htm
|
||||
share/doc/jade/sysdecl.htm
|
||||
share/doc/jade/sysid.htm
|
||||
share/doc/jade/xml.htm
|
||||
share/sgml/jade/FOT.tex
|
||||
share/sgml/jade/Makefile.jadetex
|
||||
share/sgml/jade/catalog
|
||||
@unexec env LANG=C perl -ni -e 'print if !m|%D/%F|;' %D/share/sgml/catalog
|
||||
@exec if [ ! -f %D/share/sgml/catalog ]; then echo "CATALOG \"%D/%F\"" > %D/share/sgml/catalog; else env LANG=C perl -ni -e 'print if !m|%D/%F|;print "CATALOG \"%D/%F\"\n" if eof;' %D/share/sgml/catalog; fi
|
||||
share/sgml/jade/demo.dsl
|
||||
share/sgml/jade/demo.sgm
|
||||
share/sgml/jade/demoMaster.tex
|
||||
share/sgml/jade/dsssl.dtd
|
||||
share/sgml/jade/fot.dtd
|
||||
share/sgml/jade/jadetex.dtx
|
||||
|
Loading…
Reference in New Issue
Block a user