diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:41:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:41:51 +0000 |
commit | bfeb9dc0fdc65f27cc7c3d4acdb323b0fe47e09e (patch) | |
tree | baf391e1873255b6e0b17e61ed82db3b0631f13c | |
parent | 6b4f8a5a58c45e871e061a5c26490d11e41ff9e7 (diff) | |
download | pkgsrc-bfeb9dc0fdc65f27cc7c3d4acdb323b0fe47e09e.tar.gz |
user-destdir support
-rw-r--r-- | textproc/subtitleripper/Makefile | 20 | ||||
-rw-r--r-- | textproc/tcl-dom/Makefile | 18 |
2 files changed, 20 insertions, 18 deletions
diff --git a/textproc/subtitleripper/Makefile b/textproc/subtitleripper/Makefile index aca7cb7a4ed..1ddd9c37752 100644 --- a/textproc/subtitleripper/Makefile +++ b/textproc/subtitleripper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2008/09/06 09:19:02 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2009/07/07 20:43:35 joerg Exp $ # DISTNAME= subtitleripper-0.3-4 @@ -11,28 +11,28 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/subtitleripper/ COMMENT= Subtitle ripping program +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= gocr-[0-9]*:../../graphics/gocr USE_TOOLS+= gmake WRKSRC= ${WRKDIR}/subtitleripper -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin libdata/subtitleripper share/doc/subtitleripper CONFLICTS+= subtitleripper-0.3-[0-9]* do-install: ${SED} -e "s,@PREFIX@,${PREFIX}," <${WRKSRC}/pgm2txt >${WRKDIR}/pgm2txt - ${INSTALL_SCRIPT} ${WRKDIR}/pgm2txt ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/subtitle2pgm ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/srttool ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/subtitle2vobsub ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/subtitleripper + ${INSTALL_SCRIPT} ${WRKDIR}/pgm2txt ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/subtitle2pgm ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/srttool ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/subtitle2vobsub ${DESTDIR}${PREFIX}/bin cd ${WRKSRC}; ${INSTALL_DATA} README README.gocr README.srttool \ README.subtitle2pgm README.vobsub \ - ${PREFIX}/share/doc/subtitleripper - ${INSTALL_DATA_DIR} ${PREFIX}/libdata/subtitleripper + ${DESTDIR}${PREFIX}/share/doc/subtitleripper cd ${WRKSRC}; ${INSTALL_DATA} gocrfilter_en.sed \ gocrfilter_fr.sed gocrfilter_nl.sed gocrfilter_none.sed \ - ${PREFIX}/libdata/subtitleripper + ${DESTDIR}${PREFIX}/libdata/subtitleripper .include "../../graphics/netpbm/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/tcl-dom/Makefile b/textproc/tcl-dom/Makefile index f6c63cc77f3..93ba1d4e2a0 100644 --- a/textproc/tcl-dom/Makefile +++ b/textproc/tcl-dom/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/10/04 22:01:00 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2009/07/07 20:41:51 joerg Exp $ # DISTNAME= TclDOM-1.6 @@ -11,6 +11,8 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://tclxml.sourceforge.net/tcldom.html COMMENT= DOM implementation for use with TclXML or TclExpat +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tcl-xml-[0-9]*:../../textproc/tcl-xml # old name for this package... @@ -19,13 +21,13 @@ CONFLICTS+= TclDom-[0-9]* NO_CONFIGURE= yes NO_BUILD= yes +INSTALLATION_DIRS= lib/tcl/TclDOM share/doc/tcl/TclDOM + do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl/TclDOM - ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tcl/TclDOM - ${INSTALL_DATA} ${WRKSRC}/dom.tcl ${PREFIX}/lib/tcl/TclDOM - ${INSTALL_DATA} ${WRKSRC}/dommap.tcl ${PREFIX}/lib/tcl/TclDOM - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/TclDOM - ${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${PREFIX}/share/doc/tcl/TclDOM - ${INSTALL_DATA} ${WRKSRC}/changes ${PREFIX}/share/doc/tcl/TclDOM + ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclDOM + ${INSTALL_DATA} ${WRKSRC}/dom.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclDOM + ${INSTALL_DATA} ${WRKSRC}/dommap.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclDOM + ${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${DESTDIR}${PREFIX}/share/doc/tcl/TclDOM + ${INSTALL_DATA} ${WRKSRC}/changes ${DESTDIR}${PREFIX}/share/doc/tcl/TclDOM .include "../../mk/bsd.pkg.mk" |