diff options
author | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2001-03-19 11:56:25 +0000 |
---|---|---|
committer | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2001-03-19 11:56:25 +0000 |
commit | 0206b0d2b1e56a7392f4a7503a777e220b1c0c93 (patch) | |
tree | 36e08762b51f3607bb52eea69afa7573dec03167 /textproc/sdocbook-xml/Makefile | |
parent | f6f5eac4effb2a8316292e5af8144418b30d5629 (diff) | |
download | ports-0206b0d2b1e56a7392f4a7503a777e220b1c0c93.tar.gz ports-0206b0d2b1e56a7392f4a7503a777e220b1c0c93.zip |
Notes
Diffstat (limited to 'textproc/sdocbook-xml/Makefile')
-rw-r--r-- | textproc/sdocbook-xml/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile new file mode 100644 index 000000000000..d86cfce43da7 --- /dev/null +++ b/textproc/sdocbook-xml/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: "Simplified" DocBook XML DTD +# Date created: 25 December 2000 +# Whom: KIRIYAMA Kazuhiko <kiri@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= sdocbook-xml +PORTVERSION= 4.1.2.4 +CATEGORIES= textproc +MASTER_SITES= http://nwalsh.com/docbook/simple/4.1.2.4/ +DISTNAME= sdb${PORTVERSION:S/.//g} + +MAINTAINER= kiri@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/readme.txt:${PORTSDIR}/textproc/docbook-xml + +USE_ZIP= yes +NO_MTREE= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR} + +INSTDIR= ${PREFIX}/share/xml/docbook +DTDDIR= ${INSTDIR}/sdocbook +ENTDIR= ${INSTDIR}/sdocbook/ent + +do-install: + ${MKDIR} ${ENTDIR} + ${INSTALL_DATA} ${FILESDIR}/catalog ${DTDDIR} + cd ${WRKSRC}; \ + ${INSTALL_DATA} COPYRIGHT ChangeLog LostLog README VERSION \ + *.dtd *.mod *.css *.xml ${DTDDIR}; \ + ${INSTALL_DATA} ent/* ${ENTDIR} + if [ ! -f ${INSTDIR}/catalog ]; then \ + ${ECHO} "CATALOG \"sdocbook/catalog\"" > ${INSTDIR}/catalog; \ + else \ + ${SETENV} LANG=C ${PERL} -ni -e 'print if !m|sdocbook/catalog|;print "CATALOG \"sdocbook/catalog\"\n" if eof;' ${INSTDIR}/catalog; \ + fi + +.include <bsd.port.mk> |