2010-09-29 11:01:41 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2010/09/29 09:01:41 abs Exp $
|
2003-09-23 10:35:52 +02:00
|
|
|
#
|
2001-04-27 12:52:27 +02:00
|
|
|
|
2003-09-23 10:35:52 +02:00
|
|
|
DISTNAME= openjade-1.3.2
|
2006-03-21 07:00:43 +01:00
|
|
|
PKGREVISION= 5
|
2001-04-27 12:52:27 +02:00
|
|
|
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"
|
|
|
|
|
2009-07-07 23:34:53 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= gmake perl
|
2004-05-19 08:50:46 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= YES
|
2001-04-27 12:52:27 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2010-09-29 11:01:41 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2001-04-27 12:52:27 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= CXXFLAGS=${CFLAGS:M*:Q}
|
2001-04-27 12:52:27 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-default-catalog=${OPENJADE_DATA_DIR}/catalog \
|
2005-12-06 00:55:01 +01:00
|
|
|
--datadir=${OPENJADE_DATA_DIR:Q}
|
2001-04-27 12:52:27 +02:00
|
|
|
|
2005-05-05 07:50:23 +02:00
|
|
|
SGML_CATALOGS= ${PREFIX}/share/sgml/openjade/catalog
|
|
|
|
|
2001-04-27 12:52:27 +02:00
|
|
|
OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
|
|
|
|
OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
|
|
|
|
|
2009-07-07 23:34:53 +02:00
|
|
|
INSTALLATION_DIRS= ${OPENJADE_DATA_DIR}/pubtext \
|
|
|
|
${OPENJADE_DOC_DIR}/doc \
|
|
|
|
${OPENJADE_DOC_DIR}/jadedoc/images
|
|
|
|
|
2001-04-27 12:52:27 +02:00
|
|
|
post-install:
|
2009-07-07 23:34:53 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${DESTDIR}${OPENJADE_DATA_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pubtext/* ${DESTDIR}${OPENJADE_DATA_DIR}/pubtext
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc/images
|
2001-04-27 12:52:27 +02:00
|
|
|
|
2009-01-11 10:08:00 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-05-05 01:46:36 +02:00
|
|
|
.include "../../textproc/opensp/buildlink3.mk"
|
2005-05-05 07:50:23 +02:00
|
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
2001-04-27 12:52:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|