aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook-xml/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-03-28 14:18:35 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-03-28 14:18:35 +0000
commit80604e2b6ab3f745d6c42a275c7f3aad7fb49598 (patch)
treef09e40cfcdefe7a62199a919b2cb0426b48e5ce0 /textproc/docbook-xml/Makefile
parent7925f0f9afe6c66169b3fae72113ab562806ce56 (diff)
downloadports-80604e2b6ab3f745d6c42a275c7f3aad7fb49598.tar.gz
ports-80604e2b6ab3f745d6c42a275c7f3aad7fb49598.zip
Notes
Diffstat (limited to 'textproc/docbook-xml/Makefile')
-rw-r--r--textproc/docbook-xml/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile
new file mode 100644
index 000000000000..821622661332
--- /dev/null
+++ b/textproc/docbook-xml/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: DocBook XML DTD
+# Version required: 3.1.2
+# Date created: 28 March 1999
+# Whom: kuriyama
+#
+# $Id$
+#
+
+DISTNAME= db3x312
+PKGNAME= docbook-xml-3.1.2
+CATEGORIES= textproc
+MASTER_SITES= http://nwalsh.com/docbook/xml/3.1.2/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= kuriyama@FreeBSD.ORG
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+EXTRACT_CMD= unzip
+EXTRACT_BEFORE_ARGS= -a -q -L
+EXTRACT_AFTER_ARGS= # empty
+NO_MTREE= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}
+
+INSTDIR= ${PREFIX}/share/xml
+DTDDIR= ${INSTDIR}/dtd/docbook
+ENTDIR= ${INSTDIR}/entity
+MISCDIR= ${INSTDIR}/misc/docbook
+DTDFILES= calstblx.dtd dbcentx.mod dbgenent.ent dbhierx.mod \
+ dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd
+MISCFILES= COPYRIGHT ChangeLog README VERSION test.xml
+
+pre-install:
+ @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
+ @[ -d ${DTDDIR} ] || ${MKDIR} ${DTDDIR}
+ @[ -d ${ENTDIR} ] || ${MKDIR} ${ENTDIR}
+ @[ -d ${MISCDIR} ] || ${MKDIR} ${MISCDIR}
+
+do-install:
+ @(cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
+ @(cd ${WRKSRC}/ent; ${INSTALL_DATA} *.ent ${ENTDIR})
+ @(cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${MISCDIR})
+
+.include <bsd.port.mk>