2000-11-10 08:47:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2000/11/10 13:47:34 espie Exp $
|
2000-10-08 19:51:45 -04:00
|
|
|
|
|
|
|
DISTNAME= docbook-4.1
|
1998-05-17 00:55:04 -04:00
|
|
|
CATEGORIES= textproc
|
2000-10-24 13:04:57 -04:00
|
|
|
NEED_VERSION= 1.340
|
2000-10-08 19:51:45 -04:00
|
|
|
|
|
|
|
ROOT_SITE= http://www.oasis-open.org/docbook/sgml
|
2000-10-24 09:32:20 -04:00
|
|
|
MIRROR_SITE= http://www.docbook.org/sgml
|
2000-11-10 08:47:34 -05:00
|
|
|
HOMEPAGE= http://www.oasis-open.org/docbook/
|
2000-10-24 09:32:20 -04:00
|
|
|
|
|
|
|
MASTER_SITES0= ${ROOT_SITE}/2.4.1/
|
2000-10-08 19:51:45 -04:00
|
|
|
MASTER_SITES1= ${ROOT_SITE}/3.0/
|
2000-10-24 09:32:20 -04:00
|
|
|
MASTER_SITES2= ${ROOT_SITE}/3.1/ ${MIRROR_SITE}/3.1/
|
|
|
|
MASTER_SITES3= ${ROOT_SITE}/4.0/ ${MIRROR_SITE}/4.0/
|
|
|
|
MASTER_SITES4= ${ROOT_SITE}/4.1/ ${MIRROR_SITE}/4.1/
|
|
|
|
|
2000-10-08 19:51:45 -04:00
|
|
|
DISTFILES= docbk241.zip:0 docbk30.zip:1 docbk31.zip:2 docbk40.zip:3 docbk41.zip:4
|
1998-05-17 00:55:04 -04:00
|
|
|
|
2000-10-08 19:51:45 -04:00
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
1998-05-17 00:55:04 -04:00
|
|
|
|
2000-10-08 19:51:45 -04:00
|
|
|
# permission granted in dtd copyright notice
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-03-23 01:10:42 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2000-10-08 19:51:45 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2000-03-23 01:10:42 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
NO_BUILD= Yes
|
2000-10-08 19:51:45 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
DB_VERSIONS= 2.4.1 3.0 3.1 4.0 4.1
|
1998-05-17 00:55:04 -04:00
|
|
|
|
|
|
|
INSTDIR= ${PREFIX}/share/sgml/docbook
|
2000-10-08 19:51:45 -04:00
|
|
|
RUN_DEPENDS= ${PREFIX}/share/sgml/iso8879/catalog::textproc/iso8879 \
|
|
|
|
${INSTDIR}/dsssl/modular/catalog::textproc/docbook-modular
|
1998-05-17 00:55:04 -04:00
|
|
|
|
2000-10-08 19:51:45 -04:00
|
|
|
.for i in ${DB_VERSIONS}
|
|
|
|
EXTRACT_CASES+= *${i:S/.//g}.zip) unzip -qa ${DISTDIR}/$$archive -d ${WRKDIR}/$i;;
|
|
|
|
.endfor
|
1998-05-17 00:55:04 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-10-08 19:51:45 -04:00
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/catalog ${PREFIX}/share/sgml
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/db_catalog ${INSTDIR}/catalog
|
|
|
|
.for i in ${DB_VERSIONS}
|
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/$i
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/$i/* ${INSTDIR}/$i
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/db${i:S/.//g}_catalog ${INSTDIR}/$i/catalog
|
|
|
|
.endfor
|
1998-05-17 00:55:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|