1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/textproc/jade/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

64 lines
1.7 KiB
Makefile

# New ports collection makefile for: jade
# Date created: June 19, 1997
# Whom: jfieber
#
# $FreeBSD$
#
PORTNAME= jade
PORTVERSION= 1.2.1
PORTREVISION= 9
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.jclark.com/pub/jade/ \
http://dist.bsdlab.org/
#PATCH_SITES= http://ftp.debian.org/debian/pool/main/j/jade/
PATCH_SITES= http://dist.bsdlab.org/
PATCHFILES= jade_1.2.1-35.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= An object-oriented SGML/XML parser toolkit and DSSSL engine
CONFLICTS= sp-1.*
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:13
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog
PLIST_SUB= XMLCATMGR=${XMLCATMGR}
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
post-extract:
@${CHMOD} u+w ${WRKSRC}/configure
pre-install:
@${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) \
-exec ${RM} -f \{} \;
post-install:
.for i in jade nsgmls sgmlnorm spam spent sx
${STRIP_CMD} ${PREFIX}/bin/$i
.endfor
${MKDIR} ${PREFIX}/include/sp
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/sp
${MKDIR} ${PREFIX}/share/doc/jade
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${PREFIX}/share/doc/jade
${MKDIR} ${PREFIX}/share/sgml/jade
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
${MKDIR} ${PREFIX}/share/xml/jade
${INSTALL_DATA} ${WRKSRC}/pubtext/xml* ${PREFIX}/share/xml/jade
@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog
.include <bsd.port.pre.mk>
# Same problem with textproc/openjade.
CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*}
.include <bsd.port.post.mk>