2004-12-06 19:23:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2004/12/07 00:23:22 alek Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
|
|
|
COMMENT= "object-oriented SGML/XML parser toolkit and DSSSL engine"
|
2000-09-04 02:20:55 -04:00
|
|
|
|
|
|
|
DISTNAME= openjade-1.3
|
|
|
|
CATEGORIES= textproc
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
|
2000-09-04 02:20:55 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://openjade.sourceforge.net/
|
2001-01-15 12:49:19 -05:00
|
|
|
|
2000-10-05 07:51:55 -04:00
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
2000-09-04 02:20:55 -04:00
|
|
|
|
2004-04-20 18:36:17 -04:00
|
|
|
# BSD
|
2000-09-04 02:20:55 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-06 19:23:20 -05:00
|
|
|
WANTLIB= c m stdc++
|
2000-09-04 02:20:55 -04:00
|
|
|
|
2002-07-28 01:22:23 -04:00
|
|
|
MAKE_FLAGS= RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" CC="${CC}" CXX="${CXX} -fno-implicit-templates ${CXXFLAGS}" \
|
2004-04-18 05:21:04 -04:00
|
|
|
XDEFINES='-DJADE_MIF -DJADE_HTML -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sgml/openjade/catalog\"'
|
2000-09-25 22:26:47 -04:00
|
|
|
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}" INSTALL="${INSTALL_PROGRAM}"
|
2000-09-04 02:20:55 -04:00
|
|
|
|
2000-09-16 16:25:02 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2000-10-05 07:51:55 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/openjade
|
|
|
|
SGMLDIR= ${PREFIX}/share/sgml/openjade
|
2001-01-15 12:49:19 -05:00
|
|
|
SGMLFILES= fot.dtd catalog dsssl.dtd style-sheet.dtd builtins.dsl \
|
|
|
|
demo.sgm demo.dsl
|
2000-10-05 07:51:55 -04:00
|
|
|
|
2001-11-11 08:57:32 -05:00
|
|
|
VMEM_WARNING= Yes
|
2002-10-15 21:33:58 -04:00
|
|
|
NO_REGRESS= Yes
|
2000-09-04 02:20:55 -04:00
|
|
|
|
2004-04-20 18:36:17 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
USE_GCC3?= No
|
|
|
|
|
|
|
|
.if ${USE_GCC3:L} == "no"
|
|
|
|
PATCH_LIST= patch-* gcc-*
|
|
|
|
.endif
|
|
|
|
|
2000-09-04 02:20:55 -04:00
|
|
|
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
|
2000-10-05 07:51:55 -04:00
|
|
|
${INSTALL_DATA_DIR} ${SGMLDIR}
|
|
|
|
.for i in ${SGMLFILES}
|
2001-06-09 12:35:23 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dsssl/$i ${SGMLDIR}
|
2000-10-05 07:51:55 -04:00
|
|
|
.endfor
|
2000-09-04 02:20:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|