summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/idutils/Makefile9
-rw-r--r--devel/libproplist/Makefile9
-rw-r--r--devel/libstash/Makefile4
-rw-r--r--devel/libstash/distinfo4
-rw-r--r--devel/libstash/patches/patch-aa65
-rw-r--r--devel/sparse/Makefile10
6 files changed, 82 insertions, 19 deletions
diff --git a/devel/idutils/Makefile b/devel/idutils/Makefile
index e326a48eef6..9746998a3e1 100644
--- a/devel/idutils/Makefile
+++ b/devel/idutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/03/13 13:24:29 bad Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/08 16:09:04 joerg Exp $
DISTNAME= idutils-4.2
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/idutils/idutils.html
COMMENT= Classic Berkeley gid/lid tools for looking up variables in code
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= sh-utils>=2.0nb2 coreutils-[0-9]*
USE_PKGLOCALEDIR= yes
@@ -23,11 +25,12 @@ MAKE_ENV+= BSD_SETENV=${SETENV:Q}
MAKE_FLAGS+= elc_SCRIPTS=
LISPDIR= ${PREFIX}/share/emacs/site-lisp
-REQD_DIRS= ${LISPDIR}
+
+INSTALLATION_DIRS= ${LISPDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
post-install:
- ${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${DESTDIR}${LISPDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libproplist/Makefile b/devel/libproplist/Makefile
index 1b093297fc3..2e610fa6349 100644
--- a/devel/libproplist/Makefile
+++ b/devel/libproplist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/07/19 19:14:38 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/08 16:12:31 joerg Exp $
DISTNAME= libPropList-0.10.1
PKGNAME= libproplist-0.10.1
@@ -9,12 +9,15 @@ MASTER_SITES= ftp://ftp.windowmaker.org/pub/libs/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= GNUstep/OPENSTEP property lists compatibility library
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= lex
+INSTALLATION_DIRS= share/doc/libproplist
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libproplist
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libproplist
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/libproplist
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libstash/Makefile b/devel/libstash/Makefile
index 29176bbffa1..88707eb7035 100644
--- a/devel/libstash/Makefile
+++ b/devel/libstash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/12/05 20:50:05 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/08 16:09:00 joerg Exp $
#
DISTNAME= libstash_s19990912a
@@ -10,6 +10,8 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.sqrl.org/sqrl/
COMMENT= Collection of programming support routines and useful algorithms
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-pthreads
CONFIGURE_ARGS+= --disable-shared
diff --git a/devel/libstash/distinfo b/devel/libstash/distinfo
index ffd6ef4cc29..de8df9afd15 100644
--- a/devel/libstash/distinfo
+++ b/devel/libstash/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:19 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/07/08 16:09:00 joerg Exp $
SHA1 (libstash_s19990912a.tar.gz) = ff9ffb3bd421be2652dced2dabfa503d7e3bbca1
RMD160 (libstash_s19990912a.tar.gz) = fa7058a9da42b27a1094cd9ae3af204167ad093f
Size (libstash_s19990912a.tar.gz) = 159195 bytes
-SHA1 (patch-aa) = db4b3219f1bbe8016ac83fe5b52ba33857bc29e7
+SHA1 (patch-aa) = f10654a8a95c375bf1b3af13683fe85660c4faae
SHA1 (patch-ab) = 3c8f3932b176b4ee4730125581569c1bb3aa85f4
SHA1 (patch-ac) = 2a2626a8df20e2dd62c565ba76b2b3fd8496c8e3
diff --git a/devel/libstash/patches/patch-aa b/devel/libstash/patches/patch-aa
index 9516c34a6b5..d50408c65ca 100644
--- a/devel/libstash/patches/patch-aa
+++ b/devel/libstash/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2000/09/24 17:32:26 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2009/07/08 16:09:00 joerg Exp $
---- Makefile.bsd.in.orig Mon Sep 13 02:32:44 1999
+--- Makefile.bsd.in.orig 2009-07-08 18:05:44.000000000 +0200
+++ Makefile.bsd.in
@@ -101,11 +101,11 @@
@@ -16,12 +16,65 @@ $NetBSD: patch-aa,v 1.2 2000/09/24 17:32:26 hubertf Exp $
CFLAGS := -Wall -pipe @CFLAGS@
ST_CFLAGS :=
-@@ -296,7 +296,7 @@
+@@ -290,47 +290,47 @@ install_r : install_stat_dbg_r install_s
+
+ install_common : all
+ $(SHELL) -c \
+- '@INSTALL@ -d @prefix@/include/libstash; \
++ '@INSTALL@ -d ${DESTDIR}@prefix@/include/libstash; \
+ for i in $(INCS); do \
+- @INSTALL@ -m 0644 $$i @prefix@/include/libstash/; \
++ @INSTALL@ -m 0644 $$i ${DESTDIR}@prefix@/include/libstash/; \
done; \
- @INSTALL@ -d @prefix@/man/man3; \
+- @INSTALL@ -d @prefix@/man/man3; \
++ @INSTALL@ -d ${DESTDIR}@prefix@/man/man3; \
for i in $(MANPAGES); do \
- @INSTALL@ -m 0644 $$i @prefix@/man/man3/; \
-+ @INSTALL@ -m 0644 $$i @prefix@/$${i%s}; \
++ @INSTALL@ -m 0644 $$i ${DESTDIR}@prefix@/$${i%s}; \
+ done; \
+- @INSTALL@ -d @prefix@/lib; \
++ @INSTALL@ -d ${DESTDIR}@prefix@/lib; \
+ '
+
+ install_common_r : install_common
+ $(SHELL) -c \
+ 'for i in $(INCS_R); do \
+- @INSTALL@ -m 0644 $$i @prefix@/include/libstash/; \
++ @INSTALL@ -m 0644 $$i ${DESTDIR}@prefix@/include/libstash/; \
done; \
- @INSTALL@ -d @prefix@/lib; \
'
+
+ install_stat_dbg : stat_dbg install_common
+- @INSTALL@ -m 0444 $(LIB_ST_D) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_D) ${DESTDIR}@prefix@/lib
+
+ install_stat_opt : stat_opt install_common
+- @INSTALL@ -m 0444 $(LIB_ST_O) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_O) ${DESTDIR}@prefix@/lib
+
+ install_shar_opt : shar_opt install_common
+- @INSTALL@ -m 0444 $(LIB_SH_O) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_SH_O) ${DESTDIR}@prefix@/lib
+
+ install_stat_prof : stat_prof install_common
+- @INSTALL@ -m 0444 $(LIB_ST_P) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_P) ${DESTDIR}@prefix@/lib
+
+ install_stat_dbg_r : stat_dbg_r install_common install_common_r
+- @INSTALL@ -m 0444 $(LIB_ST_R_D) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_R_D) ${DESTDIR}@prefix@/lib
+
+ install_stat_opt_r : stat_opt_r install_common install_common_r
+- @INSTALL@ -m 0444 $(LIB_ST_R_O) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_R_O) ${DESTDIR}@prefix@/lib
+
+ install_shar_opt_r : shar_opt_r install_common install_common_r
+- @INSTALL@ -m 0444 $(LIB_SH_R_O) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_SH_R_O) ${DESTDIR}@prefix@/lib
+
+ install_stat_prof_r : stat_prof_r install_common install_common_r
+- @INSTALL@ -m 0444 $(LIB_ST_R_P) @prefix@/lib
++ @INSTALL@ -m 0444 $(LIB_ST_R_P) ${DESTDIR}@prefix@/lib
+
+ uninstall :
+ rm -f @prefix@/lib/lib$(LIB)*
diff --git a/devel/sparse/Makefile b/devel/sparse/Makefile
index de14dab4629..9ac9d777fe1 100644
--- a/devel/sparse/Makefile
+++ b/devel/sparse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/08 16:13:51 joerg Exp $
#
DISTNAME= sparse-0.3
@@ -9,14 +9,16 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
COMMENT= Semantic parser for C
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS+= share/doc/sparse
PKGCONFIG_OVERRIDE+= sparse.pc.in
REPLACE_PERL= cgcc
USE_TOOLS+= gmake perl:run
post-install:
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/sparse/
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/sparse/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sparse/
.include "../../mk/bsd.pkg.mk"