summaryrefslogtreecommitdiff
path: root/textproc/xhtml
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 20:25:27 +0000
committerjoerg <joerg>2009-07-07 20:25:27 +0000
commit93279e1d5d880a9cb6c21bf1389d159c6159e5ac (patch)
treeac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /textproc/xhtml
parentada690c5a8fc3eaea13a1d5ad2720ec10ff5113b (diff)
downloadpkgsrc-93279e1d5d880a9cb6c21bf1389d159c6159e5ac.tar.gz
user-destdir support
Diffstat (limited to 'textproc/xhtml')
-rw-r--r--textproc/xhtml/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile
index 0cee4b654bb..8aaeaac337d 100644
--- a/textproc/xhtml/Makefile
+++ b/textproc/xhtml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/04/08 22:43:26 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/07/07 20:28:29 joerg Exp $
#
DISTNAME= xhtml1
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.w3.org/MarkUp/
COMMENT= DTDs for the Extensible Hypertext Markup Language
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
@@ -20,11 +22,12 @@ WRKSRC= ${WRKDIR}/xhtml1-20020801
SGML_CATALOGS= ${PREFIX}/share/xml/xhtml/1.0/xhtml.soc
XML_CATALOGS= ${PREFIX}/share/xml/xhtml/1.0/catalog
+INSTALLATION_DIRS= share/xml/xhtml/1.0
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xml/xhtml/1.0
- cd ${WRKSRC}/DTD && pax -rwpppm . ${PREFIX}/share/xml/xhtml/1.0
+ cd ${WRKSRC}/DTD && pax -rwpppm . ${DESTDIR}${PREFIX}/share/xml/xhtml/1.0
${INSTALL_DATA} ${FILESDIR}/catalog10 \
- ${PREFIX}/share/xml/xhtml/1.0/catalog
+ ${DESTDIR}${PREFIX}/share/xml/xhtml/1.0/catalog
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"