aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlcharent
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-05-24 22:32:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-05-24 22:32:49 +0000
commit963854440c8d5cb49ac23779c965d0f6fb408744 (patch)
tree097b956f7e23b0db264fe1d3cdeee8eafc050cd9 /textproc/xmlcharent
parentddf8b3e6be1c5e8bd6c6415891ec22c20f432245 (diff)
downloadports-963854440c8d5cb49ac23779c965d0f6fb408744.tar.gz
ports-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
Notes
Notes: svn path=/head/; revision=415814
Diffstat (limited to 'textproc/xmlcharent')
-rw-r--r--textproc/xmlcharent/Makefile7
-rw-r--r--textproc/xmlcharent/pkg-plist8
2 files changed, 3 insertions, 12 deletions
diff --git a/textproc/xmlcharent/Makefile b/textproc/xmlcharent/Makefile
index 24a541211ca5..f0acb79cbd42 100644
--- a/textproc/xmlcharent/Makefile
+++ b/textproc/xmlcharent/Makefile
@@ -10,18 +10,13 @@ MASTER_SITES= http://www.oasis-open.org/docbook/${PORTNAME}/${PORTVERSION}/
MAINTAINER= hrs@FreeBSD.org
COMMENT= XML character entities
-RUN_DEPENDS= ${XMLCATMGR}:textproc/xmlcatmgr
+RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr
USES= zip
NO_WRKSUBDIR= yes
NO_BUILD= yes
-PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
- XMLDIR=${XMLDIR} \
- CATALOG_PORTS_SGML=${LOCALBASE}/share/sgml/catalog.ports \
- CATALOG_PORTS_XML=${LOCALBASE}/share/xml/catalog.ports
XMLDIR= ${PREFIX}/share/xml/${PORTNAME}
-XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
do-install:
${MKDIR} ${STAGEDIR}${XMLDIR}
diff --git a/textproc/xmlcharent/pkg-plist b/textproc/xmlcharent/pkg-plist
index ad6c7bcebea5..f294abe0aff5 100644
--- a/textproc/xmlcharent/pkg-plist
+++ b/textproc/xmlcharent/pkg-plist
@@ -1,9 +1,5 @@
-@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove CATALOG %%XMLDIR%%/catalog
-share/xml/xmlcharent/catalog
-@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%XMLDIR%%/catalog
-@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove nextCatalog %%XMLDIR%%/catalog.xml
-share/xml/xmlcharent/catalog.xml
-@exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%XMLDIR%%/catalog.xml
+@xmlcatmgr share/xml/xmlcharent/catalog
+@xmlcatmgr share/xml/xmlcharent/catalog.xml
share/xml/xmlcharent/iso-amsa.ent
share/xml/xmlcharent/iso-amsb.ent
share/xml/xmlcharent/iso-amsc.ent