pkgsrc/textproc/openjade/Makefile
jlam e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00

46 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2002/07/24 19:45:28 jlam Exp $
# FreeBSD Id: ports/textproc/openjade/Makefile,v 1.30 2001/03/04 21:39:19 lioux Exp
DISTNAME= openjade-1.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
MAINTAINER= kogule@mars.dti.ne.jp
HOMEPAGE= http://openjade.sourceforge.net/
COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
PERL5_REQD= 5.6.0
BUILD_DEPENDS+= perl>=5.6.0:../../lang/perl5:build
CONFLICTS+= opensp-[0-9]*
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
CONFIGURE_ARGS+= --enable-default-catalog=${OPENJADE_DATA_DIR}/catalog \
--datadir=${OPENJADE_DATA_DIR}
OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
# People say this software is not optimization safe.
CFLAGS= -O0
# Building with Shared Libraries cannot handle MessageReporterMessages'
# static member variables under NetBSD 1.5.
CONFIGURE_ARGS+= --disable-shared
post-install:
${INSTALL_DATA_DIR} ${OPENJADE_DATA_DIR}/pubtext
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${OPENJADE_DATA_DIR}
${INSTALL_DATA} ${WRKSRC}/pubtext/* ${OPENJADE_DATA_DIR}/pubtext
${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/doc
${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/jadedoc/images
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${OPENJADE_DOC_DIR}/doc
${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${OPENJADE_DOC_DIR}/jadedoc
${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${OPENJADE_DOC_DIR}/jadedoc
${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${OPENJADE_DOC_DIR}/jadedoc/images
.include "../../mk/bsd.pkg.mk"