summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-03-06 22:27:36 +0000
committerminskim <minskim@pkgsrc.org>2009-03-06 22:27:36 +0000
commit34b7a322f6ce4eb9e900683502f92cadb7250d37 (patch)
tree454cac0e44a32196db229936848ce27fdbf72520
parent2186e27ce62faade978a206d2de40cc6bcc21842 (diff)
downloadpkgsrc-34b7a322f6ce4eb9e900683502f92cadb7250d37.tar.gz
Add PKG_DESTDIR_SUPPORT.
-rw-r--r--textproc/tei/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/tei/Makefile b/textproc/tei/Makefile
index 315a6c2bca3..1b45365930f 100644
--- a/textproc/tei/Makefile
+++ b/textproc/tei/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/21 06:00:50 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2009/03/06 22:27:36 minskim Exp $
DISTNAME= dtd
PKGNAME= tei-4
@@ -11,12 +11,14 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tei-c.org/
COMMENT= DTD of the Text Encoding Initiative
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/dtd
DIST_SUBDIR= ${PKGNAME_NOREV}nb3
NO_CONFIGURE= YES
NO_BUILD= YES
-DTDDIR= ${LOCALBASE}/share/xml/tei
+DTDDIR= ${DESTDIR}${PREFIX}/share/xml/tei
XML_CATALOGS= ${DTDDIR}/teicatalog.xml