openbsd-ports/textproc/openjade/Makefile
2005-09-06 22:47:35 +00:00

56 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2005/09/06 22:47:35 espie Exp $
COMMENT= "object-oriented SGML/XML parser toolkit and DSSSL engine"
DISTNAME= openjade-1.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
HOMEPAGE= http://openjade.sourceforge.net/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MAKE_FLAGS= RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" CC="${CC}" CXX="${CXX} -fno-implicit-templates ${CXXFLAGS}" \
XDEFINES='-DJADE_MIF -DJADE_HTML -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sgml/openjade/catalog\"'
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}" INSTALL="${INSTALL_PROGRAM}"
USE_GMAKE= Yes
DOCDIR= ${PREFIX}/share/doc/openjade
SGMLDIR= ${PREFIX}/share/sgml/openjade
SGMLFILES= fot.dtd catalog dsssl.dtd style-sheet.dtd builtins.dsl \
demo.sgm demo.dsl
VMEM_WARNING= Yes
NO_REGRESS= Yes
.include <bsd.own.mk>
USE_GCC3?= No
.if ${USE_GCC3:L} == "no"
PATCH_LIST= patch-* gcc-*
.endif
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/sp
${INSTALL_DATA_DIR} ${DOCDIR}/images
${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DOCDIR}/sp
${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/jadedoc/images/*.gif ${DOCDIR}/images
${INSTALL_DATA_DIR} ${SGMLDIR}
.for i in ${SGMLFILES}
${INSTALL_DATA} ${WRKSRC}/dsssl/$i ${SGMLDIR}
.endfor
.include <bsd.port.mk>