diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
commit | 7464f336e31fd80c931c3eb1c4c62776e4e3f7f1 (patch) | |
tree | 967c3aa47957c6218b6c16c34cfdf4261490cfc6 /textproc/tei-lite/Makefile | |
parent | d7f26aaaed78fb07382fa672754350cb37ec40e0 (diff) | |
download | ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.tar.gz ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.zip |
Notes
Diffstat (limited to 'textproc/tei-lite/Makefile')
-rw-r--r-- | textproc/tei-lite/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/textproc/tei-lite/Makefile b/textproc/tei-lite/Makefile index d5cd457a794e..b7a9b689e902 100644 --- a/textproc/tei-lite/Makefile +++ b/textproc/tei-lite/Makefile @@ -7,6 +7,7 @@ PORTNAME= tei PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/Lite/DTD/ PKGNAMESUFFIX= -lite @@ -16,22 +17,24 @@ EXTRACT_ONLY= # Empty MAINTAINER= henrik.motakef@web.de COMMENT= SGML version of the TEI-Lite DTD -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr NO_BUILD= yes -PLIST_SUB= MKCATALOG=${MKCATALOG} CATALOG=${CATALOG} +PLIST_SUB= XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= DTDDIR=${DTDDIR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/tei/lite -CATALOG= ${PREFIX}/share/sgml/catalog -MKCATALOG= ${PREFIX}/sbin/mkcatalog +DTDDIR= ${PORTNAME}/lite +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports do-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @${INSTALL_DATA} ${DISTDIR}/teilite.dtd ${INSTDIR} @${INSTALL_DATA} ${DISTDIR}/teilite.tag ${INSTDIR} - @${SED} -e 's!%%INSTDIR%%!${INSTDIR}!' ${FILESDIR}/catalog \ - > ${INSTDIR}/catalog + @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR} post-install: - @${MKCATALOG} -q -c ${CATALOG} install ${PORTNAME}/lite + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog .include <bsd.port.mk> |