diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 22:12:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 22:12:02 +0000 |
commit | 921766b82d6a394ca21cac4e193fc216bc85e401 (patch) | |
tree | eb697236b88a0e0f3c64233fefd83f6a1ac70a49 /textproc/docbook-website | |
parent | 4bfe9df7bedd460731d20c4318755b035e723030 (diff) | |
download | pkgsrc-921766b82d6a394ca21cac4e193fc216bc85e401.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/docbook-website')
-rw-r--r-- | textproc/docbook-website/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/docbook-website/Makefile b/textproc/docbook-website/Makefile index f4c0933dc6c..d1fe0c3ae00 100644 --- a/textproc/docbook-website/Makefile +++ b/textproc/docbook-website/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2009/07/07 22:12:02 joerg Exp $ # DISTNAME= docbook-website-2.6.0 @@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://docbook.sourceforge.net/ COMMENT= DocBook XML DTD for building websites +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= docbook-simple-[0-9]*:../../textproc/docbook-simple DEPENDS+= docbook-xsl>=1.58:../../textproc/docbook-xsl @@ -25,18 +27,17 @@ EGDIR= ${PREFIX}/share/examples/docbook-website XML_CATALOGS= ${DTDDIR}/catalog.xml SGML_CATALOGS= ${DTDDIR}/catalog +INSTALLATION_DIRS= ${DOCDIR} ${DTDDIR} ${EGDIR} + do-install: cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \; - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${DTDDIR} - ${INSTALL_DATA_DIR} ${EGDIR} cd ${WRKSRC} && pax -rwpm ChangeLog README VERSION \ RELEASE-NOTES.html RELEASE-NOTES.txt RELEASE-NOTES.xml \ - TODO ${DOCDIR} - cd ${WRKSRC}/example && pax -rwpm . ${EGDIR} + TODO ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/example && pax -rwpm . ${DESTDIR}${EGDIR} cd ${WRKSRC} && pax -rwpm VERSION extensions schema xsl \ - ${DTDDIR} - ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DTDDIR} + ${DESTDIR}${DTDDIR} + ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DESTDIR}${DTDDIR} .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" |