1997-06-22 16:28:13 -04:00
|
|
|
# New ports collection makefile for: jade
|
|
|
|
# Date created: June 19, 1997
|
|
|
|
# Whom: jfieber
|
|
|
|
#
|
1999-08-30 22:11:56 -04:00
|
|
|
# $FreeBSD$
|
1997-06-22 16:28:13 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:54:47 -04:00
|
|
|
PORTNAME= jade
|
2001-02-05 11:35:26 -05:00
|
|
|
PORTVERSION= 1.2.1
|
2001-04-29 02:03:34 -04:00
|
|
|
PORTREVISION= 1
|
1997-06-22 16:28:13 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/jade/
|
|
|
|
|
2001-04-29 02:03:34 -04:00
|
|
|
PATCH_SITES= http://ftp.debian.org/debian/pool/main/j/jade/
|
|
|
|
PATCHFILES= jade_1.2.1-18.diff.gz
|
2000-02-11 20:21:11 -05:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-12-01 23:06:23 -05:00
|
|
|
|
2001-01-28 22:45:45 -05:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
1997-06-22 16:28:13 -04:00
|
|
|
|
2000-06-16 06:38:50 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-02-10 20:52:21 -05:00
|
|
|
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog
|
|
|
|
|
2000-02-17 08:08:50 -05:00
|
|
|
post-extract:
|
|
|
|
@${CHMOD} u+w ${WRKSRC}/configure
|
|
|
|
|
2000-07-24 16:34:13 -04: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-10 20:52:21 -05:00
|
|
|
pre-install:
|
|
|
|
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
1997-06-29 05:49:49 -04:00
|
|
|
|
1999-01-26 19:12:23 -05:00
|
|
|
post-install:
|
1999-01-27 07:47:14 -05:00
|
|
|
.for i in jade nsgmls sgmlnorm spam spent sx
|
|
|
|
strip ${PREFIX}/bin/$i
|
|
|
|
.endfor
|
1999-01-26 19:12:23 -05: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 06:15:57 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
|
2000-02-10 20:52:21 -05: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 16:28:13 -04:00
|
|
|
|
2000-07-24 16:34:13 -04:00
|
|
|
.include <bsd.port.post.mk>
|