summaryrefslogtreecommitdiff
path: root/textproc/xhtml
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
commit99b23421ba6766aec8d6395e46736b7b19c2d009 (patch)
treeac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /textproc/xhtml
parentaeb2d168e47ed0ee66a89960498014672ab4a148 (diff)
downloadpkgsrc-99b23421ba6766aec8d6395e46736b7b19c2d009.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"