diff options
author | des <des@FreeBSD.org> | 2004-02-13 18:31:54 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-13 18:31:54 +0800 |
commit | 9248dabcf4937e9d84dbe793a189c5ddce12c28b (patch) | |
tree | 5752ece67a725423b37331c912eedb784479f141 | |
parent | 86023316e334d8cdb3384dc02f4dc3e74c20101d (diff) | |
download | freebsd-ports-gnome-9248dabcf4937e9d84dbe793a189c5ddce12c28b.tar.gz freebsd-ports-gnome-9248dabcf4937e9d84dbe793a189c5ddce12c28b.tar.zst freebsd-ports-gnome-9248dabcf4937e9d84dbe793a189c5ddce12c28b.zip |
Include the version number in the name of the installation directory.
PR: ports/62768
Submitted by: Lee Harr <missive@hotmail.com> (partially)
-rw-r--r-- | textproc/sdocbook-xml/Makefile | 9 | ||||
-rw-r--r-- | textproc/sdocbook-xml/pkg-plist | 23 |
2 files changed, 17 insertions, 15 deletions
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile index 7989a34571a9..fde0bd0ef5e9 100644 --- a/textproc/sdocbook-xml/Makefile +++ b/textproc/sdocbook-xml/Makefile @@ -7,7 +7,7 @@ PORTNAME= sdocbook-xml PORTVERSION= 4.1.2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.oasis-open.org/docbook/xml/simple/4.1.2.5/ DISTNAME= simple${PORTVERSION:S/.//g} @@ -23,9 +23,10 @@ WRKSRC= ${WRKDIR} PLIST_SUB= XMLCATMGR=${XMLCATMGR}\ CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}\ CATALOG_PORTS_XML=${CATALOG_PORTS_XML}\ - XMLDIR=${SDOCBOOKDIR} + XMLDIR=${SDOCBOOKDIR}\ + VERSION=${PORTVERSION} -SDOCBOOKDIR= ${PREFIX}/share/xml/sdocbook +SDOCBOOKDIR= ${PREFIX}/share/xml/${PORTNAME:S/-xml//}/${PORTVERSION} XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports @@ -44,7 +45,7 @@ post-patch: do-install: ${MKDIR} ${SDOCBOOKDIR} .for i in ${FILES} - $(INSTALL_DATA) $(WRKDIR)/${i} $(SDOCBOOKDIR) + ${INSTALL_DATA} $(WRKDIR)/${i} ${SDOCBOOKDIR} .endfor ${INSTALL_DATA} ${FILESDIR}/catalog ${SDOCBOOKDIR} ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${SDOCBOOKDIR} diff --git a/textproc/sdocbook-xml/pkg-plist b/textproc/sdocbook-xml/pkg-plist index 90c735c7ce5e..e13695936965 100644 --- a/textproc/sdocbook-xml/pkg-plist +++ b/textproc/sdocbook-xml/pkg-plist @@ -1,16 +1,17 @@ @unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%XMLDIR%%/catalog -share/xml/sdocbook/catalog +share/xml/sdocbook/%%VERSION%%/catalog @exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%XMLDIR%%/catalog @unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%XMLDIR%%/catalog.xml -share/xml/sdocbook/catalog.xml +share/xml/sdocbook/%%VERSION%%/catalog.xml @exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%XMLDIR%%/catalog.xml -share/xml/sdocbook/sdbcent.mod -share/xml/sdocbook/sdbhier.mod -share/xml/sdocbook/sdbpool.mod -share/xml/sdocbook/sdocbook-custom.dtd -share/xml/sdocbook/sdocbook.css -share/xml/sdocbook/sdocbook.dtd -share/xml/sdocbook/sdocbookref-custom.dtd -share/xml/sdocbook/sdocbookref.dtd -share/xml/sdocbook/sinclist.mod +share/xml/sdocbook/%%VERSION%%/sdbcent.mod +share/xml/sdocbook/%%VERSION%%/sdbhier.mod +share/xml/sdocbook/%%VERSION%%/sdbpool.mod +share/xml/sdocbook/%%VERSION%%/sdocbook-custom.dtd +share/xml/sdocbook/%%VERSION%%/sdocbook.css +share/xml/sdocbook/%%VERSION%%/sdocbook.dtd +share/xml/sdocbook/%%VERSION%%/sdocbookref-custom.dtd +share/xml/sdocbook/%%VERSION%%/sdocbookref.dtd +share/xml/sdocbook/%%VERSION%%/sinclist.mod +@dirrm share/xml/sdocbook/%%VERSION%% @dirrm share/xml/sdocbook |