diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-02-13 10:31:54 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-02-13 10:31:54 +0000 |
commit | 80c0f50d58be9119b1bad310988995e2a1d0ddf3 (patch) | |
tree | f2566ac0b4a6db8c8e69773cb6305478cd658e68 /textproc/sdocbook-xml | |
parent | 114f16c040e115de4f12ceb3d75cb9bc47bf558a (diff) |
Include the version number in the name of the installation directory.
PR: ports/62768
Submitted by: Lee Harr <missive@hotmail.com> (partially)
Notes
Notes:
svn path=/head/; revision=100834
Diffstat (limited to 'textproc/sdocbook-xml')
-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 |