summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 17:59:06 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 17:59:06 +0000
commit2a6536c2b2f600639621c6820f1f7695955f7656 (patch)
treea94a5d5f0d886d6e7db73ee9a947f00027640430 /devel
parent0f4090d7436c5930e848275389d74ace3ad507a0 (diff)
downloadpkgsrc-2a6536c2b2f600639621c6820f1f7695955f7656.tar.gz
DESTDIR support
Diffstat (limited to 'devel')
-rw-r--r--devel/fhist/Makefile8
-rw-r--r--devel/gcvs/Makefile8
-rw-r--r--devel/gputils/Makefile15
-rw-r--r--devel/hptools/Makefile9
4 files changed, 30 insertions, 10 deletions
diff --git a/devel/fhist/Makefile b/devel/fhist/Makefile
index e3d967f2f79..c882e3d450d 100644
--- a/devel/fhist/Makefile
+++ b/devel/fhist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/02/17 20:59:48 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/29 17:59:06 joerg Exp $
#
DISTNAME= fhist-1.16
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fhist.sourceforge.net/
COMMENT= File history and comparison tools
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gsoelim msgfmt yacc
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
@@ -16,6 +18,10 @@ USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --with-nlsdir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/fhist/en/man1 \
+ share/locale/en/LC_MESSAGES
+INSTALL_MAKE_FLAGS+= RPM_BUILD_ROOT=${DESTDIR}
+
TEST_TARGET= sure
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/devel/gcvs/Makefile b/devel/gcvs/Makefile
index df8909c360c..582fd9c39e6 100644
--- a/devel/gcvs/Makefile
+++ b/devel/gcvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/11/24 23:04:14 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2010/01/29 18:02:59 joerg Exp $
DISTNAME= gcvs-1.0
PKGREVISION= 4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cvsgui.sourceforge.net/
COMMENT= GTK interface for CVS
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= cvs-[0-9]*
USE_LANGUAGES= c c++
@@ -22,6 +24,10 @@ CONFIGURE_ARGS+= --with-tclinclude="${BUILDLINK_PREFIX.tcl}/include"
CONFIGURE_ARGS+= --with-tcllib="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ARGS+= perl_path=${PERL5}
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
+
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
diff --git a/devel/gputils/Makefile b/devel/gputils/Makefile
index a87a2581e26..8643d23ffb7 100644
--- a/devel/gputils/Makefile
+++ b/devel/gputils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/05/02 16:03:00 bouyer Exp $
+# $NetBSD: Makefile,v 1.11 2010/01/29 18:02:12 joerg Exp $
DISTNAME= gputils-0.13.5
CATEGORIES= devel
@@ -8,16 +8,19 @@ MAINTAINER= dogcow@NetBSD.org
HOMEPAGE= http://gputils.sourceforge.net/
COMMENT= collection of tools for Microchip's PIC micro-processors
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= gpasm-*
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
+INSTALLATION_DIRS== share/doc/gputils
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gputils
- for i in ps pdf lyx; do \
- ${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
- ${PREFIX}/share/doc/gputils; \
- done
+ for i in ps pdf lyx; do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
+ ${DESTDIR}${PREFIX}/share/doc/gputils; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hptools/Makefile b/devel/hptools/Makefile
index a85747f6276..9a2a36dda2d 100644
--- a/devel/hptools/Makefile
+++ b/devel/hptools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/05/19 08:59:09 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/29 18:08:25 joerg Exp $
#
DISTNAME= hptools-src-3.0.8
@@ -11,6 +11,8 @@ HOMEPAGE= http://www.hpcalc.org/hp48/pc/programming/
COMMENT= SDK for Hewlett-Packard HP-48G/49G/39G/40G calculators
LICENSE= hptools-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= Redistribution of unmodified source only; resale prohibited.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
@@ -22,11 +24,14 @@ CONFIGURE_DIRS= support
BUILD_DIRS= support
USE_TOOLS+= pax
+INSTALLATION_DIRS+= bin
+INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin
+
post-build:
${CHMOD} ${SHAREMODE} ${WRKSRC}/doc/*
post-install:
cd ${WRKSRC} \
- && pax -rw -pam -s ',^doc,hptools,g' doc ${PREFIX}/share/doc
+ && pax -rw -pam -s ',^doc,hptools,g' doc ${DESTDIR}${PREFIX}/share/doc
.include "../../mk/bsd.pkg.mk"