pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c8963604d2d
branches: trunk
changeset: 570832:2c8963604d2d
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Feb 03 23:27:52 2010 +0000
description:
DESTDIR support
diffstat:
graphics/exifprobe/Makefile | 8 +++++++-
lang/awka/Makefile | 7 ++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 4a1ef2745be0 -r 2c8963604d2d graphics/exifprobe/Makefile
--- a/graphics/exifprobe/Makefile Wed Feb 03 23:26:57 2010 +0000
+++ b/graphics/exifprobe/Makefile Wed Feb 03 23:27:52 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:47 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/03 23:27:52 joerg Exp $
#
DISTNAME= exifprobe-2.0.1
@@ -9,4 +9,10 @@
HOMEPAGE= http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html
COMMENT= EXIF data extractor
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
+ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff -r 4a1ef2745be0 -r 2c8963604d2d lang/awka/Makefile
--- a/lang/awka/Makefile Wed Feb 03 23:26:57 2010 +0000
+++ b/lang/awka/Makefile Wed Feb 03 23:27:52 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/11/02 15:54:04 tv Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/03 23:33:58 joerg Exp $
#
DISTNAME= awka-0.7.5
@@ -10,6 +10,11 @@
HOMEPAGE= http://awka.sourceforge.net/
COMMENT= AWK to ANSI C compiler
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ MANSRCDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index