summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-04 01:32:00 +0000
committerjoerg <joerg>2010-02-04 01:32:00 +0000
commit198af0e02c760141dffaf5764a2c9917cb62973a (patch)
tree539416307033ba4918e210f8c2bc1676c3f3521c /lang
parent182272c796d8727f40b1b0f0a2451d8d7ee47dd4 (diff)
downloadpkgsrc-198af0e02c760141dffaf5764a2c9917cb62973a.tar.gz
DESTDIR support
Diffstat (limited to 'lang')
-rw-r--r--lang/rexx-imc/Makefile4
-rw-r--r--lang/rexx-imc/distinfo4
-rw-r--r--lang/rexx-imc/patches/patch-aa28
-rw-r--r--lang/rexx-regina/Makefile8
-rw-r--r--lang/scm/Makefile11
-rw-r--r--lang/tcl-itcl-current/Makefile7
-rw-r--r--lang/yabasic/Makefile9
7 files changed, 45 insertions, 26 deletions
diff --git a/lang/rexx-imc/Makefile b/lang/rexx-imc/Makefile
index b09d96dc141..78bc01c0600 100644
--- a/lang/rexx-imc/Makefile
+++ b/lang/rexx-imc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/12/02 12:12:24 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/04 01:39:11 joerg Exp $
#
DISTNAME= rexx-imc-1.76
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://users.comlab.ox.ac.uk/ian.collier/Rexx/
COMMENT= Implementation of IBM's REXX scripting language
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1
diff --git a/lang/rexx-imc/distinfo b/lang/rexx-imc/distinfo
index a78375907af..f124e373179 100644
--- a/lang/rexx-imc/distinfo
+++ b/lang/rexx-imc/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/07/02 10:23:27 rillig Exp $
+$NetBSD: distinfo,v 1.5 2010/02/04 01:39:11 joerg Exp $
SHA1 (rexx-imc-1.76.tar.gz) = 3b567bf3e77e42f33eb0ad771ea17ed759c8b361
RMD160 (rexx-imc-1.76.tar.gz) = 4fb42df97c113aa58e359deb78dfead74469ddde
Size (rexx-imc-1.76.tar.gz) = 251581 bytes
-SHA1 (patch-aa) = 4317beb7ab2af956f3fa7ecc7c99cf3bd32ff625
+SHA1 (patch-aa) = 63de678adf302b818a43c4a79cff6248fae49190
SHA1 (patch-ab) = f4d30c6d70f45fb463af1bb1fc2446621d7f7f50
diff --git a/lang/rexx-imc/patches/patch-aa b/lang/rexx-imc/patches/patch-aa
index d68b26fa11d..6edf822cd8f 100644
--- a/lang/rexx-imc/patches/patch-aa
+++ b/lang/rexx-imc/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2006/07/02 10:23:27 rillig Exp $
+$NetBSD: patch-aa,v 1.3 2010/02/04 01:39:11 joerg Exp $
BSD-style Makefile (with libtool support)
@@ -55,20 +55,20 @@ BSD-style Makefile (with libtool support)
+INSTALL_DATA_DIR= ${BSD_INSTALL_DATA_DIR}
+
+install: ${LIBNAME} rexx rxque rxstack
-+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rexx ${PREFIX}/bin
-+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rxque ${PREFIX}/bin
-+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rxstack ${PREFIX}/bin
-+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${LIBNAME:.a=.la} ${PREFIX}/lib
-+ sed -e 's|@REXXLIBDIR@|${REXXLIBDIR}|g' rexx.1.in > ${PREFIX}/man/man1/rexx.1
-+ ${INSTALL_MAN} rxque.1 ${PREFIX}/man/man1
-+ ${INSTALL_MAN} rxstack.1 ${PREFIX}/man/man1
-+ ${INSTALL_PROGRAM} rxmathfn.rxfn ${PREFIX}/lib
-+ ${INSTALL_MAN} rexxsaa.h ${PREFIX}/include
-+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rexx-imc
++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rexx ${DESTDIR}${PREFIX}/bin
++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rxque ${DESTDIR}${PREFIX}/bin
++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} rxstack ${DESTDIR}${PREFIX}/bin
++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${LIBNAME:.a=.la} ${DESTDIR}${PREFIX}/lib
++ sed -e 's|@REXXLIBDIR@|${REXXLIBDIR}|g' rexx.1.in > ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rexx.1
++ ${INSTALL_MAN} rxque.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
++ ${INSTALL_MAN} rxstack.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
++ ${INSTALL_PROGRAM} rxmathfn.rxfn ${DESTDIR}${PREFIX}/lib
++ ${INSTALL_MAN} rexxsaa.h ${DESTDIR}${PREFIX}/include
++ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rexx-imc
+ for f in rexx.info rexx.ref rexx.summary rexx.tech; do \
-+ ${INSTALL_MAN} $$f ${PREFIX}/share/doc/rexx-imc; \
++ ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/share/doc/rexx-imc; \
+ done
-+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rexx-imc
++ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/rexx-imc
+ for f in box rexxcps.rexx rexxtest.rexx rxmathfn.rexx shell.rexx; do \
-+ ${INSTALL_SCRIPT} $$f ${PREFIX}/share/examples/rexx-imc;\
++ ${INSTALL_SCRIPT} $$f ${DESTDIR}${PREFIX}/share/examples/rexx-imc;\
+ done
diff --git a/lang/rexx-regina/Makefile b/lang/rexx-regina/Makefile
index a84631b52d2..008aa1b3a3a 100644
--- a/lang/rexx-regina/Makefile
+++ b/lang/rexx-regina/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/12/21 20:19:53 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/04 01:41:55 joerg Exp $
#
DISTNAME= regina301
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://regina-rexx.sourceforge.net/
COMMENT= Implementation of the REXX language
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}
@@ -20,4 +22,8 @@ USE_TOOLS+= gmake
CONFLICTS= rexx-imc-[0-9]*
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
+ sharedir=${DESTDIR}${PREFIX}/share/regina
+
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index 9602a088c25..698cc641a30 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/05/20 00:58:20 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2010/02/04 01:37:19 joerg Exp $
#
# Convert the version number as follows 2d2 -> 2.4.2, where the d is
# changed to a 4, representing the 4th letter.
@@ -17,6 +17,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.swiss.ai.mit.edu/~jaffer/SCM
COMMENT= Portable scheme interpreter
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= slib>=3.1.1:../../devel/slib
WRKSRC= ${WRKDIR}/scm
@@ -36,7 +38,8 @@ OBJS= ${SCM_MODULES:=.o}
BUILD_TARGET= scmlit libscm.a
INSTALL_TARGET= install installlib
-INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} mandir=${PREFIX:Q}/${PKGMANDIR:Q}/
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/
INSTALLATION_DIRS= ${PKGINFODIR} share/scm
@@ -55,10 +58,10 @@ post-build:
${SH} ./buildscm.sh
post-install:
- ${INSTALL_DATA} ${WRKSRC}/slibcat ${PREFIX}/share/scm
+ ${INSTALL_DATA} ${WRKSRC}/slibcat ${DESTDIR}${PREFIX}/share/scm
cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
- ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/tcl-itcl-current/Makefile b/lang/tcl-itcl-current/Makefile
index 28317794524..b565ccf7310 100644
--- a/lang/tcl-itcl-current/Makefile
+++ b/lang/tcl-itcl-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/10/07 23:58:50 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.15 2010/02/04 01:32:00 joerg Exp $
DISTNAME= tcl-itcl-20040920
PKGNAME= ${DISTNAME:S/itcl/itcl-current/}
@@ -12,6 +12,7 @@ HOMEPAGE= http://incrtcl.sourceforge.net/itcl/
COMMENT= [incr Tcl] object-oriented extension to Tcl/Tk. CVS snapshot
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= tcl-itcl-[0-9]*
@@ -34,6 +35,10 @@ SUBST_SED.tcl-itcl+= -e s\|${WRKSRC:Q}/itcl\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS
SUBST_SED.tcl-itcl+= -e s\|${PREFIX:Q}/lib/itcl${ITCL_VERS:Q}\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS:Q}\|
SUBST_SED.tcl-itcl+= -e s\|${WRKDIR:Q}/${DISTNAME:C/-src//:Q}\|${PREFIX:Q}\|
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ exec_prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
BUILDLINK_DEPMETHOD.libXt?= build
# the version of configure in the distfile is from autoconf-2.13 and is not compatible
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index c66c7aef2de..66857451ee7 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/19 20:18:25 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/04 01:33:10 joerg Exp $
DISTNAME= yabasic-2.722
PKGREVISION= 3
@@ -9,12 +9,15 @@ MAINTAINER= david@silicium.ath.cx
HOMEPAGE= http://www.yabasic.de/
COMMENT= Yet another Basic for Unix and Windows
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
+INSTALLATION_DIRS+= share/doc/html/yabasic
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/yabasic
${INSTALL_DATA} ${WRKSRC}/yabasic.htm \
- ${PREFIX}/share/doc/html/yabasic
+ ${DESTDIR}${PREFIX}/share/doc/html/yabasic
BUILDLINK_DEPMETHOD.libXt?= build