1997-06-22 20:28:13 +00:00
|
|
|
# New ports collection makefile for: jade
|
|
|
|
# Date created: June 19, 1997
|
|
|
|
# Whom: jfieber
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1997-06-22 20:28:13 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= jade
|
|
|
|
PORTVERSION= 1.2.1
|
1997-06-22 20:28:13 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/jade/
|
|
|
|
|
1999-12-02 04:06:23 +00:00
|
|
|
PATCH_SITES= http://ftp.debian.org/debian/dists/unstable/main/source/text/
|
|
|
|
PATCHFILES= jade_1.2.1-13.diff.gz
|
2000-02-12 01:21:11 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-12-02 04:06:23 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= jfieber@FreeBSD.org
|
1997-06-22 20:28:13 +00:00
|
|
|
|
2000-06-16 10:38:50 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-01-27 00:12:23 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
|
2000-02-11 01:52:21 +00:00
|
|
|
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog
|
|
|
|
|
2000-02-17 13:08:50 +00:00
|
|
|
post-extract:
|
|
|
|
@${CHMOD} u+w ${WRKSRC}/configure
|
|
|
|
|
2000-07-24 20:34:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "alpha"
|
|
|
|
# This is to deal with the broken assumption that Vector<T>::size_type,
|
|
|
|
# String<T>::size_type is size_t as mentioned in doc/ideas.htm. At least
|
|
|
|
# I believe this is what is preventing jade from linking on the Alpha.
|
|
|
|
post-patch:
|
|
|
|
${PERL} -pi.size_t -e 's/<size_t>/<unsigned int>/g' `find ${WRKSRC} -type f`
|
|
|
|
.endif
|
|
|
|
|
2000-02-11 01:52:21 +00:00
|
|
|
pre-install:
|
|
|
|
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
1997-06-29 09:49:49 +00:00
|
|
|
|
1999-01-27 00:12:23 +00:00
|
|
|
post-install:
|
1999-01-27 12:47:14 +00:00
|
|
|
.for i in jade nsgmls sgmlnorm spam spent sx
|
|
|
|
strip ${PREFIX}/bin/$i
|
|
|
|
.endfor
|
1999-01-27 00:12:23 +00:00
|
|
|
${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
|
1999-01-31 11:15:57 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
|
2000-02-11 01:52:21 +00:00
|
|
|
@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
|
1997-06-22 20:28:13 +00:00
|
|
|
|
2000-07-24 20:34:13 +00:00
|
|
|
.include <bsd.port.post.mk>
|