diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 22:02:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 22:02:39 +0000 |
commit | 1eeccc58bda37f75fbdaa226d0884915e471176a (patch) | |
tree | 8547ed75cf3f3e40c5ef5c8c69ae8458e20c7082 /textproc/html | |
parent | ade935b6378e6b31f6400a60a87ab01237da3903 (diff) | |
download | pkgsrc-1eeccc58bda37f75fbdaa226d0884915e471176a.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/html')
-rw-r--r-- | textproc/html/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/html/Makefile b/textproc/html/Makefile index 733b8c32d26..5abc538021a 100644 --- a/textproc/html/Makefile +++ b/textproc/html/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2009/04/08 22:43:25 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2009/07/07 22:02:39 joerg Exp $ # DISTNAME= html-4.01 @@ -13,6 +13,7 @@ COMMENT= SGML DTDs for the Hypertext Markup Language DEPENDS+= iso8879>=1986:../../textproc/iso8879 PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty @@ -24,11 +25,12 @@ ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog SGML_CATALOGS= ${INSTDIR}/catalog +INSTALLATION_DIRS= ${INSTDIR} + do-install: - ${INSTALL_DATA_DIR} ${INSTDIR} - cd ${INSTDIR} && \ + cd ${DESTDIR}${INSTDIR} && \ ${TAR} -zxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} - ${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/catalog + ${ECHO} "CATALOG \"${ISOCAT}\"" >> ${DESTDIR}${INSTDIR}/catalog .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" |