pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cook DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba093cc8e84b
branches:  trunk
changeset: 554618:ba093cc8e84b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 21:09:57 2009 +0000

description:
DESTDIR support

diffstat:

 devel/cook/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r f4a5bea3946c -r ba093cc8e84b devel/cook/Makefile
--- a/devel/cook/Makefile       Mon Feb 16 21:02:26 2009 +0000
+++ b/devel/cook/Makefile       Mon Feb 16 21:09:57 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/11/07 08:37:51 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2009/02/16 21:09:57 joerg Exp $
 
 DISTNAME=      cook-2.26
 PKGREVISION=   1
@@ -9,12 +9,19 @@
 HOMEPAGE=      http://miller.emu.id.au/pmiller/software/cook/
 COMMENT=       More powerful replacement for the traditional make(1) tool
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    msgfmt yacc perl:run
 GNU_CONFIGURE= yes
 MAKE_JOBS_SAFE=        no
 
-REPLACE_PERL=  bin/cook_rsh
 LIBS.SunOS+=   -lintl
 
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS+=   bindir=${DESTDIR}${PREFIX}/bin \
+                       datadir=${DESTDIR}${PREFIX}/share/cook \
+                       libdir=${DESTDIR}${PREFIX}/lib/cook \
+                       mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index