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/linuxdoc | |
parent | d7f26aaaed78fb07382fa672754350cb37ec40e0 (diff) | |
download | ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.tar.gz ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.zip |
Notes
Diffstat (limited to 'textproc/linuxdoc')
-rw-r--r-- | textproc/linuxdoc/Makefile | 12 | ||||
-rw-r--r-- | textproc/linuxdoc/pkg-plist | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/textproc/linuxdoc/Makefile b/textproc/linuxdoc/Makefile index 479075995635..1e7bf6f3aa0b 100644 --- a/textproc/linuxdoc/Makefile +++ b/textproc/linuxdoc/Makefile @@ -7,6 +7,7 @@ PORTNAME= linuxdoc PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://fallout.campusview.indiana.edu/ports/distfiles/ @@ -14,16 +15,19 @@ MAINTAINER= kuriyama@FreeBSD.org COMMENT= The Linuxdoc SGML DTD RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ - ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog + ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr EXTRACT_ONLY= # empty NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG} + +PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/linuxdoc ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog -MKCATALOG= ${PREFIX}/sbin/mkcatalog +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -34,6 +38,6 @@ do-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${MKCATALOG} -q install ${PORTNAME} + @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog .include <bsd.port.mk> diff --git a/textproc/linuxdoc/pkg-plist b/textproc/linuxdoc/pkg-plist index 78c11b69986c..725005c28a9b 100644 --- a/textproc/linuxdoc/pkg-plist +++ b/textproc/linuxdoc/pkg-plist @@ -1,7 +1,7 @@ share/sgml/linuxdoc/README -@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%% +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog share/sgml/linuxdoc/catalog -@exec %%MKCATALOG%% -q install %%DTD_NAME%% +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add %%DTD_NAME%%/catalog share/sgml/linuxdoc/freebsd-1.0.dtd share/sgml/linuxdoc/freebsd-1.1.dtd share/sgml/linuxdoc/linuxdoc.dec |