pkgsrc/textproc/openjade/Makefile
2004-05-04 23:46:36 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2004/05/04 23:46:36 snj Exp $
#
DISTNAME= openjade-1.3.2
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"
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_PERL5= build
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
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 "../../textproc/opensp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"