summaryrefslogtreecommitdiff
path: root/textproc/iso8879
diff options
context:
space:
mode:
authorjoerg <joerg>2008-08-08 14:57:39 +0000
committerjoerg <joerg>2008-08-08 14:57:39 +0000
commitff85b37bdf006a35faee0a3d4370a500216cd99b (patch)
tree124786cb64de1ede3368bfde1c70de30595a2067 /textproc/iso8879
parent784713255757161d31a1745e7e404020d962ff71 (diff)
downloadpkgsrc-ff85b37bdf006a35faee0a3d4370a500216cd99b.tar.gz
DESTDIR support.
Diffstat (limited to 'textproc/iso8879')
-rw-r--r--textproc/iso8879/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile
index eff41682a2c..ac0d1a62a1c 100644
--- a/textproc/iso8879/Makefile
+++ b/textproc/iso8879/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/02/22 19:27:14 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2008/08/08 14:57:39 joerg Exp $
DISTNAME= ISOEnts
PKGNAME= iso8879-1986
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.iso.org/cate/d16387.html
COMMENT= Character entity sets from ISO 8879:1986 (SGML)
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_TOOLS+= unzip
@@ -19,12 +20,11 @@ NO_MTREE= yes
EXTRACT_ONLY= # empty
NO_BUILD= yes
-INSTDIR= ${PREFIX}/share/sgml/iso8879
+INSTALLATION_DIRS= share/sgml/iso8879
-SGML_CATALOGS= ${INSTDIR}/catalog
+INSTDIR= ${DESTDIR}${PREFIX}/share/sgml/iso8879
-pre-install:
- ${INSTALL_DATA_DIR} ${INSTDIR}
+SGML_CATALOGS= ${INSTDIR}/catalog
do-install:
@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}