diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-27 04:56:20 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-27 04:56:20 +0000 |
commit | cfa35301b9f6ca5c79637e824e4e45ab1ff68219 (patch) | |
tree | 8fd5b4e8bec6c3b561bf04e08717d46273343b53 /textproc/sdocbook-xml | |
parent | Update to 2.50.50 (diff) |
The distfile contains a number of group-writable files; don't install by
extracting directly into ${PREFIX}, but unpack and then install separately.
Reviewed by: maintainer
Notes
Notes:
svn path=/head/; revision=68906
Diffstat (limited to 'textproc/sdocbook-xml')
-rw-r--r-- | textproc/sdocbook-xml/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile index a01e3478c3e4..78a35b3740ff 100644 --- a/textproc/sdocbook-xml/Makefile +++ b/textproc/sdocbook-xml/Makefile @@ -10,7 +10,6 @@ PORTVERSION= 4.1.2.5 CATEGORIES= textproc MASTER_SITES= http://www.oasis-open.org/docbook/xml/simple/4.1.2.5/ DISTNAME= simple${PORTVERSION:S/.//g} -EXTRACT_ONLY= # empty MAINTAINER= des@FreeBSD.org @@ -18,16 +17,25 @@ RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog USE_ZIP= yes NO_BUILD= yes -NO_WRKSUBDIR= yes PLIST_SUB= MKCATALOG=${MKCATALOG} CATALOG=${CATALOG} SDOCBOOKDIR= ${PREFIX}/share/xml/sdocbook MKCATALOG= ${LOCALBASE}/sbin/mkcatalog CATALOG= ${PREFIX}/share/xml/catalog +FILES= sdbcent.mod sdbhier.mod sdbpool.mod sdocbook-custom.dtd \ + sdocbook.css sdocbook.dtd sdocbookref-custom.dtd \ + sdocbookref.dtd sinclist.mod + +do-extract: + ${MKDIR} ${WRKDIR}; \ + (cd ${WRKDIR} && unzip -oq ${DISTDIR}/${DISTFILES}) + do-install: ${MKDIR} ${SDOCBOOKDIR} - (cd ${SDOCBOOKDIR} && unzip -oq ${DISTDIR}/${DISTFILES}) +.for i in ${FILES} + $(INSTALL_DATA) $(WRKDIR)/${i} $(SDOCBOOKDIR) +.endfor ${INSTALL_DATA} ${FILESDIR}/catalog ${SDOCBOOKDIR} post-install: |