2000-05-19 08:27:08 +02:00
|
|
|
# New ports collection makefile for: OpenJade
|
|
|
|
# Date created: May 19, 2000
|
|
|
|
# Whom: kuriyama
|
1997-06-22 22:28:13 +02:00
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1997-06-22 22:28:13 +02:00
|
|
|
#
|
|
|
|
|
2000-05-19 08:27:08 +02:00
|
|
|
PORTNAME= openjade
|
2007-01-19 13:38:38 +01:00
|
|
|
PORTVERSION= 1.3.3p1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
1997-06-22 22:28:13 +02:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.3.3
|
2007-01-19 13:38:38 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/-pre/}
|
1997-06-22 22:28:13 +02:00
|
|
|
|
2000-05-19 08:27:08 +02:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
2003-02-22 08:48:51 +01:00
|
|
|
COMMENT= Object-oriented SGML/XML parser toolkit and DSSSL engine
|
1999-07-04 23:11:10 +02:00
|
|
|
|
2007-01-19 13:38:38 +01:00
|
|
|
LIB_DEPENDS= osp.5:${PORTSDIR}/textproc/opensp
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
2002-01-19 07:51:06 +01:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_GMAKE= yes
|
2007-01-19 13:38:38 +01:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-04 04:05:48 +01:00
|
|
|
USE_PERL5= yes
|
2007-01-19 13:38:38 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-28 00:03:36 +01:00
|
|
|
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
|
2007-01-19 13:38:38 +01:00
|
|
|
--datadir=${DATADIR}
|
|
|
|
INSTALL_TARGET= install install-man
|
|
|
|
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
|
|
|
|
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
2002-01-19 07:51:06 +01:00
|
|
|
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
2000-02-11 02:52:21 +01:00
|
|
|
|
2007-01-19 13:38:38 +01:00
|
|
|
MAN1= openjade.1
|
|
|
|
DATADIR= ${PREFIX}/share/sgml/openjade
|
|
|
|
|
2007-03-23 21:32:10 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
|
|
|
|
1999-01-27 01:12:23 +01:00
|
|
|
post-install:
|
2007-01-19 13:38:38 +01:00
|
|
|
@${CAT} ${PLIST} | \
|
|
|
|
${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} | \
|
|
|
|
${AWK} '/^@comment INSTALL_DATA:/ \
|
|
|
|
{printf "if ! ${GREP} -q \"%s\" ${PLIST}; then ${ECHO_CMD} \"%s\" >> %s; fi; %s %s/%s %s/%s\n", \
|
|
|
|
$$4, $$4, "${TMPPLIST}", "${INSTALL_DATA}", \
|
|
|
|
"${WRKSRC}", $$3, "${PREFIX}", $$4}' | \
|
|
|
|
${SH}
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG openjade/catalog
|
1997-06-22 22:28:13 +02:00
|
|
|
|
2001-02-28 00:03:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-02-28 02:48:02 +01:00
|
|
|
# This port cannot be CFLAGS safe, using optimizations such as
|
2001-02-28 00:03:36 +01:00
|
|
|
# 'march=-mpentium -Os' produces core dumps with certain input files
|
|
|
|
# Therefore, we'd better remove all machine optimizations and any -O
|
|
|
|
# other than -O{0,1,}. Idea taken from palm/prc-tools-gcc.
|
2002-01-21 00:15:59 +01:00
|
|
|
CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*}
|
2009-06-15 05:55:12 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
|
2001-02-28 00:03:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|