diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
commit | 55daea10d15a6331bb8211a1f977a5b3258eb100 (patch) | |
tree | ac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /textproc/xhtml | |
parent | a69a223efd85bbb9bfc0fb041ff92d6d0dce17fa (diff) | |
download | pkgsrc-55daea10d15a6331bb8211a1f977a5b3258eb100.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/xhtml')
-rw-r--r-- | textproc/xhtml/Makefile | 11 |
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" |