pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec05c5d6c44c
branches: trunk
changeset: 549634:ec05c5d6c44c
user: obache <obache%pkgsrc.org@localhost>
date: Thu Nov 06 12:25:17 2008 +0000
description:
Add DESTDIR support.
diffstat:
pkgtools/url2pkg/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r ff421d21a945 -r ec05c5d6c44c pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Thu Nov 06 11:28:25 2008 +0000
+++ b/pkgtools/url2pkg/Makefile Thu Nov 06 12:25:17 2008 +0000
@@ -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 @@
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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index