1997-06-22 20:28:13 +00:00
|
|
|
# New ports collection makefile for: jade
|
1998-09-28 16:36:00 +00:00
|
|
|
# Version required: 1.2
|
1997-06-22 20:28:13 +00:00
|
|
|
# Date created: June 19, 1997
|
|
|
|
# Whom: jfieber
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1997-06-22 20:28:13 +00:00
|
|
|
#
|
|
|
|
|
1999-01-27 00:12:23 +00:00
|
|
|
DISTNAME= jade-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
|
|
|
|
1999-07-04 21:11:10 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
BROKEN= nsgmls coredumps in static constructors
|
|
|
|
.endif
|
|
|
|
|
2000-02-12 01:21:11 +00:00
|
|
|
USE_GMAKE= YES
|
2000-02-17 13:08:50 +00:00
|
|
|
USE_LIBTOOL= 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-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
|
1999-01-27 00:12:23 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib
|
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
|
|
|
|
|
|
|
.include <bsd.port.mk>
|