aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docbook-400/Makefile
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-04-05 04:18:49 +0800
committerasmodai <asmodai@FreeBSD.org>2000-04-05 04:18:49 +0800
commit0e249247e205f608770acdbda08ee803b29424cf (patch)
tree1125ea09d539c3cf7310ad47577a625dfb221f46 /textproc/docbook-400/Makefile
parentd88952f7192b75c1fc188e650e3049e9d93542b2 (diff)
downloadfreebsd-ports-gnome-0e249247e205f608770acdbda08ee803b29424cf.tar.gz
freebsd-ports-gnome-0e249247e205f608770acdbda08ee803b29424cf.tar.zst
freebsd-ports-gnome-0e249247e205f608770acdbda08ee803b29424cf.zip
Add the DocBook 4.00-beta5 port.
Diffstat (limited to 'textproc/docbook-400/Makefile')
-rw-r--r--textproc/docbook-400/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/textproc/docbook-400/Makefile b/textproc/docbook-400/Makefile
new file mode 100644
index 000000000000..325ae9d681f8
--- /dev/null
+++ b/textproc/docbook-400/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: docbook-400
+# Version required: 4.0
+# Date created: 4 April 2000
+# Whom: asmodai
+#
+# Based on nik's docbook-310 port
+#
+# $FreeBSD$
+#
+
+DISTNAME= docbk40beta5
+PKGNAME= docbook-4.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.oasis-open.org/docbook/sgml/4.0beta5/
+
+MAINTAINER= asmodai@FreeBSD.org
+
+RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879
+
+USE_ZIP= yes
+NO_MTREE= yes
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+INSTDIR= ${PREFIX}/share/sgml/docbook
+ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
+
+pre-install:
+ @[ -d ${INSTDIR}/4.0 ] || ${MKDIR} ${INSTDIR}/4.0
+
+do-install:
+ @unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}/4.0
+ @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/4.0/catalog
+ @${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/4.0/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/*
+ @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}
+
+.include <bsd.port.mk>