diff options
author | obache <obache@pkgsrc.org> | 2008-11-06 12:25:17 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-11-06 12:25:17 +0000 |
commit | 4daaf7ad07e1888b884a7fec84f25545abd5495f (patch) | |
tree | b571800478b99270830fe2b02e9482cc1fbe3d9c /pkgtools | |
parent | d0261268ffef862044ba9704014f11f8a07076f1 (diff) | |
download | pkgsrc-4daaf7ad07e1888b884a7fec84f25545abd5495f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index edf0abfb7ee..50cb3907446 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2008/03/01 19:07:27 rillig Exp $ +# $NetBSD: Makefile,v 1.54 2008/11/06 12:25:17 obache Exp $ # DISTNAME= url2pkg-2.7 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/creating.html COMMENT= Tool to automate initial steps in building a package PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} NO_CHECKSUM= yes @@ -37,8 +38,8 @@ SUBST_SED.up+= -e 's,@PKGSRCDIR@,${PKGSRCDIR},g' .endif do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg.pl ${PREFIX}/bin/url2pkg - ${INSTALL_MAN} ${FILESDIR}/url2pkg.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/MakeMaker.pm ${PREFIX}/lib/url2pkg/ExtUtils/ + ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg.pl ${DESTDIR}${PREFIX}/bin/url2pkg + ${INSTALL_MAN} ${FILESDIR}/url2pkg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/MakeMaker.pm ${DESTDIR}${PREFIX}/lib/url2pkg/ExtUtils/ .include "../../mk/bsd.pkg.mk" |