summaryrefslogtreecommitdiffstats
path: root/textproc/sdocbook-xml
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-27 04:56:20 +0000
committerkris <kris@FreeBSD.org>2002-10-27 04:56:20 +0000
commitde6d3ab1673a9554a496d1a9367699a7e740a97c (patch)
tree4ed2c58838dc7037bdd156433735656a386263fc /textproc/sdocbook-xml
parent3bb4cdb5f83d7f8ce19e00ef7cd6a5b41388fa6d (diff)
downloadFreeBSD-ports-de6d3ab1673a9554a496d1a9367699a7e740a97c.zip
FreeBSD-ports-de6d3ab1673a9554a496d1a9367699a7e740a97c.tar.gz
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
Diffstat (limited to 'textproc/sdocbook-xml')
-rw-r--r--textproc/sdocbook-xml/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile
index a01e347..78a35b3 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:
OpenPOWER on IntegriCloud