diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-25 06:32:49 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-25 06:32:49 +0800 |
commit | 963854440c8d5cb49ac23779c965d0f6fb408744 (patch) | |
tree | 097b956f7e23b0db264fe1d3cdeee8eafc050cd9 /textproc/html | |
parent | ddf8b3e6be1c5e8bd6c6415891ec22c20f432245 (diff) | |
download | freebsd-ports-gnome-963854440c8d5cb49ac23779c965d0f6fb408744.tar.gz freebsd-ports-gnome-963854440c8d5cb49ac23779c965d0f6fb408744.tar.zst freebsd-ports-gnome-963854440c8d5cb49ac23779c965d0f6fb408744.zip |
Add a new keywork xmlcatmgr
It simplifies the handling of the XML and SMGL catalog
It brings a big of consistency by always specifying the catalog path absolute
instead of mixing absolute and relative path.
The keyword is also written a PKG_ROOTDIR friendly to simplify cross installing
Reviewed by: hrs
Differential Revision: https://reviews.freebsd.org/D6539
Diffstat (limited to 'textproc/html')
-rw-r--r-- | textproc/html/Makefile | 7 | ||||
-rw-r--r-- | textproc/html/pkg-plist | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/textproc/html/Makefile b/textproc/html/Makefile index baae73ec6b9e..eab51ea7c4b8 100644 --- a/textproc/html/Makefile +++ b/textproc/html/Makefile @@ -10,18 +10,13 @@ MASTER_SITES= LOCAL/kuriyama MAINTAINER= kuriyama@FreeBSD.org COMMENT= All W3C published SGML DTDs for HTML -RUN_DEPENDS= ${XMLCATMGR}:textproc/xmlcatmgr +RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr NO_MTREE= yes NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} -PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} - INSTDIR= ${PREFIX}/share/sgml/html -XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr -CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports do-install: ${MKDIR} ${STAGEDIR}${INSTDIR} diff --git a/textproc/html/pkg-plist b/textproc/html/pkg-plist index c9d61ef4ca7f..c72d69cb2497 100644 --- a/textproc/html/pkg-plist +++ b/textproc/html/pkg-plist @@ -21,6 +21,4 @@ share/sgml/html/4.01/HTMLsymbol.ent share/sgml/html/4.01/frameset.dtd share/sgml/html/4.01/loose.dtd share/sgml/html/4.01/strict.dtd -@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog -share/sgml/html/catalog -@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTD_NAME%%/catalog +@xmlcatmgr share/sgml/html/catalog |