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 | 4e5b3e39f29373bfcb3142e3f4c9bae74f326db7 (patch) | |
tree | 8547ed75cf3f3e40c5ef5c8c69ae8458e20c7082 /textproc/html/Makefile | |
parent | 6b4e6c146d1cef81494fa1145569299e3d56b6cf (diff) | |
download | pkgsrc-4e5b3e39f29373bfcb3142e3f4c9bae74f326db7.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/html/Makefile')
-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" |