summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 17:45:33 +0000
committerjlam <jlam>2008-03-03 17:45:33 +0000
commit7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d
parente629efdae96bb93a089e74409a36149a86e10f81 (diff)
downloadpkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
-rw-r--r--devel/RTFM/Makefile17
-rw-r--r--devel/SDL-intro-en/Makefile10
-rw-r--r--devel/SDL-intro-ko/Makefile10
-rw-r--r--devel/ZenTest/Makefile20
-rw-r--r--devel/acme/Makefile16
-rw-r--r--devel/acunia-jam/Makefile15
-rw-r--r--devel/adocman/Makefile18
-rw-r--r--devel/apache-ant/Makefile22
-rw-r--r--devel/apache-ant15/Makefile24
-rw-r--r--devel/as31/Makefile9
-rw-r--r--devel/bmake/Makefile8
-rw-r--r--devel/boaconstructor/Makefile12
-rw-r--r--devel/bugzilla/Makefile80
-rw-r--r--devel/bugzilla3/Makefile78
-rw-r--r--devel/c4/Makefile8
-rw-r--r--devel/cfitsio/Makefile12
-rw-r--r--devel/cflow-mode/Makefile11
-rw-r--r--devel/cgdb/Makefile10
-rw-r--r--devel/cmake-mode/Makefile7
-rw-r--r--devel/cvs2cl/Makefile6
-rw-r--r--devel/cvs2html/Makefile6
-rw-r--r--devel/cvs2p4/Makefile19
-rw-r--r--devel/cvsgraph/Makefile26
-rw-r--r--devel/cvsup-bin/Makefile22
-rw-r--r--devel/cvsup-gui-bin/Makefile6
-rw-r--r--devel/device-driver-doc-de/Makefile14
-rw-r--r--devel/dia2code/Makefile12
-rw-r--r--devel/distccmon-gnome/Makefile14
-rw-r--r--devel/distccmon-gtk/Makefile12
-rw-r--r--devel/dmake/Makefile13
-rw-r--r--devel/eclipse/Makefile11
-rw-r--r--devel/electricfence/Makefile9
-rw-r--r--devel/elib/Makefile.common10
-rw-r--r--devel/emacs-ilisp/Makefile32
-rw-r--r--devel/etrace/Makefile22
-rw-r--r--devel/fastdep/Makefile6
-rw-r--r--devel/florist/Makefile15
-rw-r--r--devel/fromcvs/Makefile24
-rw-r--r--devel/gentle/Makefile36
-rw-r--r--devel/gettext-m4/Makefile9
-rw-r--r--devel/gflib/Makefile7
-rw-r--r--devel/haskell-mode/Makefile12
-rw-r--r--devel/idiff/Makefile6
-rw-r--r--devel/its4/Makefile13
-rw-r--r--devel/jam/Makefile17
-rw-r--r--devel/javacc/Makefile22
-rw-r--r--devel/javadeps/Makefile17
-rw-r--r--devel/jflex/Makefile13
-rw-r--r--devel/jgrasp/Makefile22
-rw-r--r--devel/lcc/Makefile28
-rw-r--r--devel/ldapsdk/Makefile32
-rw-r--r--devel/libetm/Makefile12
-rw-r--r--devel/libgetopt/Makefile12
-rw-r--r--devel/libhfs/Makefile27
-rw-r--r--devel/libiberty/Makefile12
-rw-r--r--devel/libmemmgr/Makefile12
-rw-r--r--devel/libportlib/Makefile8
-rw-r--r--devel/libtai/Makefile16
-rw-r--r--devel/libts/Makefile12
-rw-r--r--devel/libwhisker2/Makefile22
-rw-r--r--devel/lincvs/Makefile14
-rw-r--r--devel/ltsa/Makefile20
-rw-r--r--devel/mantis/Makefile20
-rw-r--r--devel/monotone-server/Makefile14
-rw-r--r--devel/monotone-viz/Makefile6
-rw-r--r--devel/mph/Makefile12
-rw-r--r--devel/netbeans-ide/Makefile16
-rw-r--r--devel/newt/Makefile10
-rw-r--r--devel/nsis/Makefile12
-rw-r--r--devel/nspr-reference/Makefile9
-rw-r--r--devel/nss/Makefile17
-rw-r--r--devel/ode/Makefile9
-rw-r--r--devel/opengrok/Makefile32
-rw-r--r--devel/p4-docs/Makefile9
-rw-r--r--devel/p4/Makefile7
-rw-r--r--devel/p4d/Makefile7
-rw-r--r--devel/p4pr/Makefile7
-rw-r--r--devel/p4web/Makefile6
-rw-r--r--devel/palmpower/Makefile12
-rw-r--r--devel/picprg/Makefile15
-rw-r--r--devel/psvn/Makefile8
-rw-r--r--devel/pvs/Makefile12
-rw-r--r--devel/py-idle/Makefile16
-rw-r--r--devel/python-mode/Makefile8
-rw-r--r--devel/ratfor/Makefile9
-rw-r--r--devel/rdp/Makefile16
-rw-r--r--devel/refinecvs/Makefile14
-rw-r--r--devel/rox-lib/Makefile6
-rw-r--r--devel/rscode/Makefile10
-rw-r--r--devel/rsltc/Makefile12
-rw-r--r--devel/ruby-activesupport/Makefile19
-rw-r--r--devel/ruby-bsearch/Makefile11
-rw-r--r--devel/ruby-byaccr/Makefile11
-rw-r--r--devel/ruby-mode/Makefile8
-rw-r--r--devel/ruby-rd-mode/Makefile10
-rw-r--r--devel/rubyforge/Makefile21
-rw-r--r--devel/sablecc/Makefile10
-rw-r--r--devel/semantic/Makefile13
-rw-r--r--devel/sgi-stl-docs/Makefile8
-rw-r--r--devel/sgi-stl/Makefile8
-rw-r--r--devel/sml-mode/Makefile8
-rw-r--r--devel/st/Makefile20
-rw-r--r--devel/stlport/Makefile18
-rw-r--r--devel/stooop/Makefile17
-rw-r--r--devel/syncdir/Makefile5
-rw-r--r--devel/sysexits/Makefile5
-rw-r--r--devel/tavrasm/Makefile12
-rw-r--r--devel/teem/Makefile10
-rw-r--r--devel/tkdiff/Makefile5
-rw-r--r--devel/tmake/Makefile24
-rw-r--r--devel/tpasm/Makefile14
-rw-r--r--devel/ucpp/Makefile8
-rw-r--r--devel/unidiff/Makefile10
-rw-r--r--devel/uno/Makefile30
-rw-r--r--devel/vtcl/Makefile26
-rw-r--r--devel/wide/Makefile14
-rw-r--r--devel/xdelta3/Makefile6
-rw-r--r--devel/xxgdb/Makefile10
-rw-r--r--devel/z80-asm/Makefile16
119 files changed, 1038 insertions, 737 deletions
diff --git a/devel/RTFM/Makefile b/devel/RTFM/Makefile
index 379adb1a8e3..03d02eff091 100644
--- a/devel/RTFM/Makefile
+++ b/devel/RTFM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/05/01 09:39:48 cube Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= RTFM-2.0.4
@@ -12,6 +12,8 @@ COMMENT= Enterprise-grade knowledge management tool
DEPENDS+= rt>=3.4.5:../../devel/rt3
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../devel/rt3/dirs.mk"
PLIST_SUBST+= RT_HTML_DIR=${RT_HTML_DIR:C/^${LOCALBASE}\///} \
@@ -24,17 +26,20 @@ INSTALLATION_DIRS= lib share
do-install:
@${ECHO} "=> Libraries"
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RT_LIB_DIR}
cd ${WRKSRC}/lib/RT && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
- ${PAX} -rw ${RT_LIB_DIR}/RT
+ ${PAX} -rw ${DESTDIR}${RT_LIB_DIR}/RT
@${ECHO} "=> HTML Documents"
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RT_HTML_DIR}
cd ${WRKSRC}/html && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
- ${PAX} -rw ${RT_HTML_DIR}
+ ${PAX} -rw ${DESTDIR}${RT_HTML_DIR}
@${ECHO} "=> Locales"
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RT_I18N_DIR}
cd ${WRKSRC}/po && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
- ${PAX} -rw ${RT_I18N_DIR}
+ ${PAX} -rw ${DESTDIR}${RT_I18N_DIR}
@${ECHO} "=> Database Schemas"
- ${INSTALL_DATA_DIR} ${PREFIX}/share/RTFM
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/RTFM
for file in acl.Oracle acl.Pg acl.mysql schema.Oracle schema.Pg schema.mysql; \
- do ${INSTALL_DATA} ${WRKSRC}/etc/$$file ${PREFIX}/share/RTFM; done
+ do ${INSTALL_DATA} ${WRKSRC}/etc/$$file ${DESTDIR}${PREFIX}/share/RTFM; done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDL-intro-en/Makefile b/devel/SDL-intro-en/Makefile
index 23aa15a9ab8..a9721c0b7e0 100644
--- a/devel/SDL-intro-en/Makefile
+++ b/devel/SDL-intro-en/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/07/21 19:47:32 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= SDL-1.0-english-intro
@@ -11,6 +11,8 @@ MAINTAINER= ianzag@mail.ru
HOMEPAGE= http://www.libsdl.org/docs.php
COMMENT= Simple DirectMedia Layer introduction (English)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/intro.en
DEST= ${PREFIX}/share/doc/SDL-intro.en
@@ -22,8 +24,8 @@ post-patch:
${RM} ${WRKSRC}/index.html
do-install:
- ${INSTALL_DATA_DIR} ${DEST}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${DEST}
- ${LN} -s ${DEST}/toc.html ${DEST}/index.html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DEST}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${DESTDIR}${DEST}
+ ${LN} -s toc.html ${DESTDIR}${DEST}/index.html
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDL-intro-ko/Makefile b/devel/SDL-intro-ko/Makefile
index 3ac555faa6f..dc46d9f71f6 100644
--- a/devel/SDL-intro-ko/Makefile
+++ b/devel/SDL-intro-ko/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/21 19:52:59 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= SDL-1.0-korean-intro
@@ -10,6 +10,8 @@ MAINTAINER= ianzag@mail.ru
HOMEPAGE= http://www.libsdl.org/docs.php
COMMENT= Simple DirectMedia Layer introduction (Korean)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/intro.ko
DEST= ${PREFIX}/share/doc/SDL-intro.ko
@@ -21,8 +23,8 @@ post-patch:
${RM} ${WRKSRC}/index.html
do-install:
- ${INSTALL_DATA_DIR} ${DEST}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${DEST}
- ${LN} -s ${DEST}/toc.html ${DEST}/index.html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DEST}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${DESTDIR}${DEST}
+ ${LN} -s toc.html ${DESTDIR}${DEST}/index.html
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ZenTest/Makefile b/devel/ZenTest/Makefile
index 1d507f41a90..4cc1058b3f9 100644
--- a/devel/ZenTest/Makefile
+++ b/devel/ZenTest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/02/26 08:00:39 seb Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:33 jlam Exp $
DISTNAME= ZenTest-3.9.1
CATEGORIES= devel ruby
@@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://zentest.rubyforge.org/
COMMENT= Testing utilities for Ruby
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_LANGUAGES= # none
@@ -20,14 +22,16 @@ INSTALLATION_DIRS= bin
.include "../../lang/ruby/modules.mk"
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
- cd ${WRKSRC}/lib && pax -rwppm . ${RUBY_SITELIBDIR}
- chmod ${SHAREMODE} ${RUBY_SITELIBDIR}/autotest.rb
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/${PKGBASE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_LIB_DIR} ${DESTDIR}${RUBY_SITELIBDIR}
+ cd ${WRKSRC}/lib && pax -rwppm . ${DESTDIR}${RUBY_SITELIBDIR}
+ chmod ${SHAREMODE} ${DESTDIR}${RUBY_SITELIBDIR}/autotest.rb
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/${PKGBASE}
.for f in articles README.txt
- cd ${WRKSRC} && pax -rwppm ${f} ${RUBY_DOCDIR}/${PKGBASE}
+ cd ${WRKSRC} && pax -rwppm ${f} ${DESTDIR}${RUBY_DOCDIR}/${PKGBASE}
.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/example* ${RUBY_EXAMPLESDIR}/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/example* \
+ ${DESTDIR}${RUBY_EXAMPLESDIR}/${PKGBASE}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/acme/Makefile b/devel/acme/Makefile
index 2e9b523b68c..805c67a76c5 100644
--- a/devel/acme/Makefile
+++ b/devel/acme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/30 07:11:00 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= acme085_linux
@@ -12,6 +12,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/acme.html
COMMENT= Cross assembler for 6502, 65c02, and 65816
+PKG_DESTDIR_SUPPORT= destdir
+
USE_TOOLS+= unzip
WRKSRC= ${WRKTOP}/sources
@@ -28,11 +30,11 @@ post-extract:
cd ${WRKDIR} && unzip -qa ${_DISTDIR}/${LIBDIST}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/acme ${PREFIX}/bin/acme
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/acme
- ${INSTALL_DATA} ${WRKTOP}/docs/* ${PREFIX}/share/doc/acme
- ${INSTALL_DATA_DIR} ${ACME_LIB}
- cd ${WRKDIR}/ACME_Lib && ${PAX} -rw . ${ACME_LIB}
- ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${ACME_LIB}
+ ${INSTALL_PROGRAM} ${WRKSRC}/acme ${DESTDIR}${PREFIX}/bin/acme
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/acme
+ ${INSTALL_DATA} ${WRKTOP}/docs/* ${DESTDIR}${PREFIX}/share/doc/acme
+ ${INSTALL_DATA_DIR} ${DESTDIR}${ACME_LIB}
+ cd ${WRKDIR}/ACME_Lib && ${PAX} -rw . ${DESTDIR}${ACME_LIB}
+ ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${DESTDIR}${ACME_LIB}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/acunia-jam/Makefile b/devel/acunia-jam/Makefile
index 5cfe6519c58..78f12e62eab 100644
--- a/devel/acunia-jam/Makefile
+++ b/devel/acunia-jam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/07/29 05:23:35 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= acunia-jam-1.0
@@ -13,6 +13,7 @@ COMMENT= Acunia version of the program construction tool, like make(1)
CONFLICTS= jam-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/jam
USE_TOOLS+= yacc
@@ -24,15 +25,17 @@ INSTALLATION_DIRS= bin
do-install:
for file in jam mkjambase; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${file} ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${file} \
+ ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
for file in Porting README RELNOTES; do \
- ${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${file} \
+ ${DESTDIR}${PREFIX}/${DOCDIR}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR}
for file in ${WRKSRC}/*.html; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/${HTMLDIR}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/${HTMLDIR}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/adocman/Makefile b/devel/adocman/Makefile
index 9b8acff8e3c..8a0cda0cc40 100644
--- a/devel/adocman/Makefile
+++ b/devel/adocman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:12 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= adocman-0.10
@@ -13,6 +13,8 @@ COMMENT= DocManager operation automation tool
DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Crypt-SSLeay>=0.47:../../security/p5-Crypt-SSLeay
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
PERL5_CONFIGURE= no
REPLACE_PERL= adocman xml_export
@@ -20,15 +22,17 @@ REPLACE_PERL= adocman xml_export
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/adocman ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${PREFIX}/bin
- ${INSTALL_SCRIPT_DIR} ${PERL5_INSTALLVENDORLIB}/Alexandria
+ ${INSTALL_SCRIPT} ${WRKSRC}/adocman ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
.for f in Client.pm Docman.pm
- ${INSTALL_SCRIPT} ${WRKSRC}/Alexandria/${f} ${PERL5_INSTALLVENDORLIB}/Alexandria
+ ${INSTALL_SCRIPT} ${WRKSRC}/Alexandria/${f} \
+ ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/adocman
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/adocman
.for f in LICENSE README TODO adocman.html xml_export.html
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/html/adocman
+ ${INSTALL_DATA} ${WRKSRC}/${f} \
+ ${DESTDIR}${PREFIX}/share/doc/html/adocman
.endfor
.include "../../lang/perl5/module.mk"
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile
index 13593ac5d94..414128236c8 100644
--- a/devel/apache-ant/Makefile
+++ b/devel/apache-ant/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/02/15 14:20:54 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= apache-ant-1.7.0
@@ -14,6 +14,8 @@ COMMENT= Apache Project's Java-Based make(1) replacement
# Up to version 1.5.1 inclusive this was known as "jakarta-ant".
CONFLICTS= jakarta-ant>=0
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_JAVA= run
USE_JAVA2= yes
NO_BUILD= yes
@@ -27,15 +29,15 @@ SUBST_SED.ant+= -e 's,@PREFIX@,${PREFIX},g'
INSTALLATION_DIRS= bin lib/java/ant share/doc/java/ant
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/ant ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${PREFIX}/lib/java/ant
- ${INSTALL_DATA} ${WRKSRC}/lib/ant-*.jar ${PREFIX}/lib/java/ant
- ${INSTALL_DATA} ${WRKSRC}/lib/xercesImpl.jar ${PREFIX}/lib/java/ant
- ${INSTALL_DATA} ${WRKSRC}/lib/xml-apis.jar ${PREFIX}/lib/java/ant
- cd ${WRKSRC}/docs && pax -rw -pmp * ${PREFIX}/share/doc/java/ant
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/java/ant
- ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/java/ant
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/ant ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/lib/ant-*.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/lib/xercesImpl.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/lib/xml-apis.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ cd ${WRKSRC}/docs && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/java/ant
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/apache-ant15/Makefile b/devel/apache-ant15/Makefile
index cc32ce4d53a..cb9996860b1 100644
--- a/devel/apache-ant15/Makefile
+++ b/devel/apache-ant15/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/05 23:08:39 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:34 jlam Exp $
#
# NOTE: if you are depending on ant from another package, please be aware that
# the ant team has CHANGED the version numbering scheme. A previous version
@@ -21,6 +21,8 @@ DEPENDS+= crimson>=1.1.3:../../textproc/crimson
# Up to version 1.5.1 inclusive this was known as "jakarta-ant".
CONFLICTS= jakarta-ant*
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_JAVA= run
@@ -33,16 +35,16 @@ do-build:
< ${FILESDIR}/ant > ${WRKDIR}/ant
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/ant ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java/ant
- ${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${PREFIX}/lib/java/ant
- ${INSTALL_DATA} ${WRKSRC}/lib/optional.jar ${PREFIX}/lib/java/ant
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/ant
- cd ${WRKSRC}/docs && ${PAX} -rw -pmp * ${PREFIX}/share/doc/java/ant
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/java/ant
- ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/java/ant
+ ${INSTALL_SCRIPT} ${WRKDIR}/ant ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/lib/optional.jar ${DESTDIR}${PREFIX}/lib/java/ant
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/java/ant
+ cd ${WRKSRC}/docs && ${PAX} -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/java/ant
+ ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/java/ant
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/as31/Makefile b/devel/as31/Makefile
index ff588391389..d11d5f537a0 100644
--- a/devel/as31/Makefile
+++ b/devel/as31/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/06/08 18:39:23 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:34 jlam Exp $
DISTNAME= asm.8051
PKGNAME= as31-19900126
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .Z
MAINTAINER= bjh21@NetBSD.org
COMMENT= 8031/8051 assembler
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | \
${SED} '1,/^.! \/bin\/sh/d' | ${SH}
@@ -20,7 +22,8 @@ BUILD_TARGET= as31
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/as31 ${PREFIX}/bin/as31
- ${INSTALL_DATA} ${WRKSRC}/as31.man ${PREFIX}/${PKGMANDIR}/man1/as31.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/as31 ${DESTDIR}${PREFIX}/bin/as31
+ ${INSTALL_DATA} ${WRKSRC}/as31.man \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/as31.1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index c7bf1748277..5206429ebd7 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2008/02/05 15:37:18 tnn Exp $
+# $NetBSD: Makefile,v 1.40 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= bmake-20051105
@@ -16,6 +16,8 @@ COMMENT= Portable (autoconf) version of NetBSD 'make' utility
DEPENDS+= bootstrap-mk-files-[0-9]*:../../pkgtools/bootstrap-mk-files
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/bmake
NO_CHECKSUM= yes
NO_MTREE= yes
@@ -46,7 +48,7 @@ do-build:
${SETENV} ${MAKE_ENV} ${SH} ./bmake/boot-strap ${BOOTSTRAP_ARGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/boaconstructor/Makefile b/devel/boaconstructor/Makefile
index f990062eda1..779f315d61f 100644
--- a/devel/boaconstructor/Makefile
+++ b/devel/boaconstructor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/04/17 13:46:20 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
VERSION= 0.4.4
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://boa-constructor.sourceforge.net/
COMMENT= Python IDE
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_OPTS_ZIP= -aqo
PYTHON_VERSIONS_ACCEPTED= 23 24
@@ -29,10 +31,10 @@ do-build:
${SED} ${SEDSUBST} <${FILESDIR}/Boa.sh >${WRKDIR}/Boa
do-install:
- ${MKDIR} ${BOADIR}
- cd ${WRKSRC} && ${PAX} -rw . ${BOADIR}
- ${CHMOD} -R go-w ${BOADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/Boa ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BOADIR}
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${BOADIR}
+ ${CHMOD} -R go-w ${DESTDIR}${BOADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/Boa ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../x11/py-wxWidgets/buildlink3.mk"
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile
index 369557f03fa..56316d31627 100644
--- a/devel/bugzilla/Makefile
+++ b/devel/bugzilla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/12/22 07:22:06 obache Exp $
+# $NetBSD: Makefile,v 1.28 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= bugzilla-2.22.3
@@ -21,6 +21,8 @@ DEPENDS+= p5-MailTools>=1.74:../../mail/p5-MailTools
DEPENDS+= p5-MIME-Base64>=3.01:../../converters/p5-MIME-Base64
DEPENDS+= p5-MIME-tools>=5.406:../../mail/p5-MIME-tools
+PKG_DESTDIR_SUPPORT= destdir
+
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
@@ -66,48 +68,48 @@ post-extract:
${CP} ${FILESDIR}/localconfig ${WRKSRC}
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA_DIR} ${BZDIR}
- ${INSTALL_DATA_DIR} ${BZDIR}/Bugzilla
-
- ${INSTALL_DATA_DIR} ${BZDIR}/js
- ${INSTALL_DATA_DIR} ${BZDIR}/template
- ${INSTALL_DATA_DIR} ${BZDIR}/skins
- ${INSTALL_DATA_DIR} ${BZDIR}/docs
- ${INSTALL_DATA_DIR} ${BZDIR}/docs/html
- ${INSTALL_DATA_DIR} ${BZDIR}/images
-
- ${INSTALL_DATA} ${WRKSRC}/docs/txt/Bugzilla-Guide.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/rel_notes.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADING-pre-2.8 ${DOCDIR}
-
- ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${BZDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.js ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/robots.txt ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/bugzilla.dtd ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/duplicates.xul ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/Bugzilla.pm ${BZDIR}
-
- ${INSTALL_DATA} ${WRKSRC}/bugzilla.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/localconfig ${EGDIR}
-
- ${INSTALL_DATA} ${WRKSRC}/images/*.png ${BZDIR}/images
- ${INSTALL_DATA} ${WRKSRC}/js/*.js ${BZDIR}/js
- ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${BZDIR}/docs/html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/Bugzilla
+
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/js
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/template
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/skins
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/docs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/docs/html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/images
+
+ ${INSTALL_DATA} ${WRKSRC}/docs/txt/Bugzilla-Guide.txt ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/rel_notes.txt ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING-pre-2.8 ${DESTDIR}${DOCDIR}
+
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${DESTDIR}${BZDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.js ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.dtd ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/duplicates.xul ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla.pm ${DESTDIR}${BZDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/localconfig ${DESTDIR}${EGDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/images/*.png ${DESTDIR}${BZDIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/js/*.js ${DESTDIR}${BZDIR}/js
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${DESTDIR}${BZDIR}/docs/html
.for i in ${PAX_DIRS}
- cd ${WRKSRC}/${i} && ${PAX} -rw . ${BZDIR}/${i}
- ${FIND} ${BZDIR}/${i} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${BZDIR}/${i} -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${BZDIR}/${i}
+ cd ${WRKSRC}/${i} && ${PAX} -rw . ${DESTDIR}${BZDIR}/${i}
+ ${FIND} ${DESTDIR}${BZDIR}/${i} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+ ${FIND} ${DESTDIR}${BZDIR}/${i} -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${BZDIR}/${i}
.endfor
- ${CHMOD} ${SHAREMODE} ${BZDIR}/globals.pl
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${BZDIR}/globals.pl
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bugzilla3/Makefile b/devel/bugzilla3/Makefile
index 3ebe07320c5..7dfe7de8106 100644
--- a/devel/bugzilla3/Makefile
+++ b/devel/bugzilla3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/12/22 07:22:07 obache Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= bugzilla-3.0.2
@@ -16,6 +16,8 @@ DEPENDS+= p5-TimeDate>=1.16:../../time/p5-TimeDate
DEPENDS+= p5-Email-Send>=2.185:../../mail/p5-Email-Send
DEPENDS+= p5-Email-MIME-Modifier-[0-9]*:../../mail/p5-Email-MIME-Modifier
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
@@ -62,45 +64,45 @@ post-extract:
${CP} ${FILESDIR}/localconfig ${WRKSRC}
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA_DIR} ${BZDIR}
- ${INSTALL_DATA_DIR} ${BZDIR}/Bugzilla
-
- ${INSTALL_DATA_DIR} ${BZDIR}/js
- ${INSTALL_DATA_DIR} ${BZDIR}/template
- ${INSTALL_DATA_DIR} ${BZDIR}/skins
- ${INSTALL_DATA_DIR} ${BZDIR}/docs
- ${INSTALL_DATA_DIR} ${BZDIR}/docs/html
- ${INSTALL_DATA_DIR} ${BZDIR}/images
-
- ${INSTALL_DATA} ${WRKSRC}/docs/txt/Bugzilla-Guide.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/rel_notes.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADING-pre-2.8 ${DOCDIR}
-
- ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${BZDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.js ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/robots.txt ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/bugzilla.dtd ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/duplicates.xul ${BZDIR}
- ${INSTALL_DATA} ${WRKSRC}/Bugzilla.pm ${BZDIR}
-
- ${INSTALL_DATA} ${WRKSRC}/bugzilla.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/localconfig ${EGDIR}
-
- ${INSTALL_DATA} ${WRKSRC}/images/*.png ${BZDIR}/images
- ${INSTALL_DATA} ${WRKSRC}/js/*.js ${BZDIR}/js
- ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${BZDIR}/docs/html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/Bugzilla
+
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/js
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/template
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/skins
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/docs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/docs/html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BZDIR}/images
+
+ ${INSTALL_DATA} ${WRKSRC}/docs/txt/Bugzilla-Guide.txt ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/rel_notes.txt ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING-pre-2.8 ${DESTDIR}${DOCDIR}
+
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${DESTDIR}${BZDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.js ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.dtd ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/duplicates.xul ${DESTDIR}${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla.pm ${DESTDIR}${BZDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/localconfig ${DESTDIR}${EGDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/images/*.png ${DESTDIR}${BZDIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/js/*.js ${DESTDIR}${BZDIR}/js
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${DESTDIR}${BZDIR}/docs/html
.for i in ${PAX_DIRS}
- cd ${WRKSRC}/${i} && ${PAX} -rw . ${BZDIR}/${i}
- ${FIND} ${BZDIR}/${i} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${BZDIR}/${i} -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${BZDIR}/${i}
+ cd ${WRKSRC}/${i} && ${PAX} -rw . ${DESTDIR}${BZDIR}/${i}
+ ${FIND} ${DESTDIR}${BZDIR}/${i} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+ ${FIND} ${DESTDIR}${BZDIR}/${i} -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${BZDIR}/${i}
.endfor
.include "../../mk/apache.mk"
diff --git a/devel/c4/Makefile b/devel/c4/Makefile
index bdc8f198071..0168e53f7a3 100644
--- a/devel/c4/Makefile
+++ b/devel/c4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/17 20:59:47 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= c4
@@ -11,13 +11,15 @@ COMMENT= CVS-like frontend to Perforce
DEPENDS+= p4-[0-9]*:../../devel/p4
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BUILD_TARGET= c4
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/c4.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/c4.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cfitsio/Makefile b/devel/cfitsio/Makefile
index 1ff2a620c6f..ac0928179c0 100644
--- a/devel/cfitsio/Makefile
+++ b/devel/cfitsio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/06/04 10:41:56 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 17:45:34 jlam Exp $
DISTNAME= cfitsio2500
PKGNAME= cfitsio-2.500
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
COMMENT= FITS (flexible image transport system) file input and output
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
GNU_CONFIGURE= YES
USE_LANGUAGES= c fortran
@@ -25,10 +27,10 @@ post-build:
${CMP} testprog.fit testprog.std
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cfitsio
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cfitsio
cd ${WRKSRC}; \
- ${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${PREFIX}/lib; \
- ${INSTALL_DATA} *.h ${PREFIX}/include; \
- ${INSTALL_DATA} fitsio.doc ${PREFIX}/share/doc/cfitsio
+ ${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \
+ ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include; \
+ ${INSTALL_DATA} fitsio.doc ${DESTDIR}${PREFIX}/share/doc/cfitsio
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cflow-mode/Makefile b/devel/cflow-mode/Makefile
index bde34c55663..f3988632941 100644
--- a/devel/cflow-mode/Makefile
+++ b/devel/cflow-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/07/08 12:35:10 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:34 jlam Exp $
DISTNAME= cflow-1.1
PKGNAME= cflow-mode-1.1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/cflow/
COMMENT= Emacs mode for GNU cflow output
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/emacs.mk"
do-build:
@@ -16,7 +18,10 @@ do-build:
${WRKSRC}/elisp/cflow-mode.el
do-install:
- ${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.el ${EMACS_LISPPREFIX}
- ${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.elc ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.el \
+ ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.elc \
+ ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cgdb/Makefile b/devel/cgdb/Makefile
index 544e858a8c2..aaea048e4d4 100644
--- a/devel/cgdb/Makefile
+++ b/devel/cgdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/21 18:26:21 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cgdb-0.4.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cgdb.sourceforge.net/
COMMENT= Curses-based interface to the GNU Debugger (GDB)
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_NCURSES= # tigetstr()
@@ -18,9 +20,9 @@ USE_GNU_READLINE= # rl_mark and others
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cgdb
- ${INSTALL_PROGRAM} ${WRKSRC}/cgdb/src/cgdb ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cgdb
+ ${INSTALL_PROGRAM} ${WRKSRC}/cgdb/src/cgdb ${DESTDIR]${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR]${PREFIX}/share/doc/cgdb
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR]${PREFIX}/share/doc/cgdb
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
diff --git a/devel/cmake-mode/Makefile b/devel/cmake-mode/Makefile
index 9fd8400523f..db71b1c5ae5 100644
--- a/devel/cmake-mode/Makefile
+++ b/devel/cmake-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cmake-mode
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cmake.org/
COMMENT= Emacs mode for CMake syntax highlighting and indentation
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
@@ -20,7 +22,8 @@ do-build:
cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile cmake-mode.el
do-install:
- ${INSTALL_DATA} ${WRKSRC}/cmake-mode.* ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/cmake-mode.* ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvs2cl/Makefile b/devel/cvs2cl/Makefile
index edf830d28c3..59bd1e6d4c9 100644
--- a/devel/cvs2cl/Makefile
+++ b/devel/cvs2cl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/08/01 21:00:20 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cvs2cl-2.59
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.red-bean.com/cvs2cl/
COMMENT= CVS-log-message-to-ChangeLog conversion script
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_TOOLS+= perl
@@ -17,6 +19,6 @@ USE_TOOLS+= perl
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cvs2cl
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/cvs2cl
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvs2html/Makefile b/devel/cvs2html/Makefile
index 33f0f4eb187..b763b5312bd 100644
--- a/devel/cvs2html/Makefile
+++ b/devel/cvs2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/17 20:59:47 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cvs2html-1.82
@@ -9,6 +9,8 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://cvs.sslug.dk/cvs2html/
COMMENT= Perl script to turn ``cvs log'' output into HTML
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL= cvs2html
@@ -16,6 +18,6 @@ REPLACE_PERL= cvs2html
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cvs2html ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cvs2html ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvs2p4/Makefile b/devel/cvs2p4/Makefile
index b7fa3403507..f541cbaaf0b 100644
--- a/devel/cvs2p4/Makefile
+++ b/devel/cvs2p4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/02/17 20:59:47 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cvs2p4-2.3.3
@@ -16,6 +16,8 @@ DEPENDS+= p4d-[0-9]*:../../devel/p4d
DEPENDS+= rcs-[0-9]*:../../devel/rcs
.endif
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
NO_BUILD= yes
@@ -46,14 +48,15 @@ do-configure:
done
do-install:
- ${INSTALL_DATA} ${WRKSRC}/lib/util.pl ${PREFIX}/${CVS2P4_OUTLIB}
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/util.pl \
+ ${DESTDIR}${PREFIX}/${CVS2P4_OUTLIB}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/${DOCDIR}
- ${INSTALL_DATA_DIR} ${PREFIX}/${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/test/config ${PREFIX}/${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test/config ${DESTDIR}${PREFIX}/${EGDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile
index b744e113cad..602dc780404 100644
--- a/devel/cvsgraph/Makefile
+++ b/devel/cvsgraph/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/04/09 09:34:57 adrianp Exp $
+# $NetBSD: Makefile,v 1.31 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= cvsgraph-1.6.1
@@ -9,6 +9,8 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph/
COMMENT= Graphically represents CVS/RCS branches and file revisions
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= bison lex
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -29,16 +31,18 @@ SUBST_MESSAGE.man= Fixing man page paths.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/${PKGMANDIR}/man5
-
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
-
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${EGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR}
+
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${DESTDIR}${EGDIR}
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsup-bin/Makefile b/devel/cvsup-bin/Makefile
index 37e962ac33e..eadd46cd66d 100644
--- a/devel/cvsup-bin/Makefile
+++ b/devel/cvsup-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/02/28 11:58:48 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
DISTNAME= cvsup-static-16.1.h
PKGNAME= ${DISTNAME:C/static/bin/}
@@ -15,6 +15,8 @@ CONFLICTS= cvsup-[0-9]* cvsup-gui-[0-9]*
EMUL_PLATFORMS= netbsd-i386
EMUL_REQD= netbsd>=1.5
+PKG_DESTDIR_SUPPORT= user-destdir
+
# XXX Remove the following line on the next update; see PR 25255 for details
DIST_SUBDIR= cvsup-i386-1.6
@@ -26,22 +28,24 @@ AUTO_MKDIRS= yes
do-install:
cd ${WRKSRC} && for i in cvpasswd cvsup ; do \
- ${INSTALL_PROGRAM} bin/$$i ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} bin/$$i ${DESTDIR}${PREFIX}/bin; \
done
cd ${WRKSRC} && for i in cvsupd; do \
- ${INSTALL_PROGRAM} sbin/$$i ${PREFIX}/sbin; \
+ ${INSTALL_PROGRAM} sbin/$$i ${DESTDIR}${PREFIX}/sbin; \
done
cd ${WRKSRC} && for i in cvpasswd.1 cvsup.1; do \
- ${INSTALL_MAN} man/man1/$$i ${PREFIX}/${PKGMANDIR}/man1; \
+ ${INSTALL_MAN} man/man1/$$i \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
done
cd ${WRKSRC} && for i in cvsupd.8; do \
- ${INSTALL_MAN} man/man8/$$i ${PREFIX}/${PKGMANDIR}/man8; \
+ ${INSTALL_MAN} man/man8/$$i \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsup
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cvsup
${INSTALL_DATA} ${WRKSRC}/share/doc/cvsup/License \
- ${PREFIX}/share/doc/cvsup
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsup
+ ${DESTDIR}${PREFIX}/share/doc/cvsup
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/cvsup
${INSTALL_DATA} ${FILESDIR}/supfile* \
- ${PREFIX}/share/examples/cvsup
+ ${DESTDIR}${PREFIX}/share/examples/cvsup
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsup-gui-bin/Makefile b/devel/cvsup-gui-bin/Makefile
index 99e75ecf5fa..3fd296d4913 100644
--- a/devel/cvsup-gui-bin/Makefile
+++ b/devel/cvsup-gui-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/08/23 18:20:30 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:34 jlam Exp $
DISTNAME= cvsup-gui-static-16.1.h
PKGNAME= ${DISTNAME:C/static/bin/}
@@ -18,6 +18,8 @@ DEPENDS+= cvsup-bin>=${CVSUP_VERSION}:../../devel/cvsup-bin
EMUL_PLATFORMS= netbsd-i386
EMUL_REQD= netbsd>=1.5
+PKG_DESTDIR_SUPPORT= user-destdir
+
# XXX Remove the following line on next update; see PR 25255 for details
DIST_SUBDIR= cvsup-i386-1.6
@@ -28,6 +30,6 @@ BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvsup ${PREFIX}/bin/cvsup-gui
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvsup ${DESTDIR}${PREFIX}/bin/cvsup-gui
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/device-driver-doc-de/Makefile b/devel/device-driver-doc-de/Makefile
index 5a284a9b74f..0765951c62a 100644
--- a/devel/device-driver-doc-de/Makefile
+++ b/devel/device-driver-doc-de/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/10/04 21:35:58 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 17:45:34 jlam Exp $
DISTNAME= NetBSD-treiber_schreiben
PKGNAME= device-driver-doc-de-20030729
@@ -9,14 +9,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.unixag-kl.fh-kl.de/~jkunz/
COMMENT= Device driver documentation in German
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_TOOLS+= gunzip
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/device-driver-doc-de
- ${INSTALL_DATA} ${WRKSRC}/treiber_schreiben.pdf.gz ${PREFIX}/share/device-driver-doc-de
- ${GUNZIP_CMD} ${PREFIX}/share/device-driver-doc-de/treiber_schreiben.pdf.gz
- ${INSTALL_DATA} ${WRKSRC}/treiber_schreiben.ps.gz ${PREFIX}/share/device-driver-doc-de
- ${GUNZIP_CMD} ${PREFIX}/share/device-driver-doc-de/treiber_schreiben.ps.gz
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/device-driver-doc-de
+ ${INSTALL_DATA} ${WRKSRC}/treiber_schreiben.pdf.gz ${DESTDIR}${PREFIX}/share/device-driver-doc-de
+ ${GUNZIP_CMD} ${DESTDIR}${PREFIX}/share/device-driver-doc-de/treiber_schreiben.pdf.gz
+ ${INSTALL_DATA} ${DESTDIR}${WRKSRC}/treiber_schreiben.ps.gz ${PREFIX}/share/device-driver-doc-de
+ ${GUNZIP_CMD} ${DESTDIR}${PREFIX}/share/device-driver-doc-de/treiber_schreiben.ps.gz
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile
index 061e0630a97..83f8389fc90 100644
--- a/devel/dia2code/Makefile
+++ b/devel/dia2code/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/02/28 11:58:48 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= dia2code-0.8.1
@@ -9,6 +9,8 @@ MAINTAINER= dprice@cs.nmsu.edu
HOMEPAGE= http://dia2code.sourceforge.net/
COMMENT= Small utility used to generate code from a Dia diagram
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
SUBST_CLASSES+= inc
@@ -19,9 +21,11 @@ SUBST_SED.inc= -e 's:INCLUDES =:INCLUDES = -I${PREFIX}/include/libxml2/libxml :
AUTO_MKDIRS= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dia2code/dia2code ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${PREFIX}/${PKGMANDIR}/man1/dia2code.1
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dia2code/README
+ ${INSTALL_PROGRAM} ${WRKSRC}/dia2code/dia2code ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dia2code.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dia2code.1
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/dia2code/README
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
diff --git a/devel/distccmon-gnome/Makefile b/devel/distccmon-gnome/Makefile
index 9cf6e44348c..5697c414849 100644
--- a/devel/distccmon-gnome/Makefile
+++ b/devel/distccmon-gnome/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.15 2007/09/21 13:03:34 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:34 jlam Exp $
PKGNAME= ${DISTNAME:S/-/-gnome-/}
+PKGREVISION= 10
COMMENT= Graphical monitor for distcc, the distributed C/C++ compiler
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../devel/distcc/Makefile.common"
-PKGREVISION= 10
USE_TOOLS+= pkg-config
@@ -17,12 +19,12 @@ BUILD_TARGET= distccmon-gnome
CHECK_PORTABILITY_SKIP+= contrib/redhat/*
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC:Q}/distccmon-gnome ${PREFIX:Q}/bin
- ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/distcc
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/distccmon-gnome ${DESTDIR}${PREFIX:Q}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/distcc
${INSTALL_DATA} ${WRKSRC:Q}/gnome/distccmon-gnome-icon.png \
- ${PREFIX:Q}/share/distcc
+ ${DESTDIR}${PREFIX:Q}/share/distcc
${INSTALL_DATA} ${WRKSRC:Q}/gnome/distccmon-gnome.desktop \
- ${PREFIX:Q}/share/distcc
+ ${DESTDIR}${PREFIX:Q}/share/distcc
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
diff --git a/devel/distccmon-gtk/Makefile b/devel/distccmon-gtk/Makefile
index 0c79ad02e52..70da2849b52 100644
--- a/devel/distccmon-gtk/Makefile
+++ b/devel/distccmon-gtk/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.7 2006/10/24 17:33:59 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 17:45:34 jlam Exp $
PKGNAME= ${DISTNAME:S/-/-gtk-/}
PKGREVISION= 3
COMMENT= Graphical monitor for distcc, the distributed C/C++ compiler
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../devel/distcc/Makefile.common"
CONFIGURE_ARGS+= --with-gtk
@@ -22,12 +24,12 @@ CHECK_PORTABILITY_SKIP+= contrib/redhat/*
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/distccmon-gnome \
- ${PREFIX:Q}/bin/distccmon-gtk
- ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/distcc
+ ${DESTDIR}${PREFIX:Q}/bin/distccmon-gtk
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/distcc
${INSTALL_DATA} ${WRKSRC:Q}/gnome/distccmon-gnome-icon.png \
- ${PREFIX:Q}/share/distcc/distccmon-gtk-icon.png
+ ${DESTDIR}${PREFIX:Q}/share/distcc/distccmon-gtk-icon.png
${INSTALL_DATA} ${WRKSRC:Q}/gnome/distccmon-gnome.desktop \
- ${PREFIX:Q}/share/distcc/distccmon-gtk.desktop
+ ${DESTDIR}${PREFIX:Q}/share/distcc/distccmon-gtk.desktop
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/dmake/Makefile b/devel/dmake/Makefile
index 7a2cbc88c06..40330be78ff 100644
--- a/devel/dmake/Makefile
+++ b/devel/dmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/01/07 09:13:50 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= dmake-v4.1-src-export.all-unknown-all
@@ -12,6 +12,8 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://dmake.wticorp.com/
COMMENT= Portable make supported by many platforms
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= makefile
BUILD_TARGET= linux
WRKSRC= ${WRKDIR}/dmake
@@ -25,9 +27,10 @@ do-configure:
<unix/startup.h.orig >unix/startup.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dmake ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/dmake.tf ${PREFIX}/${PKGMANDIR}/man1/dmake.1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/dmake
- ${CP} -pR ${WRKSRC}/startup ${PREFIX}/share/dmake
+ ${INSTALL_PROGRAM} ${WRKSRC}/dmake ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/dmake.tf \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmake.1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/dmake
+ ${CP} -pR ${WRKSRC}/startup ${DESTDIR}${PREFIX}/share/dmake
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/eclipse/Makefile b/devel/eclipse/Makefile
index 8d6a9a92121..6ac04b931e9 100644
--- a/devel/eclipse/Makefile
+++ b/devel/eclipse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/05/22 22:22:02 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= ${PKGNAME_NOREV}
@@ -16,6 +16,8 @@ LICENSE= eclipse-license
DEPENDS+= apache-ant>=1.4.1:../../devel/apache-ant
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_JVMS_ACCEPTED= sun-jdk15 sun-jdk14
MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME:Q}
@@ -51,10 +53,11 @@ post-build:
${RM} -fr ${WRKDIR}/tmp
do-install:
- cd ${PREFIX} && unzip ${WRKDIR}/result/linux-motif-x86-sdk.zip
+ cd ${DESTDIR}${PREFIX} && \
+ unzip ${WRKDIR}/result/linux-motif-x86-sdk.zip
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/eclipse > \
- ${WRKDIR}/.eclipse
- ${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${PREFIX}/bin/eclipse
+ ${WRKDIR}/.eclipse
+ ${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${DESTDIR}${PREFIX}/bin/eclipse
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/electricfence/Makefile b/devel/electricfence/Makefile
index c2838bbc917..bb24b86be1b 100644
--- a/devel/electricfence/Makefile
+++ b/devel/electricfence/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:19 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:35 jlam Exp $
DISTNAME= ElectricFence-2.1
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.perens.com/FreeSoftware/
COMMENT= Different kind of malloc() debugger
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "mipsel" || ${OPSYS} == "DragonFly"
@@ -20,7 +22,8 @@ CFLAGS+= -g
INSTALLATION_DIRS= lib ${PKGMANDIR}/man3
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libefence.a ${PREFIX}/lib
- ${INSTALL_MAN} ${WRKSRC}/libefence.3 ${PREFIX}/${PKGMANDIR}/man3
+ ${INSTALL_DATA} ${WRKSRC}/libefence.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_MAN} ${WRKSRC}/libefence.3 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/elib/Makefile.common b/devel/elib/Makefile.common
index 7d0188a6664..5fd9f4e9e76 100644
--- a/devel/elib/Makefile.common
+++ b/devel/elib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2007/07/05 18:20:07 jnemeth Exp $
+# $NetBSD: Makefile.common,v 1.5 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= elib-1.0
@@ -8,6 +8,8 @@ MASTER_SITES= http://jdee.sunsite.dk/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Library of utility functions for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/emacs.mk"
PKGSRC_MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
@@ -29,9 +31,9 @@ SRCS= stack-f.el stack-m.el queue-f.el queue-m.el elib-node.el \
dll-debug.el
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/elib
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/elib
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
- ${EMACS_LISPPREFIX}/elib
- cd ${WRKSRC} && ${INSTALL_DATA} elib.info* ${EMACS_INFOPREFIX}
+ ${DESTDIR}${EMACS_LISPPREFIX}/elib
+ cd ${WRKSRC} && ${INSTALL_DATA} elib.info* ${DESTDIR}${EMACS_INFOPREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/emacs-ilisp/Makefile b/devel/emacs-ilisp/Makefile
index fa545b801f5..1f2f94a9c76 100644
--- a/devel/emacs-ilisp/Makefile
+++ b/devel/emacs-ilisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/06/11 14:07:28 markd Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= ilisp-20021222
@@ -11,26 +11,30 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/ilisp/
COMMENT= Emacs interface to embedded Lisp process
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_ENV+= EMACS=${EMACS_BIN:Q}
BUILD_TARGET= compile
SITELISP= ${EMACS_LISPPREFIX}/ilisp
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/emacs-ilisp
- ${INSTALL_DATA} ${WRKSRC}/INSTALLATION ${PREFIX}/share/doc/emacs-ilisp
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/emacs-ilisp
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/emacs-ilisp
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
+ ${INSTALL_DATA} ${WRKSRC}/INSTALLATION \
+ ${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/emacs-ilisp
${INSTALL_DATA} ${WRKSRC}/ilisp.emacs \
- ${PREFIX}/share/examples/emacs-ilisp
- ${INSTALL_DATA_DIR} ${SITELISP}
- ${INSTALL_DATA} ${WRKSRC}/*.el ${SITELISP}
- ${INSTALL_DATA} ${WRKSRC}/*.elc ${SITELISP}
- ${INSTALL_DATA} ${WRKSRC}/*.lisp ${SITELISP}
- ${INSTALL_DATA} ${WRKSRC}/*.scm ${SITELISP}
- ${INSTALL_DATA_DIR} ${SITELISP}/extra
- ${INSTALL_DATA} ${WRKSRC}/extra/*.el ${SITELISP}/extra
- ${INSTALL_DATA} ${WRKSRC}/extra/*.elc ${SITELISP}/extra
+ ${DESTDIR}${PREFIX}/share/examples/emacs-ilisp
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SITELISP}
+ ${INSTALL_DATA} ${WRKSRC}/*.el ${DESTDIR}${SITELISP}
+ ${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${SITELISP}
+ ${INSTALL_DATA} ${WRKSRC}/*.lisp ${DESTDIR}${SITELISP}
+ ${INSTALL_DATA} ${WRKSRC}/*.scm ${DESTDIR}${SITELISP}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SITELISP}/extra
+ ${INSTALL_DATA} ${WRKSRC}/extra/*.el ${DESTDIR}${SITELISP}/extra
+ ${INSTALL_DATA} ${WRKSRC}/extra/*.elc ${DESTDIR}${SITELISP}/extra
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/etrace/Makefile b/devel/etrace/Makefile
index 621da61cca8..fc3332ca488 100644
--- a/devel/etrace/Makefile
+++ b/devel/etrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= etrace-2.1
@@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://ndevilla.free.fr/etrace/
COMMENT= Function call tracing
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl
NO_BUILD= yes
@@ -18,18 +20,20 @@ DOCDIR= ${PREFIX}/share/doc/etrace
EXAMPLEDIR= ${PREFIX}/share/examples/etrace
BINDIR= ${PREFIX}/bin
+INSTALLATION_DIRS= bin
+
REPLACE_PERL= src/etrace.pl
# python script uses /usr/bin/env; let it slide pending wondering if
# we really want to depend on python and use a pyNN- prefix.
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${BINDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${BINDIR}
- ${INSTALL_DATA_DIR} ${SHAREDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${SHAREDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
- ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLEDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${DESTDIR}${BINDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${DESTDIR}${BINDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${DESTDIR}${SHAREDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example/* ${DESTDIR}${EXAMPLEDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile
index e10f4adcacc..2ebf1a0730b 100644
--- a/devel/fastdep/Makefile
+++ b/devel/fastdep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/07/22 04:46:15 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= fastdep-0.16
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.irule.be/bvh/c++/fastdep/
COMMENT= Dependency generator for C/C++ files
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
@@ -20,6 +22,6 @@ post-extract:
${RM} -f ${WRKSRC}/*.orig
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin/fastdep
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${DESTDIR}${PREFIX}/bin/fastdep
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/florist/Makefile b/devel/florist/Makefile
index 2959d380d9a..392c02c01c2 100644
--- a/devel/florist/Makefile
+++ b/devel/florist/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2006/10/04 21:35:58 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= florist-3.15p-src
PKGNAME= florist-3.15p
-PKGREVISION= 2
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cs.fsu.edu/~baker/ftp/
EXTRACT_SUFX= .tgz
@@ -12,6 +12,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.cs.fsu.edu/~baker/florist.html
COMMENT= FSU implementation of POSIX.5 (Ada binding)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
@@ -38,11 +40,12 @@ pre-configure:
cd ${WRKSRC}; autoconf
do-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/lib/florist
- @${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/florist
+ ${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
${WRKSRC}/floristlib/*.ali \
- ${PREFIX}/lib/florist
- @${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib
+ ${DESTDIR}${PREFIX}/lib/florist
+ ${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a \
+ ${DESTDIR}${PREFIX}/lib
.if !empty(USE_GCC_34:M[Yy][Ee][Ss])
. include "../../lang/gcc34/buildlink3.mk"
diff --git a/devel/fromcvs/Makefile b/devel/fromcvs/Makefile
index ae62134d995..c73d71b941c 100644
--- a/devel/fromcvs/Makefile
+++ b/devel/fromcvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/02/16 13:23:09 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:35 jlam Exp $
DISTNAME= d2883bf3ced6
# Last part of PKGNAME is changeset number
@@ -17,6 +17,8 @@ DEPENDS+= ${RUBY_PKGPREFIX}-sqlite3>=1.2.1:../../databases/ruby-sqlite3
LICENSE= corecode-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/fromcvs-${DISTNAME}
DIST_SUBDIR= fromcvs
@@ -26,6 +28,8 @@ SUBST_MESSAGE.python+= Fixing path to Python interpreter.
SUBST_SED.python+= -e "s!'python'!'${PYTHONBIN}'!"
SUBST_STAGE.python+= pre-build
+INSTALLATION_DIRS= bin
+
do-build:
${ECHO} "#!/bin/sh" > ${WRKSRC}/togit
${ECHO} "${RUBY} -I${PREFIX}/share/fromcvs ${PREFIX}/share/fromcvs/togit.rb \"\$$@\"" >> ${WRKSRC}/togit
@@ -33,16 +37,16 @@ do-build:
${ECHO} "${RUBY} -I${PREFIX}/share/fromcvs ${PREFIX}/share/fromcvs/tohg.rb \"\$$@\"" >> ${WRKSRC}/tohg
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fromcvs
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fromcvs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fromcvs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fromcvs/commitset
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fromcvs
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fromcvs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/fromcvs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/fromcvs/commitset
${INSTALL_DATA} ${WRKSRC}/commitset/* \
- ${PREFIX}/share/fromcvs/commitset
- ${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/share/fromcvs
- ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/share/fromcvs
- ${INSTALL_SCRIPT} ${WRKSRC}/togit ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/tohg ${PREFIX}/bin
+ ${DESTDIR}${PREFIX}/share/fromcvs/commitset
+ ${INSTALL_DATA} ${WRKSRC}/*.rb ${DESTDIR}${PREFIX}/share/fromcvs
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${DESTDIR}${PREFIX}/share/fromcvs
+ ${INSTALL_SCRIPT} ${WRKSRC}/togit ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tohg ${DESTDIR}${PREFIX}/bin
.include "../../lang/ruby/modules.mk"
.include "../../lang/python/application.mk"
diff --git a/devel/gentle/Makefile b/devel/gentle/Makefile
index 990b52e1676..b05bded01d0 100644
--- a/devel/gentle/Makefile
+++ b/devel/gentle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/10/04 21:35:58 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= gentle-97
@@ -9,6 +9,8 @@ MAINTAINER= MarkoSchuetz@web.de
HOMEPAGE= http://gentle.compilertools.net/
COMMENT= Gentle Compiler Construction System
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
INSTALLATION_DIRS= bin lib
@@ -18,25 +20,29 @@ do-build:
(cd ${WRKSRC}/reflex ; LIBTOOL=${LOCALBASE}/bin/libtool ./build)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gentle/gentle ${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/gentle/grts.o ${PREFIX}/lib
- ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libgentle.la ${PREFIX}/lib
- ${LIBTOOL} --mode=finish ${PREFIX}/lib
- ${INSTALL_PROGRAM} ${WRKSRC}/reflex/reflex ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/gentle/html
+ ${INSTALL_PROGRAM} ${WRKSRC}/gentle/gentle ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_LIB} ${WRKSRC}/gentle/grts.o ${DESTDIR}${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libgentle.la \
+ ${DESTDIR}${PREFIX}/lib
+ ${LIBTOOL} --mode=finish ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/reflex/reflex ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/gentle/html
(for i in ${WRKSRC}/html/* ; do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/html/gentle/html ; \
+ ${INSTALL_DATA} $$i \
+ ${DESTDIR}${PREFIX}/share/doc/html/gentle/html ; \
done)
- ${INSTALL_DATA} ${WRKSRC}/BOOK.html ${PREFIX}/share/doc/html/gentle
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gentle
- ${INSTALL_DATA} ${WRKSRC}/BOOK.ps ${PREFIX}/share/doc/gentle
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gentle
+ ${INSTALL_DATA} ${WRKSRC}/BOOK.html \
+ ${DESTDIR}${PREFIX}/share/doc/html/gentle
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gentle
+ ${INSTALL_DATA} ${WRKSRC}/BOOK.ps ${DESTDIR}${PREFIX}/share/doc/gentle
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gentle
(for i in calc flat micro nested polish virtual ; do \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gentle/$$i ; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gentle/$$i ; \
for j in ${WRKSRC}/examples/$$i/* ; do \
- ${INSTALL_DATA} $$j ${PREFIX}/share/examples/gentle/$$i ; \
+ ${INSTALL_DATA} $$j ${DESTDIR}${PREFIX}/share/examples/gentle/$$i ; \
done ; \
done)
- ${INSTALL_DATA} ${WRKSRC}/examples/README ${PREFIX}/share/examples/gentle
+ ${INSTALL_DATA} ${WRKSRC}/examples/README \
+ ${DESTDIR}${PREFIX}/share/examples/gentle
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gettext-m4/Makefile b/devel/gettext-m4/Makefile
index 0b58ce181a4..e523c6d1680 100644
--- a/devel/gettext-m4/Makefile
+++ b/devel/gettext-m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/07/26 06:53:02 adam Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:35 jlam Exp $
DISTNAME= gettext-0.14.6
PKGNAME= gettext-m4-0.14.6
@@ -13,6 +13,7 @@ COMMENT= Autoconf/automake m4 files for GNU NLS library
CONFLICTS= gettext<=0.10.35nb1
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
NO_CONFIGURE= yes
@@ -20,7 +21,9 @@ NO_CONFIGURE= yes
INSTALLATION_DIRS+= share/aclocal
do-install:
- ${INSTALL_DATA} ${WRKSRC:Q}/gettext-runtime/m4/*.m4 ${PREFIX}/share/aclocal
- ${INSTALL_DATA} ${WRKSRC:Q}/autoconf-lib-link/m4/*.m4 ${PREFIX}/share/aclocal
+ ${INSTALL_DATA} ${WRKSRC:Q}/gettext-runtime/m4/*.m4 \
+ ${DESTDIR}${PREFIX}/share/aclocal
+ ${INSTALL_DATA} ${WRKSRC:Q}/autoconf-lib-link/m4/*.m4 \
+ ${DESTDIR}${PREFIX}/share/aclocal
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gflib/Makefile b/devel/gflib/Makefile
index 914c45f0881..62f36f6a241 100644
--- a/devel/gflib/Makefile
+++ b/devel/gflib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/04/15 21:35:06 agc Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= gflib
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.utk.edu/~plank/plank/gdlib/
COMMENT= Reed Solomon and Galois Field error correction library
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= makefile
BUILD_TARGET= w16
@@ -18,7 +20,8 @@ BUILD_TARGET= w16
do-install:
for f in gf_div gf_mult parity_test rs_decode_file \
rs_encode_file xor; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/$$f; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/bin/$$f; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/haskell-mode/Makefile b/devel/haskell-mode/Makefile
index 24e22a5f6b5..adaa8ce6589 100644
--- a/devel/haskell-mode/Makefile
+++ b/devel/haskell-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/04 21:29:15 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:35 jlam Exp $
DISTNAME= haskell-mode-1.44
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.haskell.org/haskell-mode/
COMMENT= Haskell mode for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
HTML= .emacs fontlock.hs indent.hs index.html installation-guide.html
SRCS= haskell-decl-scan.el haskell-doc.el haskell-font-lock.el \
haskell-ghci.el haskell-hugs.el haskell-indent.el \
@@ -22,12 +24,12 @@ do-build:
done
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/haskell-mode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
- ${EMACS_LISPPREFIX}/haskell-mode
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/haskell-mode
+ ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/haskell-mode
cd ${WRKSRC} && ${INSTALL_DATA} ${HTML} \
- ${PREFIX}/share/doc/html/haskell-mode
+ ${DESTDIR}${PREFIX}/share/doc/html/haskell-mode
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/idiff/Makefile b/devel/idiff/Makefile
index 2ac1f8c78e6..0ec7691997a 100644
--- a/devel/idiff/Makefile
+++ b/devel/idiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/03/04 21:29:16 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= idiff-1.0
@@ -9,9 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.darwinsys.com/freeware/
COMMENT= Interactive front-end to diff(1)
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/idiff ${PREFIX}/bin/idiff
+ ${INSTALL_PROGRAM} ${WRKSRC}/idiff ${DESTDIR}${PREFIX}/bin/idiff
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/its4/Makefile b/devel/its4/Makefile
index 5b209ed56f0..6230f248fe3 100644
--- a/devel/its4/Makefile
+++ b/devel/its4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/02/22 19:26:21 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= its4-1.1.1
@@ -12,6 +12,8 @@ COMMENT= Static C/C++ code scanner for potential security problems
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/its4
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
@@ -21,10 +23,11 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
USE_LANGUAGES= c++
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/its4 ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/docs/its4.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/its4
+ ${INSTALL_PROGRAM} ${WRKSRC}/its4 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/docs/its4.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/its4
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE TODO vulns.i4d \
- ${PREFIX}/share/its4
+ ${DESTDIR}${PREFIX}/share/its4
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/jam/Makefile b/devel/jam/Makefile
index ac9b5e6c22a..83e201d78a4 100644
--- a/devel/jam/Makefile
+++ b/devel/jam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/03/24 06:20:30 schmonz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= jam-2.5
@@ -13,6 +13,8 @@ COMMENT= Program construction tool, like make(1)
CONFLICTS= acunia-jam-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}nb1
WRKSRC= ${WRKDIR}
USE_TOOLS+= yacc
@@ -24,17 +26,20 @@ INSTALLATION_DIRS= bin
do-install:
for f in jam mkjambase; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${f} ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${f} \
+ ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
for f in Porting README RELNOTES; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f} \
+ ${DESTDIR}${PREFIX}/${DOCDIR}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR}
for f in *.html; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${HTMLDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f} \
+ ${DESTDIR}${PREFIX}/${HTMLDIR}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/javacc/Makefile b/devel/javacc/Makefile
index 0dfd463ac33..7a05914e6cf 100644
--- a/devel/javacc/Makefile
+++ b/devel/javacc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/05/11 03:50:02 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
DISTNAME= javacc-4.0
CATEGORIES= devel
@@ -8,6 +8,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://javacc.dev.java.net/
COMMENT= Java Compiler Compiler [tm]
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_JAVA= run
USE_JAVA2= yes
@@ -24,18 +26,18 @@ INSTALLATION_DIRS+= bin
do-install:
.for f in javacc jjdoc jjtree
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
- ${INSTALL_DATA} ${WRKSRC}/bin/lib/javacc.jar ${PREFIX}/lib/java
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/javacc
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/javacc
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java
+ ${INSTALL_DATA} ${WRKSRC}/bin/lib/javacc.jar ${DESTDIR}${PREFIX}/lib/java
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/javacc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/javacc
- ${CP} -R ${WRKSRC}/examples/* ${PREFIX}/share/examples/javacc
- ${FIND} ${PREFIX}/share/examples/javacc -type d -print \
+ ${CP} -R ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/javacc
+ ${FIND} ${DESTDIR}${PREFIX}/share/examples/javacc -type d -print \
| ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${FIND} ${PREFIX}/share/examples/javacc -type f -print \
+ ${FIND} ${DESTDIR}${PREFIX}/share/examples/javacc -type f -print \
| ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/javadeps/Makefile b/devel/javadeps/Makefile
index 871d0a097f2..571aca39f32 100644
--- a/devel/javadeps/Makefile
+++ b/devel/javadeps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/16 22:46:30 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= javadeps-1.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.vet.com.au/java/javadeps/
COMMENT= Automatic dependency tracking for Java
+PKG_DESTDIR_SUPPORT= destdir
+
WRKSRC= ${WRKDIR}/JavaDeps-1.1
USE_JAVA= run
@@ -25,12 +27,13 @@ do-build:
done
do-install:
- ${CP} ${WRKSRC}/jdeps ${PREFIX}/bin
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/jdeps
- ${CP} ${WRKSRC}/jdeps.jar ${PREFIX}/share/jdeps/jdeps.jar
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/jdeps
- cd ${WRKSRC}/doc && ${PAX} -rw -pe . ${PREFIX}/share/doc/jdeps
- ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/jdeps ${PREFIX}/share/doc/jdeps
+ ${CP} ${WRKSRC}/jdeps ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/share/jdeps
+ ${CP} ${WRKSRC}/jdeps.jar ${DESTDIR}${PREFIX}/share/jdeps/jdeps.jar
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/share/doc/jdeps
+ cd ${WRKSRC}/doc && ${PAX} -rw -pe . ${DESTDIR}${PREFIX}/share/doc/jdeps
+ ${CHOWN} -R ${BINOWN}:${BINGRP} \
+ ${DESTDIR}${PREFIX}/share/jdeps ${PREFIX}/share/doc/jdeps
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/jflex/Makefile b/devel/jflex/Makefile
index a4b38d12d5f..0d2b14f169b 100644
--- a/devel/jflex/Makefile
+++ b/devel/jflex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/22 08:24:44 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= jflex-1.4.1
@@ -9,6 +9,8 @@ MAINTAINER= rillig@NetBSD.org
HOMEPAGE= http://jflex.de/
COMMENT= Fast lexical analyzer generator for Java
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= # none
USE_JAVA= run
@@ -18,10 +20,11 @@ do-build:
printf "#! ${SH}\\nexec ${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/lib/java/JFlex.jar \"\$$@\"\\n" > ${WRKSRC}/jflex.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/jflex.sh ${PREFIX}/bin/jflex
- ${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${PREFIX}/lib/java/
- cd ${WRKSRC}/doc && pax -wr -pm * ${PREFIX}/share/doc/jflex
- cd ${WRKSRC}/examples && pax -wr -pm * ${PREFIX}/share/examples/jflex
+ ${INSTALL_SCRIPT} ${WRKSRC}/jflex.sh ${DESTDIR}${PREFIX}/bin/jflex
+ ${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${DESTDIR}${PREFIX}/lib/java/
+ cd ${WRKSRC}/doc && pax -wr -pm * ${DESTDIR}${PREFIX}/share/doc/jflex
+ cd ${WRKSRC}/examples && pax -wr -pm * \
+ ${DESTDIR}${PREFIX}/share/examples/jflex
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/jgrasp/Makefile b/devel/jgrasp/Makefile
index 1d38d566473..c9d360ea0aa 100644
--- a/devel/jgrasp/Makefile
+++ b/devel/jgrasp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/02/21 04:19:24 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= jgrasp170
@@ -17,6 +17,8 @@ USE_JAVA= run
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
INSTALLATION_DIRS= bin
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
@@ -38,20 +40,20 @@ pre-install:
${RM} -f ${WRKSRC}/src/linux_exec.c.orig
do-install:
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/bin
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/jbin
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/bin
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/jbin
cd ${WRKSRC} && ${PAX} -s ,^./.*bin/.*,, \
- -rw . ${PREFIX}/${PKGNAME_NOREV}/
+ -rw . ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/
${INSTALL_DATA} ${WRKSRC}/jbin/JGRASP__829J_6h.class \
- ${PREFIX}/${PKGNAME_NOREV}/jbin/
+ ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/jbin/
${INSTALL_PROGRAM} ${WRKSRC}/jbin/${LOWER_OPSYS}_run \
- ${PREFIX}/${PKGNAME_NOREV}/jbin/
+ ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/jbin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/${LOWER_OPSYS}/jgrasp \
- ${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}/
+ ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}/
${LN} -s ${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}/jgrasp \
- ${PREFIX}/bin/jgrasp
+ ${DESTDIR}${PREFIX}/bin/jgrasp
BUILDLINK_DEPMETHOD.libXt?= build
diff --git a/devel/lcc/Makefile b/devel/lcc/Makefile
index 0a7d175dcfc..75c2162d3d0 100644
--- a/devel/lcc/Makefile
+++ b/devel/lcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/12/02 08:32:24 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:35 jlam Exp $
DISTNAME= lcc-4.1
CATEGORIES= devel lang
@@ -15,6 +15,8 @@ MAKE_ENV+= BUILDDIR=${WRKSRC}/bin HOSTFILE=etc/netbsd.c
# seems to emit i386 assembler
ONLY_FOR_PLATFORM= *-*-i386
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
BUILDDIR= ${WRKSRC}/src
@@ -34,18 +36,20 @@ pre-build:
-e 's|@PREFIX@|${PREFIX}|g' < netbsd.c.bak > netbsd.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bprint ${PREFIX}/libexec
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/cpp ${PREFIX}/libexec
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/lburg ${PREFIX}/libexec
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/lcc ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/rcc ${PREFIX}/libexec
- ${INSTALL_DATA_DIR} ${PREFIX}/share/lcc/include
- ${INSTALL_DATA_DIR} ${PREFIX}/share/lcc/include/sys
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/bprint ${DESTDIR}${PREFIX}/libexec
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/cpp ${DESTDIR}${PREFIX}/libexec
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lburg ${DESTDIR}${PREFIX}/libexec
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lcc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/rcc ${DESTDIR}${PREFIX}/libexec
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/lcc/include
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/lcc/include/sys
${INSTALL_DATA} ${WRKSRC}/include/x86/linux/stdarg.h \
- ${PREFIX}/share/lcc/include
+ ${DESTDIR}${PREFIX}/share/lcc/include
${INSTALL_DATA} ${FILESDIR}/cdefs.h \
- ${PREFIX}/share/lcc/include/sys
- ${INSTALL_MAN} ${WRKSRC}/doc/lcc.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/bprint.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${DESTDIR}${PREFIX}/share/lcc/include/sys
+ ${INSTALL_MAN} ${WRKSRC}/doc/lcc.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/bprint.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ldapsdk/Makefile b/devel/ldapsdk/Makefile
index 56b851547ef..bb42c982736 100644
--- a/devel/ldapsdk/Makefile
+++ b/devel/ldapsdk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/02/28 11:58:48 rillig Exp $
+# $NetBSD: Makefile,v 1.29 2008/03/03 17:45:35 jlam Exp $
DISTNAME= ldapsdk_12311998
PKGNAME= ${DISTNAME:S/_/-/}
@@ -12,6 +12,8 @@ COMMENT= LDAP C-SDK from the Mozilla project
CONFLICTS+= openldap-client-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/mozilla
USE_TOOLS+= gmake perl
@@ -35,22 +37,22 @@ do-configure:
do-install:
cd ${WRKSRC}/dist/public/ldap \
- && ${INSTALL_DATA} disptmpl.h lber.h ldap.h srchpref.h ${PREFIX}/include
+ && ${INSTALL_DATA} disptmpl.h lber.h ldap.h srchpref.h ${DESTDIR}${PREFIX}/include
#
# XXX kludge
#
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/lib/libldap.a ${PREFIX}/lib/libldap.a
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/lib/liblber.a ${PREFIX}/lib/liblber.a
- ${INSTALL_LIB} ${WRKSRC}/dist/${OPSYS}*/bin/libldap.so.1.0 ${PREFIX}/lib/libldap.so.1.0
- ${LN} -sf libldap.so.1.0 ${PREFIX}/lib/libldap.so.1
- ${LN} -sf libldap.so.1.0 ${PREFIX}/lib/libldap.so
- ${INSTALL_LIB} ${WRKSRC}/dist/${OPSYS}*/bin/liblber.so.1.0 ${PREFIX}/lib/liblber.so.1.0
- ${LN} -sf liblber.so.1.0 ${PREFIX}/lib/liblber.so.1
- ${LN} -sf liblber.so.1.0 ${PREFIX}/lib/liblber.so
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapfilter.conf ${EGDIR}/ldapfilter.conf
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapsearchprefs.conf ${EGDIR}/ldapsearchprefs.conf
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapfriendly ${EGDIR}/ldapfriendly
- ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldaptemplates.conf ${EGDIR}/ldaptemplates.conf
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/lib/libldap.a ${DESTDIR}${PREFIX}/lib/libldap.a
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/lib/liblber.a ${DESTDIR}${PREFIX}/lib/liblber.a
+ ${INSTALL_LIB} ${WRKSRC}/dist/${OPSYS}*/bin/libldap.so.1.0 ${DESTDIR}${PREFIX}/lib/libldap.so.1.0
+ ${LN} -sf libldap.so.1.0 ${DESTDIR}${PREFIX}/lib/libldap.so.1
+ ${LN} -sf libldap.so.1.0 ${DESTDIR}${PREFIX}/lib/libldap.so
+ ${INSTALL_LIB} ${WRKSRC}/dist/${OPSYS}*/bin/liblber.so.1.0 ${DESTDIR}${PREFIX}/lib/liblber.so.1.0
+ ${LN} -sf liblber.so.1.0 ${DESTDIR}${PREFIX}/lib/liblber.so.1
+ ${LN} -sf liblber.so.1.0 ${DESTDIR}${PREFIX}/lib/liblber.so
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapfilter.conf ${DESTDIR}${EGDIR}/ldapfilter.conf
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapsearchprefs.conf ${DESTDIR}${EGDIR}/ldapsearchprefs.conf
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldapfriendly ${DESTDIR}${EGDIR}/ldapfriendly
+ ${INSTALL_DATA} ${WRKSRC}/dist/${OPSYS}*/etc/ldaptemplates.conf ${DESTDIR}${EGDIR}/ldaptemplates.conf
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libetm/Makefile b/devel/libetm/Makefile
index 4446754775c..dbfa9ac30ca 100644
--- a/devel/libetm/Makefile
+++ b/devel/libetm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= ETM-1.09
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Exception and termination manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/etm
INSTALLATION_DIRS= include lib
@@ -21,10 +23,10 @@ post-patch:
-e 's|/usr/local|${PREFIX}|'
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libetm.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/etm.h ${PREFIX}/include
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libetm
+ ${INSTALL_DATA} ${WRKSRC}/libetm.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/etm.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libetm
${NROFF} -ms ${WRKSRC}/etm.ms \
- >${PREFIX}/share/doc/libetm/etm.txt
+ >${DESTDIR}${PREFIX}/share/doc/libetm/etm.txt
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index fb0fe847542..c375262547e 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/02/22 01:27:55 tnn Exp $
+# $NetBSD: Makefile,v 1.29 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= libgetopt-1.4.3
@@ -9,6 +9,8 @@ DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Library for handling --long options
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CHECKSUM= YES
USE_LIBTOOL= YES
WRKSRC= ${WRKDIR}/libgetopt
@@ -31,8 +33,10 @@ do-build:
cd ${WRKSRC} && ${LIBTOOL} --mode=link ${LINK.c} -o libgetopt.la getopt_long.lo -version-info 5:1:4 -rpath ${PREFIX}/lib
do-install:
- ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libgetopt.la ${PREFIX}/lib/
- ${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include/
- ${INSTALL_MAN} ${WRKSRC}/getopt_long.3 ${PREFIX}/${PKGMANDIR}/man3/
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libgetopt.la \
+ ${DESTDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/getopt.h ${DESTDIR}${PREFIX}/include/
+ ${INSTALL_MAN} ${WRKSRC}/getopt_long.3 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libhfs/Makefile b/devel/libhfs/Makefile
index 92334b111d5..4861f95f47b 100644
--- a/devel/libhfs/Makefile
+++ b/devel/libhfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/12/15 22:14:15 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= hfsutils-3.2.6
@@ -11,14 +11,14 @@ MAINTAINER= wrstuden@NetBSD.org
HOMEPAGE= http://www.mars.org/home/rob/proj/hfs/
COMMENT= Library for accessing HFS (Apple Macintosh) volumes
-GNU_CONFIGURE= yes
-
-CPPFLAGS= -I.
+PKG_DESTDIR_SUPPORT= user-destdir
+GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-
BUILD_TARGET= all_lib
+CPPFLAGS= -I.
+
INSTALLATION_DIRS= lib
pre-patch:
@@ -28,15 +28,18 @@ pre-patch:
done
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/include/libhfs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/libhfs
cd ${WRKSRC}/libhfs; \
- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} libhfs.la ${PREFIX}/lib; \
- ${INSTALL_DATA} apple.h data.h hfs.h libhfs.h ${PREFIX}/include/libhfs
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} libhfs.la \
+ ${DESTDIR}${PREFIX}/lib; \
+ ${INSTALL_DATA} apple.h data.h hfs.h libhfs.h \
+ ${DESTDIR}${PREFIX}/include/libhfs
cd ${WRKSRC}/librsrc; \
- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} librsrc.la ${PREFIX}/lib; \
- ${INSTALL_DATA} librsrc.h rsrc.h ${PREFIX}/include/libhfs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libhfs
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} librsrc.la \
+ ${DESTDIR}${PREFIX}/lib; \
+ ${INSTALL_DATA} librsrc.h rsrc.h ${DESTDIR}${PREFIX}/include/libhfs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libhfs
cd ${WRKSRC}/doc; ${INSTALL_DATA} charset.txt libhfs.txt librsrc.txt \
- ${PREFIX}/share/doc/libhfs
+ ${DESTDIR}${PREFIX}/share/doc/libhfs
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libiberty/Makefile b/devel/libiberty/Makefile
index b837abc0518..7d27a6ccc99 100644
--- a/devel/libiberty/Makefile
+++ b/devel/libiberty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/02/05 23:08:45 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= libiberty-1.0
@@ -10,6 +10,7 @@ MAINTAINER= john@johnrshannon.com
COMMENT= This package provides the GNU liberty library of "missing" functions
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -20,8 +21,11 @@ post-extract:
${CP} -f ${WRKSRC}/include/ansidecl.h ${WRKSRC}/include/libiberty_decl.h
do-install:
- ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a ${PREFIX}/lib/
- ${INSTALL_DATA} ${WRKSRC}/include/libiberty_decl.h ${PREFIX}/include/
- ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h ${PREFIX}/include/
+ ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a \
+ ${DESTDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/include/libiberty_decl.h \
+ ${DESTDIR}${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h \
+ ${DESTDIR}${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libmemmgr/Makefile b/devel/libmemmgr/Makefile
index f6207a28382..e99b167e0c7 100644
--- a/devel/libmemmgr/Makefile
+++ b/devel/libmemmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= MemMgr-1.04
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Simple memory manager library
+PKG_DESTDIR_SUPPORT= user-destir
+
WRKSRC= ${WRKDIR}/memmgr-1.04
INSTALLATION_DIRS= include lib
@@ -19,11 +21,11 @@ post-patch:
-e 's|/usr/local|${PREFIX}|'
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libmemmgr.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/memmgr.h ${PREFIX}/include
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libmemmgr
+ ${INSTALL_DATA} ${WRKSRC}/libmemmgr.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/memmgr.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libmemmgr
groff -Tascii -ms ${WRKSRC}/memmgr.ms \
- >${PREFIX}/share/doc/libmemmgr/memmgr.txt
+ >${DESTDIR}${PREFIX}/share/doc/libmemmgr/memmgr.txt
.include "../../devel/libetm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libportlib/Makefile b/devel/libportlib/Makefile
index 41475dd9332..3e450212f9d 100644
--- a/devel/libportlib/Makefile
+++ b/devel/libportlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= portlib-1.01
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Portable file locking and directory reading
+PKG_DESTDIR_SUPPORT= user-destir
+
WRKSRC= ${WRKDIR}/portlib-1.01
INSTALLATION_DIRS= include lib
@@ -19,7 +21,7 @@ post-patch:
-e 's|/usr/local|${PREFIX}|'
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libport.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/portlib.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/libport.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/portlib.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libtai/Makefile b/devel/libtai/Makefile
index 5670d4454dd..c1030b96a2e 100644
--- a/devel/libtai/Makefile
+++ b/devel/libtai/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/15 05:30:45 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= libtai-0.60
@@ -11,6 +11,8 @@ COMMENT= Library for storing and manipulating dates and times
DJB_RESTRICTED= NO
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= nroff
EGDIR= share/examples/${PKGBASE}
@@ -22,22 +24,22 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3
do-install:
cd ${WRKSRC}; \
for f in *.3; do \
- ${INSTALL_MAN} $${f} ${PREFIX}/${PKGMANDIR}/man3; \
+ ${INSTALL_MAN} $${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3; \
done; \
for f in *.0; do \
- ${INSTALL_MAN} $${f} ${PREFIX}/${PKGMANDIR}/cat3; \
+ ${INSTALL_MAN} $${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat3; \
done; \
for f in easter nowutc leapsecs yearcal; do \
- ${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} $${f} ${DESTDIR}${PREFIX}/bin; \
done; \
for f in *.h; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/include; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/include; \
done; \
for f in libtai.a; do \
- ${INSTALL_LIB} $${f} ${PREFIX}/lib; \
+ ${INSTALL_LIB} $${f} ${DESTDIR}${PREFIX}/lib; \
done; \
for f in leapsecs.dat leapsecs.txt; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/${EGDIR}; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${EGDIR}; \
done; \
.include "../../mk/djbware.mk"
diff --git a/devel/libts/Makefile b/devel/libts/Makefile
index 1fd3d52fc6f..27919e85261 100644
--- a/devel/libts/Makefile
+++ b/devel/libts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= TS-1.08
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Library of simple token-scanning routines
+PKG_DESTDIR_SUPORT= user-destdir
+
WRKSRC= ${WRKDIR}/tokenscan
INSTALLATION_DIRS= include lib
USE_TOOLS+= nroff
@@ -20,10 +22,10 @@ post-patch:
-e "s|/usr/local|${PREFIX}|"
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${PREFIX}/include
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libts
+ ${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libts
${NROFF} -ms ${WRKSRC}/tokenscan.ms \
- >${PREFIX}/share/doc/libts/tokenscan.txt
+ >${DESTDIR}${PREFIX}/share/doc/libts/tokenscan.txt
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libwhisker2/Makefile b/devel/libwhisker2/Makefile
index 1844b208d37..fd9c8744824 100644
--- a/devel/libwhisker2/Makefile
+++ b/devel/libwhisker2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/04/14 10:30:37 adrianp Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
DISTNAME= libwhisker2-2.4
CATEGORIES= devel
@@ -10,6 +10,8 @@ COMMENT= Perl module geared specifically for HTTP testing
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
REPLACE_PERL= scripts/api_demo.pl scripts/crawl_demo.pl \
scripts/simple_demo.pl scripts/form_demo1.pl \
@@ -19,19 +21,19 @@ do-build:
@cd ${WRKSRC} && ${PERL5} Makefile.pl lib
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwhisker2
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libwhisker2
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/libwhisker2
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/libwhisker2
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/libwhisker2
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/libwhisker2
- ${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/libwhisker2
- ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${PREFIX}/share/doc/libwhisker2
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libwhisker2
- ${INSTALL_DATA} ${WRKSRC}/LW2.pm ${PREFIX}/libdata/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${DESTDIR}${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${DESTDIR}${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/LW2.pm ${DESTDIR}${PREFIX}/libdata/libwhisker2
. for f in ${REPLACE_PERL}
${INSTALL_SCRIPT} ${WRKSRC}/${f} \
- ${PREFIX}/share/examples/libwhisker2
+ ${DESTDIR}${PREFIX}/share/examples/libwhisker2
. endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/lincvs/Makefile b/devel/lincvs/Makefile
index 20cffa003bb..086b223039a 100644
--- a/devel/lincvs/Makefile
+++ b/devel/lincvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/02/28 11:58:48 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:36 jlam Exp $
DISTNAME= lincvs-1.4.4-0-generic-src
PKGNAME= ${DISTNAME:S/-0-generic-src//}
@@ -11,6 +11,8 @@ MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://lincvs.org/
COMMENT= Nice GUI front-end to CVS (using Qt)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
SUBST_CLASSES+= qmake
@@ -30,13 +32,13 @@ do-configure:
cd ${WRKSRC} && qmake -o Makefile lincvs.pro
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lincvs.bin ${PREFIX}/bin/lincvs
- ${INSTALL_PROGRAM} ${WRKSRC}/contrib/rshwrapper/rshwrapper ${PREFIX}/libexec/rshwrapper
- cd ${WRKSRC}/doc && ${INSTALL_DATA} FAM-HOWTO.txt FAQ.txt INFO.txt INSTALL INSTALL.html PROXY-HOWTO.txt README README.html SSH-HOWTO.txt ${PREFIX}/share/doc/lincvs/
+ ${INSTALL_PROGRAM} ${WRKSRC}/lincvs.bin ${DESTDIR}${PREFIX}/bin/lincvs
+ ${INSTALL_PROGRAM} ${WRKSRC}/contrib/rshwrapper/rshwrapper ${DESTDIR}${PREFIX}/libexec/rshwrapper
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} FAM-HOWTO.txt FAQ.txt INFO.txt INSTALL INSTALL.html PROXY-HOWTO.txt README README.html SSH-HOWTO.txt ${DESTDIR}${PREFIX}/share/doc/lincvs/
.for lang in de it ru
- cd ${WRKSRC}/doc/translations/${lang} && ${INSTALL_DATA} * ${PREFIX}/share/doc/lincvs/${lang}/
+ cd ${WRKSRC}/doc/translations/${lang} && ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/doc/lincvs/${lang}/
.endfor
- ${INSTALL_DATA} ${WRKSRC}/ts/*.qm ${PREFIX}/share/lincvs/messages/
+ ${INSTALL_DATA} ${WRKSRC}/ts/*.qm ${DESTDIR}${PREFIX}/share/lincvs/messages/
.include "../../x11/qt3/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ltsa/Makefile b/devel/ltsa/Makefile
index 0050418513b..f9d67c0e138 100644
--- a/devel/ltsa/Makefile
+++ b/devel/ltsa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/04 21:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= ltsa2.2
@@ -13,6 +13,8 @@ HOMEPAGE= http://www.doc.ic.ac.uk/~jnm/book/ltsa-v2/
# ~jnm exists, /book/ does not
COMMENT= Labelled Transition System Analyser
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= YES
USE_JAVA2= YES
@@ -26,14 +28,14 @@ do-build:
'$$*' >>${WRKSRC}/ltsa.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ltsa.sh ${PREFIX}/bin/ltsa
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/ltsa
- cd ${WRKSRC}/lib && ${PAX} -rwpppm . ${PREFIX}/lib/ltsa
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ltsa
- ${INSTALL_DATA} ${WRKSRC}/fspv2.pdf ${PREFIX}/share/doc/ltsa
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ltsa
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ltsa
- cd ${WRKSRC}/examples && ${PAX} -rwpppm . ${PREFIX}/share/examples/ltsa
+ ${INSTALL_SCRIPT} ${WRKSRC}/ltsa.sh ${DESTDIR}${PREFIX}/bin/ltsa
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ltsa
+ cd ${WRKSRC}/lib && ${PAX} -rwpppm . ${DESTDIR}${PREFIX}/lib/ltsa
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ltsa
+ ${INSTALL_DATA} ${WRKSRC}/fspv2.pdf ${DESTDIR}${PREFIX}/share/doc/ltsa
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/ltsa
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/ltsa
+ cd ${WRKSRC}/examples && ${PAX} -rwpppm . ${DESTDIR}${PREFIX}/share/examples/ltsa
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/mantis/Makefile b/devel/mantis/Makefile
index 1eeeff37094..93cc95ec737 100644
--- a/devel/mantis/Makefile
+++ b/devel/mantis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2007/10/27 22:31:10 adrianp Exp $
+# $NetBSD: Makefile,v 1.29 2008/03/03 17:45:36 jlam Exp $
DISTNAME= mantis-1.0.8
CATEGORIES= devel www
@@ -11,6 +11,8 @@ COMMENT= PHP/MySQL/web based bugtracking system
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.0.6:../../www/ap-php
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.0.6:../../databases/php-mysql
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
.include "../../mk/bsd.prefs.mk"
@@ -48,23 +50,23 @@ post-extract:
${CP} ${FILESDIR}/mantis.conf ${WRKSRC}
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mantis
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA_DIR} ${MANTIS_HOME}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mantis
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${MANTIS_HOME}
- ${INSTALL_DATA} ${WRKSRC}/doc/CUSTOMIZATION ${PREFIX}/share/doc/mantis
- ${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${PREFIX}/share/doc/mantis
+ ${INSTALL_DATA} ${WRKSRC}/doc/CUSTOMIZATION ${DESTDIR}${PREFIX}/share/doc/mantis
+ ${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${DESTDIR}${PREFIX}/share/doc/mantis
${MV} ${WRKSRC}/config_inc.php.sample ${WRKSRC}/config_inc.php
. for f in ${MANTIS_EG}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EGDIR}
${RM} ${WRKSRC}/${f}
. endfor
cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM}
- cd ${WRKSRC} && ${PAX} -rwpppm . ${MANTIS_HOME}
+ cd ${WRKSRC} && ${PAX} -rwpppm . ${DESTDIR}${MANTIS_HOME}
- cd ${MANTIS_HOME} && \
+ cd ${DESTDIR}${MANTIS_HOME} && \
${FIND} . -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/mysql.buildlink3.mk"
diff --git a/devel/monotone-server/Makefile b/devel/monotone-server/Makefile
index 76b8f1b5a88..d628f16f673 100644
--- a/devel/monotone-server/Makefile
+++ b/devel/monotone-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2008/02/27 14:19:30 jmmv Exp $
+# $NetBSD: Makefile,v 1.38 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= monotone-server-0.39
@@ -12,6 +12,8 @@ COMMENT= Simplifies the configuration of a dedicated Monotone server
DEPENDS+= monotone>=0.39:../../devel/monotone
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= # empty
NO_BUILD= yes
NO_CHECKSUM= yes
@@ -70,12 +72,12 @@ do-extract:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/monotone-server-init.sh \
- ${PREFIX}/sbin/monotone-server-init
- ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
- ${INSTALL_DATA} ${WRKSRC}/hooks.conf ${EXAMPLEDIR}/hooks.conf
+ ${DESTDIR}${PREFIX}/sbin/monotone-server-init
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/hooks.conf ${DESTDIR}${EXAMPLEDIR}/hooks.conf
${INSTALL_DATA} ${WRKSRC}/read-permissions \
- ${EXAMPLEDIR}/read-permissions
+ ${DESTDIR}${EXAMPLEDIR}/read-permissions
${INSTALL_DATA} ${WRKSRC}/write-permissions \
- ${EXAMPLEDIR}/write-permissions
+ ${DESTDIR}${EXAMPLEDIR}/write-permissions
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/monotone-viz/Makefile b/devel/monotone-viz/Makefile
index bc0d7e31c5d..9d61e0a715c 100644
--- a/devel/monotone-viz/Makefile
+++ b/devel/monotone-viz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/01/18 05:14:34 tnn Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= monotone-viz-0.15
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://oandrieu.nerim.net/monotone-viz/
COMMENT= Visualize monotone ancestry graphs
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= monotone-viz
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
@@ -20,7 +22,7 @@ CONFIGURE_ARGS+= --without-local-lablgtk
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/monotone-viz ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/monotone-viz ${DESTDIR}${PREFIX}/bin
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../graphics/graphviz/buildlink3.mk"
diff --git a/devel/mph/Makefile b/devel/mph/Makefile
index 823bba6f48a..c12ec65eafa 100644
--- a/devel/mph/Makefile
+++ b/devel/mph/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:18 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= mph-1.2
@@ -9,13 +9,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= none
COMMENT= Minimal perfect hashing functionality
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin share/doc
do-install:
- for i in emitc mph mphm; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${PREFIX}/bin; \
+ for i in emitc mph mphm; do \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR]${PREFIX}/bin; \
done
- ${INSTALL_SCRIPT} ${WRKSRC}/mphminm ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/mph.doc ${PREFIX}/share/doc
+ ${INSTALL_SCRIPT} ${WRKSRC}/mphminm ${DESTDIR]${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/mph.doc ${DESTDIR]${PREFIX}/share/doc
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/netbeans-ide/Makefile b/devel/netbeans-ide/Makefile
index 7bbc2e146f8..329760e306f 100644
--- a/devel/netbeans-ide/Makefile
+++ b/devel/netbeans-ide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/01/07 17:56:08 hubertf Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= NetBeansIDE-release351
@@ -12,6 +12,8 @@ MAINTAINER= drue@users.sourceforge.net
HOMEPAGE= http://www.netbeans.org/
COMMENT= NetBeans Java IDE
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_JAVA= run
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14 sun-jdk15 jdk15 sun-jdk6 jdk6
NO_CONFIGURE= yes
@@ -28,16 +30,16 @@ pre-install:
runide_exe_defaults unsupported
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${SHAREDIR}
- cd ${WRKSRC}/docs && ${PAX} -rwpm . ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
+ cd ${WRKSRC}/docs && ${PAX} -rwpm . ${DESTDIR}${DOCDIR}
for f in CHANGES.html CREDITS.html README.html netbeans.css; \
do \
- ${INSTALL_DATA} ${WRKSRC}/$${f} ${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${DOCDIR}; \
done
cd ${WRKSRC} && ${PAX} -rwpm beans bin lib modules system \
- tomcat406 update_tracking ${SHAREDIR}
- ${LN} -sf ${SHAREDIR}/bin/runide.sh ${PREFIX}/bin/netbeans
+ tomcat406 update_tracking ${DESTDIR}${SHAREDIR}
+ ${LN} -sf ${SHAREDIR}/bin/runide.sh ${DESTDIR}${PREFIX}/bin/netbeans
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 4e402fe645a..c40ebec6356 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:08:49 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 17:45:36 jlam Exp $
DISTNAME= ${PKGNAME_NOREV}-5.src.rpm
PKGNAME= newt-0.51.6
@@ -13,6 +13,8 @@ COMMENT= Windowing toolkit based on libslang
BUILD_DEPENDS+= rpm2pkg>=2.0:../../pkgtools/rpm2pkg
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake gzcat tar
USE_LIBTOOL= yes
@@ -28,9 +30,9 @@ do-extract:
do-install:
cd ${WRKSRC}; \
- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} libnewt.la ${PREFIX}/lib;\
- ${INSTALL_DATA} newt.h ${PREFIX}/include; \
- ${LIBTOOL} --mode=install ${INSTALL} whiptail ${PREFIX}/bin
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} libnewt.la ${DESTDIR}${PREFIX}/lib;\
+ ${INSTALL_DATA} newt.h ${DESTDIR}${PREFIX}/include; \
+ ${LIBTOOL} --mode=install ${INSTALL} whiptail ${DESTDIR}${PREFIX}/bin
.include "../../devel/libslang/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
diff --git a/devel/nsis/Makefile b/devel/nsis/Makefile
index b460cc297e0..f962fd857ca 100644
--- a/devel/nsis/Makefile
+++ b/devel/nsis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/02 14:22:40 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= nsis-${NSIS_VER}
@@ -15,6 +15,8 @@ COMMENT= Scriptable system to build Windows installers
DEPENDS+= scons>=0.96.91:../../devel/scons-devel
+PKG_DESTDIR_SUPPORT= user-destdir
+
NSIS_SRC= ${DISTNAME:=-src}
NSIS_VER= 2.12
WRKSRC= ${WRKDIR}/${NSIS_SRC}
@@ -44,8 +46,10 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/build/release/makensis/makensis \
- ${MAKENSIS_BIN:Q}
- ${INSTALL_SCRIPT} ${WRKSRC:Q}/makensis.sh ${PREFIX:Q}/bin/makensis
- cd ${WRKDIR:Q}/${DISTNAME:Q} && ${PAX} -rw . ${PREFIX:Q}/share/nsis
+ ${DESTDIR}${MAKENSIS_BIN:Q}
+ ${INSTALL_SCRIPT} ${WRKSRC:Q}/makensis.sh \
+ ${DESTDIR}${PREFIX:Q}/bin/makensis
+ cd ${WRKDIR:Q}/${DISTNAME:Q} && ${PAX} -rw . \
+ ${DESTDIR}${PREFIX:Q}/share/nsis
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/nspr-reference/Makefile b/devel/nspr-reference/Makefile
index e87a6abb50d..c6c3d5851bf 100644
--- a/devel/nspr-reference/Makefile
+++ b/devel/nspr-reference/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/12/22 07:22:08 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= nspr-reference
@@ -11,13 +11,16 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= ftp://ftp.mozilla.org/pub/mozilla.org/nspr/doc/
COMMENT= HTML Documentation for NSPR
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/nspr/reference/html
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nspr/html
- cd ${WRKSRC} && ${PAX} -s,.*/CVS.*,, -rwvpe . ${PREFIX}/share/doc/nspr/html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/nspr/html
+ cd ${WRKSRC} && ${PAX} -s,.*/CVS.*,, -rwvpe . \
+ ${DESTDIR}${PREFIX}/share/doc/nspr/html
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index b70aa238bd9..333fa0d396f 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/02/08 10:34:19 tnn Exp $
+# $NetBSD: Makefile,v 1.28 2008/03/03 17:45:36 jlam Exp $
DISTNAME= nss-3.11.5
CATEGORIES= security
@@ -10,6 +10,8 @@ COMMENT= Libraries to support development of security-enabled applications
BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= mozilla/security/nss
USE_TOOLS+= awk gmake perl
@@ -40,11 +42,11 @@ pre-configure:
${WRKSRC}/mozilla/security/coreconf/
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/include/nss
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/nss
- (cd ${DIST}/public && ${PAX} -Lrwpe . ${PREFIX}/include/nss/ )
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/nss
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/nss
+ (cd ${DIST}/public && ${PAX} -Lrwpe . ${DESTDIR}${PREFIX}/include/nss/ )
(cd ${DIST}/*_OPT.OBJ/lib && \
- ${PAX} -Lrwpe *.${SO_SUFFIX} ${PREFIX}/lib/nss/ )
+ ${PAX} -Lrwpe *.${SO_SUFFIX} ${DESTDIR}${PREFIX}/lib/nss/ )
set -e; \
{ ${ECHO} "Name: NSS"; \
${ECHO} "Description: Mozilla Network Security Services"; \
@@ -53,7 +55,7 @@ do-install:
${ECHO} "Libs: -L${PREFIX}/lib/nss" \
"${COMPILER_RPATH_FLAG}${PREFIX}/lib/nss" \
"-lnss3 -lsmime3 -lssl3 -lsoftokn3 "${BUILDLINK_LIBS.pthread:Q}; \
- } >${PREFIX}/lib/pkgconfig/nss.pc
+ } >${DESTDIR}${PREFIX}/lib/pkgconfig/nss.pc
# The exact set of libfreebl* libs built and installed depends on the
# operating system and platform. For example, on solaris/sparc you might
@@ -72,7 +74,8 @@ post-install:
ls ${PREFIX}/lib/nss/libfreebl*.${SO_SUFFIX} | ${SORT} | \
${SED} 's;${PREFIX}/;;g' >> ${PLIST_SRC}
${AWK} 'ok == 1 {print} /@comment libfreebl/ {ok=1}' ${.CURDIR}/PLIST >> ${PLIST_SRC}
- cd ${PREFIX}/include/nss && ${CHMOD} ${SHAREMODE} nss/*.h dbm/*.h nss/*.api
+ cd ${DESTDIR}${PREFIX}/include/nss && \
+ ${CHMOD} ${SHAREMODE} nss/*.h dbm/*.h nss/*.api
BUILDLINK_API_DEPENDS.nspr+= nspr>=4.4.1nb2
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index 2783d9a1505..70a2bd9ba32 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/20 13:33:13 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:36 jlam Exp $
DISTNAME= ode-0.5
PKGREVISION= 3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ode.org/
COMMENT= Library for the simulation of Rigid Body Dynamics
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
@@ -21,8 +23,9 @@ do-configure:
cd ${WRKSRC} && ${MAKE_PROGRAM} configure
do-install:
- ${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode
+ ${INSTALL_DATA} ${WRKSRC}/include/ode/*.h \
+ ${DESTDIR}${PREFIX}/include/ode
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libode.la \
- ${PREFIX}/lib
+ ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/opengrok/Makefile b/devel/opengrok/Makefile
index 54eb8161463..373546b0732 100644
--- a/devel/opengrok/Makefile
+++ b/devel/opengrok/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/11/11 22:05:49 adrianp Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= opengrok-0.5
@@ -15,6 +15,8 @@ DEPENDS+= jflex-[0-9]*:../../devel/jflex
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= zip-[0-9]*:../../archivers/zip
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
USE_JAVA= run
USE_JAVA2= 1.5
@@ -33,20 +35,20 @@ SUBST_MESSAGE.run= Fixing hardcoded paths.
.include "options.mk"
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/opengrok
- ${INSTALL_DATA_DIR} ${PREFIX}/share/opengrok/lib
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opengrok
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opengrok/conf
-
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/opengrok
- ${INSTALL_DATA} ${WRKSRC}/opengrok.jar ${PREFIX}/share/opengrok
- ${INSTALL_DATA} ${WRKSRC}/source.war ${PREFIX}/share/opengrok
- ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${PREFIX}/share/opengrok/lib
- ${INSTALL_DATA} ${WRKSRC}/paths.tsv ${PREFIX}/share/examples/opengrok
- ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${PREFIX}/share/opengrok
- ${INSTALL_SCRIPT} ${WRKSRC}/run-quiet.sh ${PREFIX}/share/opengrok
-
- cd ${WRKSRC}/conf && ${PAX} -rw . ${PREFIX}/share/examples/opengrok/conf
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/opengrok/lib
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/opengrok
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/opengrok/conf
+
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/opengrok.jar ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/source.war ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/share/opengrok/lib
+ ${INSTALL_DATA} ${WRKSRC}/paths.tsv ${DESTDIR}${PREFIX}/share/examples/opengrok
+ ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_SCRIPT} ${WRKSRC}/run-quiet.sh ${DESTDIR}${PREFIX}/share/opengrok
+
+ cd ${WRKSRC}/conf && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/examples/opengrok/conf
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4-docs/Makefile b/devel/p4-docs/Makefile
index b1a2ebdc2cd..dcfe67fc02e 100644
--- a/devel/p4-docs/Makefile
+++ b/devel/p4-docs/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2007/03/15 07:14:27 schmonz Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4-docs
COMMENT= Perforce SCM documentation
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../devel/p4/Makefile.common"
# override, since the docs have changed at least once more often
@@ -39,11 +41,12 @@ PLIST_SUBST+= DOCDIR=${DOCDIR:Q}
INSTALLATION_DIRS= ${DOCDIR} ${PKGMANDIR}/man1
do-install:
- ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/*.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/*.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
cd ${WRKSRC}; \
for f in *.html *.pdf *.txt; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/${DOCDIR}; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4/Makefile b/devel/p4/Makefile
index a6607ad30c4..d80a2134ebc 100644
--- a/devel/p4/Makefile
+++ b/devel/p4/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2006/06/17 20:44:03 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4
HOMEPAGE= http://www.perforce.com/perforce/products/p4.html
COMMENT= Perforce SCM command-line client
+PKG_DESTDIR_SUPPORT= user-destdir
+
P4BINONLY= yes
.include "../../devel/p4/Makefile.common"
@@ -12,6 +14,7 @@ P4BINONLY= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile
index e0f273c6cac..96a671ab95a 100644
--- a/devel/p4d/Makefile
+++ b/devel/p4d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/07/04 20:54:38 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4d
@@ -6,6 +6,8 @@ HOMEPAGE= http://www.perforce.com/perforce/products/p4d.html
PKGREVISION= 1
COMMENT= Perforce SCM server
+PKG_DESTDIR_SUPPORT= user-destdir
+
P4BINONLY= # defined
.include "../../devel/p4/Makefile.common"
@@ -39,6 +41,7 @@ P4JOURNAL?= journal
INSTALLATION_DIRS= sbin
do-install:
- ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4pr/Makefile b/devel/p4pr/Makefile
index d64842ea589..b1761b499e4 100644
--- a/devel/p4pr/Makefile
+++ b/devel/p4pr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/02/17 20:59:49 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4pr
@@ -12,6 +12,8 @@ COMMENT= Perforce file annotation with change, revision, and branch
DEPENDS+= p4-[0-9]*:../../devel/p4
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # none
NO_BUILD= yes
@@ -24,6 +26,7 @@ post-extract:
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} ${PREFIX}/bin/${DISTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} \
+ ${DESTDIR}${PREFIX}/bin/${DISTNAME}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile
index 77380545108..d7c0e02c0f5 100644
--- a/devel/p4web/Makefile
+++ b/devel/p4web/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.2 2005/06/16 06:57:47 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4web
HOMEPAGE= http://www.perforce.com/perforce/products/p4web.html
COMMENT= Perforce SCM Web client
+PKG_DESTDIR_SUPPORT= user-destdir
+
P4BINONLY= # defined
.include "../../devel/p4/Makefile.common"
@@ -13,6 +15,6 @@ INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \
- ${PREFIX}/bin/${DISTNAME}
+ ${DESTDIR}${PREFIX}/bin/${DISTNAME}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/palmpower/Makefile b/devel/palmpower/Makefile
index dec61609d46..3657e6a27e3 100644
--- a/devel/palmpower/Makefile
+++ b/devel/palmpower/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/01/07 09:13:51 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= palmpower-1.0.2
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.palmblvd.com/software/pc/PilotDis-2000-05-04-palm-pc.html
COMMENT= Assembler, disassembler and other tools for PalmOS binaries
+PKG_DESTDIR_SUPPORT= user-destdir
+
CPPFLAGS+= -Dunix
USE_PKGLOCALEDIR= yes
@@ -20,9 +22,9 @@ post-build:
${CC} ${CFLAGS} -o splitprc splitprc.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/pila/pila ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/pilotdis/pilotdis ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/utils/splitprc ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/pilotdis.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/pila/pila ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/pilotdis/pilotdis ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/utils/splitprc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/pilotdis.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/picprg/Makefile b/devel/picprg/Makefile
index 84d6641986a..8661df79f2d 100644
--- a/devel/picprg/Makefile
+++ b/devel/picprg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/03/26 09:31:10 dsainty Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:36 jlam Exp $
#
PKGNAME= picprg-2.3d
@@ -14,15 +14,20 @@ COMMENT= Parallel port PIC programmer
# The programmer makes direct I/O bus accesses via the i386 in/out
# instructions. The program has been patches to work on NetBSD only,
# via the i386_set_ioperm() interface.
+#
ONLY_FOR_PLATFORM= NetBSD-*-i386
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/picprg ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/picprg
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/picprg
- ${INSTALL_DATA} ${WRKSRC}/README.BAJ ${PREFIX}/share/doc/picprg
+ ${INSTALL_PROGRAM} ${WRKSRC}/picprg ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/picprg
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/picprg
+ ${INSTALL_DATA} ${WRKSRC}/README.BAJ ${DESTDIR}${PREFIX}/share/doc/picprg
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/psvn/Makefile b/devel/psvn/Makefile
index 7f312c700db..30f5be2d806 100644
--- a/devel/psvn/Makefile
+++ b/devel/psvn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/06/16 10:36:24 taca Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= psvn.el
@@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xsteve.at/prg/emacs/
COMMENT= Subversion interface for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
VER= 25241
WRKSRC= ${WRKDIR}
@@ -28,7 +30,7 @@ do-build:
${WRKDIR}/psvn.el
do-install:
- ${INSTALL_DATA} ${WRKDIR}/psvn.el ${EMACS_LISPPREFIX}
- ${INSTALL_DATA} ${WRKDIR}/psvn.elc ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKDIR}/psvn.el ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKDIR}/psvn.elc ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pvs/Makefile b/devel/pvs/Makefile
index c6082d8b4e0..20494ad933f 100644
--- a/devel/pvs/Makefile
+++ b/devel/pvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2007/08/22 17:28:09 jlam Exp $
+# $NetBSD: Makefile,v 1.33 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= pvs-${VERSION}
@@ -29,6 +29,8 @@ DEPENDS+= tk>=8.0:../../x11/tk
EMUL_PLATFORMS+= linux-i386 solaris-sparc
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
VERSION= 3.2
INFO_FILES= # PLIST
@@ -46,10 +48,10 @@ do-build:
${RM} -f ${WRKSRC}/doc/release-notes/pvs-release-notes.info.orig
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pvs ${PREFIX}/bin/pvs
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/pvs
- cd ${WRKSRC} && ${PAX} -s ,^./[.].*,, -rw . ${PREFIX}/pvs
- ${CHMOD} 755 ${PREFIX}/pvs/pvs
+ ${INSTALL_SCRIPT} ${WRKSRC}/pvs ${DESTDIR}${PREFIX}/bin/pvs
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/pvs
+ cd ${WRKSRC} && ${PAX} -s ,^./[.].*,, -rw . ${DESTDIR}${PREFIX}/pvs
+ ${CHMOD} 755 ${DESTDIR}${PREFIX}/pvs/pvs
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/emacs.mk"
diff --git a/devel/py-idle/Makefile b/devel/py-idle/Makefile
index 8aa33a0d1c7..27e06036eca 100644
--- a/devel/py-idle/Makefile
+++ b/devel/py-idle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:27 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2008/03/03 17:45:36 jlam Exp $
#
PKGNAME= ${PYPKGPREFIX}-idle-0
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.python.org/idle/
COMMENT= IDLE - The Integrated DeveLopment Environment for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
@@ -37,14 +39,14 @@ do-build:
${PYTHONBIN} ${LOCALBASE}/${PYLIB}/compileall.py ${WRKSRC}/Tools/idle
do-install:
- ${CP} -r ${WRKSRC}/Tools/idle ${PREFIX}/${PYSITELIB}
- ${CHMOD} +x ${PREFIX}/${PYSITELIB}/idle/idle.py
+ ${CP} -r ${WRKSRC}/Tools/idle ${DESTDIR}${PREFIX}/${PYSITELIB}
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/${PYSITELIB}/idle/idle.py
${LN} -sf ${PREFIX}/${PYSITELIB}/idle/idle.py \
- ${PREFIX}/bin/idle${PYVERSSUFFIX}
+ ${DESTDIR}${PREFIX}/bin/idle${PYVERSSUFFIX}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
- (cd ${PREFIX}; ${FIND} ${PYSITELIB}/idle -type f -print \
+ (cd ${DESTDIR}${PREFIX}; ${FIND} ${PYSITELIB}/idle -type f -print \
>>${PLIST_SRC})
- (cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/idle -type d -print | \
+ (cd ${DESTDIR}${PREFIX}; ${FIND} -d ${PYSITELIB}/idle -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.else # py23 and up
@@ -56,7 +58,7 @@ INSTALLATION_DIRS= bin
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/Tools/scripts/idle \
- ${PREFIX}/bin/idle${PYVERSSUFFIX}
+ ${DESTDIR}${PREFIX}/bin/idle${PYVERSSUFFIX}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
.endif # py23 and up
diff --git a/devel/python-mode/Makefile b/devel/python-mode/Makefile
index 97a6ad6c0e1..323a62bb05a 100644
--- a/devel/python-mode/Makefile
+++ b/devel/python-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/10/29 04:40:11 uebayasi Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= python-mode-4.54
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-mode/
COMMENT= Emacs mode for editing python files
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Note that XEmacs >=21.4.4 includes a python-mode in the prog-modes
# package. Also, python-mode does not appear to work as is with XEmacs 21.1
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20
@@ -31,7 +33,7 @@ do-build:
-f batch-byte-compile ${WRKDIR}/python-mode.el
do-install:
- ${INSTALL_DATA} ${WRKDIR}/python-mode.el ${EMACS_LISPPREFIX}
- ${INSTALL_DATA} ${WRKDIR}/python-mode.elc ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKDIR}/python-mode.el ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKDIR}/python-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ratfor/Makefile b/devel/ratfor/Makefile
index 3a04106853d..c0514873486 100644
--- a/devel/ratfor/Makefile
+++ b/devel/ratfor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/11/18 10:39:58 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:37 jlam Exp $
DISTNAME= ratfor77
PKGNAME= ratfor-1.0
@@ -10,12 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sepwww.stanford.edu/software/ratfor.html
COMMENT= Preprocessor for the Ratfor dialect of Fortran
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= ratfor77
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${PREFIX}/bin/ratfor
- ${INSTALL_MAN} ${WRKSRC}/ratfor.man ${PREFIX}/${PKGMANDIR}/man1/ratfor.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${DESTDIR}${PREFIX}/bin/ratfor
+ ${INSTALL_MAN} ${WRKSRC}/ratfor.man \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ratfor.1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rdp/Makefile b/devel/rdp/Makefile
index 3fb7f829cef..444e89de99d 100644
--- a/devel/rdp/Makefile
+++ b/devel/rdp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/01/03 13:39:48 obache Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/03 17:45:37 jlam Exp $
DISTNAME= rdp1_5
PKGNAME= rdp-1.5
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.rhul.ac.uk/research/languages/projects/rdp.shtml
COMMENT= Compiles attributed LL(1) grammars into recursive descent compilers
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/rdp
MAKE_FILE= makefile
@@ -21,11 +23,11 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rdp
- ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_case.ps ${PREFIX}/share/doc/rdp
- ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_supp.ps ${PREFIX}/share/doc/rdp
- ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_tut.ps ${PREFIX}/share/doc/rdp
- ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_user.ps ${PREFIX}/share/doc/rdp
+ ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rdp
+ ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_case.ps ${DESTDIR}${PREFIX}/share/doc/rdp
+ ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_supp.ps ${DESTDIR}${PREFIX}/share/doc/rdp
+ ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_tut.ps ${DESTDIR}${PREFIX}/share/doc/rdp
+ ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_user.ps ${DESTDIR}${PREFIX}/share/doc/rdp
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/refinecvs/Makefile b/devel/refinecvs/Makefile
index 57a30c7f170..da60510beab 100644
--- a/devel/refinecvs/Makefile
+++ b/devel/refinecvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/02/17 20:59:50 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= refinecvs-0.86.1251
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lev.serebryakov.spb.ru/refinecvs/
COMMENT= Convert CVS repository to SVN dump
+PKG_DESTDIR_SUPPORT= user-destdir
+
do-configure: # nothing
do-build: # nothing
@@ -18,14 +20,14 @@ REPLACE_PERL= refinecvs.pl
LIBDIR= ${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/Cvs/Repository
do-install:
- ${INSTALL_LIB_DIR} ${LIBDIR}
+ ${INSTALL_LIB_DIR} ${DESTDIR}${LIBDIR}
for f in DeltaCache.pm Delta.pm Exception.pm File.pm Reader.pm Revision.pm ; do \
- ${INSTALL_DATA} ${WRKSRC}/Cvs/Repository/$$f ${LIBDIR}/$$f; \
+ ${INSTALL_DATA} ${WRKSRC}/Cvs/Repository/$$f ${DESTDIR}${LIBDIR}/$$f; \
done
- ${INSTALL_SCRIPT} ${WRKSRC}/refinecvs.pl ${PREFIX}/bin/refinecvs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/refinecvs
+ ${INSTALL_SCRIPT} ${WRKSRC}/refinecvs.pl ${DESTDIR}${PREFIX}/bin/refinecvs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/refinecvs
for f in Changes LICENSE README TODO ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/refinecvs/$$f; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/doc/refinecvs/$$f; \
done
.include "../../lang/perl5/module.mk"
diff --git a/devel/rox-lib/Makefile b/devel/rox-lib/Makefile
index a4fa9089584..9b002e304f5 100644
--- a/devel/rox-lib/Makefile
+++ b/devel/rox-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/09/21 13:03:39 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= rox-lib-2.0.2
@@ -14,6 +14,8 @@ COMMENT= Shared code for ROX applications
DEPENDS+= rox>=2.2.0:../../sysutils/rox
DEPENDS+= ${PYPKGPREFIX}-expat>=0nb2:../../textproc/py-expat
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Lib2
DIST_SUBDIR= rox
@@ -41,7 +43,7 @@ SUBST_FILES.lib= Help/findrox.py
SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
do-install:
- cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/share/rox/ROX-Lib2
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/rox/ROX-Lib2
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
diff --git a/devel/rscode/Makefile b/devel/rscode/Makefile
index a96a6a92f3d..1417aead0ad 100644
--- a/devel/rscode/Makefile
+++ b/devel/rscode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/04/18 18:09:36 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= rscode-1.0
@@ -9,11 +9,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rscode.sourceforge.net/
COMMENT= Reed Solomon error correction code library
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin lib share/doc/rscode
do-install:
- ${INSTALL_LIB} ${WRKSRC}/libecc.a ${PREFIX}/lib/
- ${INSTALL_PROGRAM} ${WRKSRC}/example ${PREFIX}/bin/rscode
- ${INSTALL_DATA} ${WRKSRC}/rs.doc ${PREFIX}/share/doc/rscode/
+ ${INSTALL_LIB} ${WRKSRC}/libecc.a ${DESTDIR}${PREFIX}/lib/
+ ${INSTALL_PROGRAM} ${WRKSRC}/example ${DESTDIR}${PREFIX}/bin/rscode
+ ${INSTALL_DATA} ${WRKSRC}/rs.doc ${DESTDIR}${PREFIX}/share/doc/rscode/
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rsltc/Makefile b/devel/rsltc/Makefile
index ca4e45fb195..719014a7c2e 100644
--- a/devel/rsltc/Makefile
+++ b/devel/rsltc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/11/17 12:04:12 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= rsltcsrc
@@ -15,18 +15,20 @@ COMMENT= RAISE Specification Language Type Checker
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
DEPENDS+= gentle>=97:../../devel/gentle
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= make_sunos
USE_TOOLS+= gmake lex
WRKSRC= ${WRKDIR}/rsl.2.4
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rsltc ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/rsl
+ ${INSTALL_PROGRAM} ${WRKSRC}/rsltc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl
(cd ${WRKSRC} ; for i in rsltc.el tokenise.el rslconvert.el rsl-mode.el ; do\
${EMACS_BIN} -batch -f batch-byte-compile $$i ;\
- ${INSTALL_DATA} $$i ${PREFIX}/share/emacs/site-lisp/rsl ;\
- ${INSTALL_DATA} $${i}c ${PREFIX}/share/emacs/site-lisp/rsl ;\
+ ${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
+ ${INSTALL_DATA} $${i}c ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
done)
.include "../../mk/emacs.mk"
diff --git a/devel/ruby-activesupport/Makefile b/devel/ruby-activesupport/Makefile
index 06fe30d0d1f..2f780a684c7 100644
--- a/devel/ruby-activesupport/Makefile
+++ b/devel/ruby-activesupport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/02/09 06:18:27 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:37 jlam Exp $
DISTNAME= activesupport-2.0.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/activesupport/
COMMENT= Collection of classes and extensions for Rails
+PKG_DESTDIR_SUPPORT= destdir
+
NO_BUILD= yes
NO_CONFIGURE= yes
@@ -19,16 +21,17 @@ pre-install:
${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f {} \;
do-install:
- ${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}
- ${CHOWN} -R ${LIBOWN}:${LIBGRP} ${RUBY_SITELIBDIR}/active_support*
- ${FIND} ${RUBY_SITELIBDIR}/active_support -type d \
+ ${INSTALL_LIB_DIR} ${DESTDIR}${RUBY_SITELIBDIR}
+ ${CP} -R ${WRKSRC}/lib/* ${DESTDIR}${RUBY_SITELIBDIR}
+ ${CHOWN} -R ${LIBOWN}:${LIBGRP} ${DESTDIR}${RUBY_SITELIBDIR}/active_support*
+ ${FIND} ${DESTDIR}${RUBY_SITELIBDIR}/active_support -type d \
-exec ${CHMOD} ${PKGDIRMODE} {} \;
- ${FIND} ${RUBY_SITELIBDIR}/active_support* -type f \
+ ${FIND} ${DESTDIR}${RUBY_SITELIBDIR}/active_support* -type f \
-exec ${CHMOD} ${LIBMODE} {} \;
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/active_support
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/active_support
${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
- ${RUBY_DOCDIR}/active_support
+ ${DESTDIR}${RUBY_DOCDIR}/active_support
${INSTALL_DATA} ${WRKSRC}/README \
- ${RUBY_DOCDIR}/active_support
+ ${DESTDIR}${RUBY_DOCDIR}/active_support
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-bsearch/Makefile b/devel/ruby-bsearch/Makefile
index 7b748b31b59..b3cde99fe10 100644
--- a/devel/ruby-bsearch/Makefile
+++ b/devel/ruby-bsearch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/10/04 21:36:00 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:37 jlam Exp $
DISTNAME= ruby-bsearch-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-bsearch-${VERSION}
@@ -10,6 +10,8 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://0xcc.net/ruby-bsearch/
COMMENT= Binary search library for Ruby
+PKG_DESTDIR_SUPPORT= user-destdir
+
VERSION= 1.5
NO_CONFIGURE= yes
TEST_DIRS= ${WRKSRC}/tests
@@ -24,10 +26,11 @@ do-build:
.endfor
do-install:
- ${INSTALL_DATA} ${WRKSRC}/bsearch.rb ${RUBY_SITELIBDIR}/bsearch.rb
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bsearch
+ ${INSTALL_LIB_DIR} ${DESTDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bsearch.rb ${DESTDIR}${RUBY_SITELIBDIR}/bsearch.rb
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/bsearch
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bsearch
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/bsearch
.endfor
.include "../../lang/ruby/modules.mk"
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile
index 2b84eaf813b..33172fef23c 100644
--- a/devel/ruby-byaccr/Makefile
+++ b/devel/ruby-byaccr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/09/13 00:42:12 taca Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $
DISTNAME= byaccr-0.1
PKGNAME= ruby-${DISTNAME}
@@ -10,13 +10,16 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= # not available
COMMENT= Parser generator for ruby based on 'Berkeley Yacc/Yacc for Java'
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXAMPLES= Makefile cal.y calfunc.rb main.rb
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/byaccr ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/byaccr
+ ${INSTALL_PROGRAM} ${WRKSRC}/byaccr ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/byaccr
.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/byaccr
+ ${INSTALL_DATA} ${WRKSRC}/sample/${f} \
+ ${DESTDIR}${PREFIX}/share/examples/byaccr
.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-mode/Makefile b/devel/ruby-mode/Makefile
index 22f44c58de8..69a1d85cd01 100644
--- a/devel/ruby-mode/Makefile
+++ b/devel/ruby-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/03/15 16:45:13 taca Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= ${RUBY_DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby editing mode for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${RUBY_WRKSRC}/misc
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/misc
RUBY_VERSION= ${RUBY18_VERSION}
@@ -27,10 +29,10 @@ do-build:
done
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/ruby-mode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
cd ${WRKSRC}; \
${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
- ${EMACS_LISPPREFIX}/ruby-mode
+ ${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
.include "../../lang/ruby/rubyversion.mk"
.include "../../lang/ruby/Makefile.common"
diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile
index 55aefb2ad2f..8d5a1a07b44 100644
--- a/devel/ruby-rd-mode/Makefile
+++ b/devel/ruby-rd-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/06/10 13:07:47 taca Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= rdtool-${RUBY_RD_VERSION}
@@ -10,6 +10,8 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/
COMMENT= Editing mode for RD (Ruby Document Format)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/utils
EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
RUBY_RD_VERSION= 0.6.20
@@ -22,9 +24,9 @@ do-build:
-f batch-byte-compile rd-mode.el
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/rd-mode
- ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${EMACS_LISPPREFIX}/rd-mode
- ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${EMACS_LISPPREFIX}/rd-mode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
.include "../../lang/ruby/rubyversion.mk"
.include "../../mk/emacs.mk"
diff --git a/devel/rubyforge/Makefile b/devel/rubyforge/Makefile
index b0c2b764770..406fb11e142 100644
--- a/devel/rubyforge/Makefile
+++ b/devel/rubyforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/11 03:13:11 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:37 jlam Exp $
DISTNAME= rubyforge-0.4.2
CATEGORIES= devel ruby
@@ -9,6 +9,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/codeforpeople/
COMMENT= Simplistic script automating RubyForge operations
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_LANGUAGES= # none
REPLACE_RUBY= bin/rubyforge
@@ -18,13 +20,16 @@ INSTALLATION_DIRS= bin
.include "../../lang/ruby/modules.mk"
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/rubyforge ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/http-access2
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rubyforge ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_SITELIBDIR}/http-access2
${INSTALL_DATA} ${WRKSRC}/lib/http-access2/* \
- ${RUBY_SITELIBDIR}/http-access2
- ${INSTALL_DATA} ${WRKSRC}/lib/http-access2.rb ${RUBY_SITELIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/rubyforge.rb ${RUBY_SITELIBDIR}
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rubyforge
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/rubyforge
+ ${DESTDIR}${RUBY_SITELIBDIR}/http-access2
+ ${INSTALL_DATA} ${WRKSRC}/lib/http-access2.rb \
+ ${DESTDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/rubyforge.rb \
+ ${DESTDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/rubyforge
+ ${INSTALL_DATA} ${WRKSRC}/README.txt \
+ ${DESTDIR}${RUBY_DOCDIR}/rubyforge
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/sablecc/Makefile b/devel/sablecc/Makefile
index a9604a3c2c4..c75e48e3990 100644
--- a/devel/sablecc/Makefile
+++ b/devel/sablecc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/10/04 21:36:00 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= sablecc-2.16.2
@@ -10,6 +10,8 @@ MAINTAINER= hag@linnaean.org
HOMEPAGE= http://sablecc.org/
COMMENT= Java based Compiler Compiler
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_JAVA= run
USE_JAVA2= yes
@@ -21,9 +23,9 @@ do-build:
< ${FILESDIR}/sablecc > ${WRKDIR}/sablecc
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
- ${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar ${PREFIX}/lib/java
+ ${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java
+ ${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar ${DESTDIR}${PREFIX}/lib/java
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/semantic/Makefile b/devel/semantic/Makefile
index 2358041da6e..d438536ce15 100644
--- a/devel/semantic/Makefile
+++ b/devel/semantic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/10/29 12:56:30 uebayasi Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= semantic-1.4.4
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cedet.sourceforge.net/semantic.shtml
COMMENT= Lexer, parser-generator, and parser written for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKGSRC_MAKE_ENV+= EMACS=${EMACS_FLAVOR}
NO_CONFIGURE= yes
@@ -38,14 +40,15 @@ AUXFILES+= c.bnf make.bnf java.bnf scheme.bnf
INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/semantic
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/semantic
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
- ${EMACS_LISPPREFIX}/semantic
- cd ${WRKSRC} && ${INSTALL_DATA} ${AUXFILES} ${EMACS_LISPPREFIX}/semantic
+ ${DESTDIR}${EMACS_LISPPREFIX}/semantic
+ cd ${WRKSRC} && ${INSTALL_DATA} ${AUXFILES} \
+ ${DESTDIR}${EMACS_LISPPREFIX}/semantic
set -e; \
cd ${WRKSRC}; for f in semantic.info semantic.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
- ${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
done
.include "../../mk/emacs.mk"
diff --git a/devel/sgi-stl-docs/Makefile b/devel/sgi-stl-docs/Makefile
index 3361b4c3fc1..db2c7070f4d 100644
--- a/devel/sgi-stl-docs/Makefile
+++ b/devel/sgi-stl-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/17 21:03:34 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $
DISTNAME= STL_doc
PKGNAME= sgi-stl-docs-3.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sgi.com/tech/stl/
COMMENT= SGI Standard Template Library Programmer's Guide
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
NO_CONFIGURE= yes
@@ -18,10 +20,10 @@ NO_BUILD= yes
HTMLDOCDIR= share/doc/sgi-stl/html
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}
cd ${WRKSRC}; for file in `${GREP} "^${HTMLDOCDIR}/" ${PLIST_SRC} \
| ${SED} "s,^${HTMLDOCDIR}/,,g"`; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/${HTMLDOCDIR}/$${file}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}/$${file}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/sgi-stl/Makefile b/devel/sgi-stl/Makefile
index a983b3bcafe..2acc12c616c 100644
--- a/devel/sgi-stl/Makefile
+++ b/devel/sgi-stl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:29 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:37 jlam Exp $
DISTNAME= stl
PKGNAME= sgi-stl-3.3
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sgi.com/tech/stl/
COMMENT= SGI Standard Template Library
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -16,10 +18,10 @@ NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/include/sgi-stl
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/sgi-stl
cd ${WRKSRC}; for file in `${GREP} "^include/sgi-stl/" ${PLIST_SRC} \
| ${SED} "s,^include/sgi-stl/,,g"`; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/include/sgi-stl/$${file}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/include/sgi-stl/$${file}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/sml-mode/Makefile b/devel/sml-mode/Makefile
index 51bff5cf146..3e7f685d294 100644
--- a/devel/sml-mode/Makefile
+++ b/devel/sml-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/31 05:37:09 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:37 jlam Exp $
DISTNAME= sml-mode-3.9.5
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://flint.cs.yale.edu/pub/monnier/sml-mode/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Emacs mode for editing Standard ML source code
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= default
INFO_FILES= # PLIST
@@ -17,8 +19,8 @@ INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/sml-mode
do-install:
cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc README NEWS TODO \
- ChangeLog ${EMACS_LISPPREFIX}/sml-mode
- ${INSTALL_DATA} ${WRKSRC}/sml-mode.info ${EMACS_INFOPREFIX}
+ ChangeLog ${DESTDIR}${EMACS_LISPPREFIX}/sml-mode
+ ${INSTALL_DATA} ${WRKSRC}/sml-mode.info ${DESTDIR}${EMACS_INFOPREFIX}
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/st/Makefile b/devel/st/Makefile
index 698897b5e01..b64241a2150 100644
--- a/devel/st/Makefile
+++ b/devel/st/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:53 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= st-1.5.1
@@ -10,7 +10,9 @@ MAINTAINER= gson@NetBSD.org
HOMEPAGE= http://state-threads.sourceforge.net/
COMMENT= Non-preemptive thread library for Internet applications
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-vax
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-vax
+
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
USE_TOOLS+= gmake
@@ -22,16 +24,16 @@ INSTALLATION_DIRS= bin lib
do-install:
${LIBTOOL} --mode=install ${INSTALL_DATA} \
- ${WRKSRC}/libst.la ${PREFIX}/lib
+ ${WRKSRC}/libst.la ${DESTDIR}${PREFIX}/lib
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
- ${WRKSRC}/examples/lookupdns ${PREFIX}/bin/st-lookupdns
+ ${WRKSRC}/examples/lookupdns ${DESTDIR}${PREFIX}/bin/st-lookupdns
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
- ${WRKSRC}/examples/proxy ${PREFIX}/bin/st-proxy
+ ${WRKSRC}/examples/proxy ${DESTDIR}${PREFIX}/bin/st-proxy
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
- ${WRKSRC}/examples/server ${PREFIX}/bin/st-server
+ ${WRKSRC}/examples/server ${DESTDIR}${PREFIX}/bin/st-server
${INSTALL_DATA_DIR} ${PREFIX}/include/st
- ${INSTALL_DATA} ${WRKSRC}/public.h ${PREFIX}/include/st.h
- ${INSTALL_DATA_DIR} ${HTMLDIR}
- cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html *.gif ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/public.h ${DESTDIR}${PREFIX}/include/st.h
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+ cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html *.gif ${DESTDIR}${HTMLDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile
index 84cbbe4db74..b2276583eb6 100644
--- a/devel/stlport/Makefile
+++ b/devel/stlport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/09/09 02:41:58 obache Exp $
+# $NetBSD: Makefile,v 1.31 2008/03/03 17:45:37 jlam Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stlport.org/
COMMENT= Complete C++ standard library
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
@@ -37,23 +39,23 @@ do-install:
cd ${WRKSRC:Q}; \
${FIND} stlport -type d -print \
| while read d; do \
- ${INSTALL_DATA_DIR} ${PREFIX:Q}/include/"$$d"; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/include/"$$d"; \
done; \
${FIND} stlport -type f ! -name "*.orig" -print \
| while read f; do \
- ${INSTALL_DATA} "$$f" ${PREFIX:Q}/include/"$$f"; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX:Q}/include/"$$f"; \
done
set -e; \
for lib in \
libstlport_gcc.la \
libstlport_gcc_stldebug.la; \
do \
- ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC:Q}/lib/"$$lib" ${LIBDIR:Q}; \
+ ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC:Q}/lib/"$$lib" ${DESTDIR}${LIBDIR:Q}; \
done
- ${INSTALL_DATA_DIR} ${HTMLDIR:Q}
- ${INSTALL_DATA_DIR} ${HTMLDIR:Q}/images
- cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} *.css *.html ${HTMLDIR:Q}
- cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} images/* ${HTMLDIR:Q}/images
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR:Q}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR:Q}/images
+ cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} *.css *.html ${DESTDIR}${HTMLDIR:Q}
+ cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} images/* ${DESTDIR}${HTMLDIR:Q}/images
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/stooop/Makefile b/devel/stooop/Makefile
index 72aef949d50..f4ef80e48c3 100644
--- a/devel/stooop/Makefile
+++ b/devel/stooop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $
DISTNAME= stooop-4.1.1
CATEGORIES= x11 tcl
@@ -11,17 +11,18 @@ COMMENT= Simple Tcl Only Object Oriented Programming scheme
DEPENDS+= tcl>=8.3.2:../../lang/tcl
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/stooop.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/switched.tcl ${PREFIX}/lib/tcl/stooop
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/stooop.htm ${PREFIX}/share/doc/tcl/stooop
- ${INSTALL_DATA} ${WRKSRC}/switched.htm ${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/stooop.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/switched.tcl ${DESTDIR}${PREFIX}/lib/tcl/stooop
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/stooop.htm ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
+ ${INSTALL_DATA} ${WRKSRC}/switched.htm ${DESTDIR}${PREFIX}/share/doc/tcl/stooop
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/syncdir/Makefile b/devel/syncdir/Makefile
index 45c36fa284f..1f90e84ee6a 100644
--- a/devel/syncdir/Makefile
+++ b/devel/syncdir/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/09/28 20:52:20 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= syncdir-1.0
@@ -11,6 +11,7 @@ HOMEPAGE= http://untroubled.org/syncdir/
COMMENT= Implementation of open, link, rename, and unlink
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
@@ -24,6 +25,6 @@ do-build:
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
- -c libsyncdir.la ${PREFIX}/lib/libsyncdir.la
+ -c libsyncdir.la ${DESTDIR}${PREFIX}/lib/libsyncdir.la
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/sysexits/Makefile b/devel/sysexits/Makefile
index 5baf975f641..c7db333f0f4 100644
--- a/devel/sysexits/Makefile
+++ b/devel/sysexits/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= sysexits-1.1
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Substitute <sysexits.h> for OS's lacking it
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CHECKSUM= YES
NO_BUILD= YES
@@ -17,6 +18,6 @@ NO_BUILD= YES
INSTALLATION_DIRS= include
do-install:
- ${INSTALL_DATA} ${FILESDIR}/sysexits.h ${PREFIX}/include/
+ ${INSTALL_DATA} ${FILESDIR}/sysexits.h ${DESTDIR}${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tavrasm/Makefile b/devel/tavrasm/Makefile
index 4841c373409..1b201d6d153 100644
--- a/devel/tavrasm/Makefile
+++ b/devel/tavrasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/08/08 21:02:53 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= tavrasm
@@ -10,6 +10,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.tavrasm.org/
COMMENT= Assembler for the Atmel AVR series of microcontrollers
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/.//:S/-/./}
BUILD_DIRS= src
USE_TOOLS+= lex bison
@@ -21,9 +23,9 @@ ONLY_FOR_COMPILER= gcc
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tavrasm
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tavrasm/README
- ${INSTALL_PROGRAM} ${WRKSRC}/src/tavrasm ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tavrasm.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tavrasm
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tavrasm/README
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tavrasm ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tavrasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/teem/Makefile b/devel/teem/Makefile
index 8cb152e663a..dd05b5ad79c 100644
--- a/devel/teem/Makefile
+++ b/devel/teem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/04/17 13:46:21 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= teem-1.8.0-src
@@ -11,6 +11,8 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://teem.sourceforge.net/
COMMENT= Libraries for manipulation of Structured Scientific Data
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
@@ -56,9 +58,9 @@ pre-install:
${WRKSRC}/${TEEM_ARCH}/lib/.empty
do-install:
- cd ${WRKSRC}/include && ${PAX} -rw . ${PREFIX}/include/
- cd ${WRKSRC}/${TEEM_ARCH}/bin && ${PAX} -rw . ${PREFIX}/bin/
- cd ${WRKSRC}/${TEEM_ARCH}/lib && ${PAX} -rw . ${PREFIX}/lib/
+ cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include/
+ cd ${WRKSRC}/${TEEM_ARCH}/bin && ${PAX} -rw . ${DESTDIR}${PREFIX}/bin/
+ cd ${WRKSRC}/${TEEM_ARCH}/lib && ${PAX} -rw . ${DESTDIR}${PREFIX}/lib/
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/devel/tkdiff/Makefile b/devel/tkdiff/Makefile
index 429aad0e5aa..255dc8878c1 100644
--- a/devel/tkdiff/Makefile
+++ b/devel/tkdiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/04/22 09:22:08 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= tkdiff
@@ -13,6 +13,7 @@ HOMEPAGE= http://sourceforge.net/projects/tkdiff/
COMMENT= Graphical 2-way diff/merge tool
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
DIST_SUBDIR= ${PKGNAME_NOREV}
NO_BUILD= yes
@@ -28,6 +29,6 @@ SUBST_SED.wish= -e 's,exec wish,exec ${WISH},'
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/tkdiff ${PREFIX}/bin/tkdiff4
+ ${INSTALL_SCRIPT} ${WRKDIR}/tkdiff ${DESTDIR}${PREFIX}/bin/tkdiff4
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tmake/Makefile b/devel/tmake/Makefile
index 885558b58c9..9cf99773632 100644
--- a/devel/tmake/Makefile
+++ b/devel/tmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/10/04 21:36:01 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= tmake-1.13
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.trolltech.com/developer/downloads/qt/freebies/
COMMENT= Cross-platform Makefile Tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
TMAKEPATH= ${PREFIX}/lib/tmake/netbsd-g++
@@ -40,15 +42,15 @@ pre-install:
${RM} -f ${WRKSRC}/lib/unix/*.orig
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/progen ${PREFIX}/bin/progen
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/tmake ${PREFIX}/bin/tmake
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tmake
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/tmake
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tmake
- ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/tmake
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/tmake/netbsd-g++
- ${INSTALL_DATA} ${WRKSRC}/lib/netbsd-g++/* ${PREFIX}/lib/tmake/netbsd-g++
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/tmake/unix
- ${INSTALL_DATA} ${WRKSRC}/lib/unix/* ${PREFIX}/lib/tmake/unix
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/progen ${DESTDIR}${PREFIX}/bin/progen
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/tmake ${DESTDIR}${PREFIX}/bin/tmake
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tmake
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/tmake
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tmake
+ ${INSTALL_DATA} ${WRKSRC}/example/* ${DESTDIR}${PREFIX}/share/examples/tmake
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tmake/netbsd-g++
+ ${INSTALL_DATA} ${WRKSRC}/lib/netbsd-g++/* ${DESTDIR}${PREFIX}/lib/tmake/netbsd-g++
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tmake/unix
+ ${INSTALL_DATA} ${WRKSRC}/lib/unix/* ${DESTDIR}${PREFIX}/lib/tmake/unix
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tpasm/Makefile b/devel/tpasm/Makefile
index 1336e35324d..0f152224963 100644
--- a/devel/tpasm/Makefile
+++ b/devel/tpasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/06 15:09:17 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= tpasm1.0r
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sqt.com/
COMMENT= Assembler for 6805, 68HC11, 6502, Surplus, 8051, Z80, PIC, and AVR
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/tpasm
USE_LANGUAGES= c++
USE_TOOLS+= gmake
@@ -19,10 +21,10 @@ USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tpasm
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpasm
- ${INSTALL_PROGRAM} ${WRKSRC}/tpasm ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/libdata/tpasm
- ${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${PREFIX}/share/doc/tpasm
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tpasm
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tpasm
+ ${INSTALL_PROGRAM} ${WRKSRC}/tpasm ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${DESTDIR}${PREFIX}/libdata/tpasm
+ ${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${DESTDIR}${PREFIX}/share/doc/tpasm
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ucpp/Makefile b/devel/ucpp/Makefile
index 53c34812dc8..05002b6513c 100644
--- a/devel/ucpp/Makefile
+++ b/devel/ucpp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/24 16:23:23 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= ucpp-1.3
@@ -9,10 +9,12 @@ MAINTAINER= asmodai@in-nomine.org
HOMEPAGE= http://pornin.nerim.net/ucpp/
COMMENT= C preprocessor and lexer
-MAN1= ucpp.1
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ucpp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/ucpp.1 ${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/unidiff/Makefile b/devel/unidiff/Makefile
index 535a8e4909f..59331e435ec 100644
--- a/devel/unidiff/Makefile
+++ b/devel/unidiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/07 09:13:51 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= part01
@@ -14,14 +14,16 @@ COMMENT= Converts between uni-diffs and context diffs
BUILD_DEPENDS+= gsharutils>=4.2.1:../../archivers/gsharutils
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${PREFIX}/bin/gunshar
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unify ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/unipatch ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/unify.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/unify ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unipatch ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/unify.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/uno/Makefile b/devel/uno/Makefile
index dfe038692b1..577b930c021 100644
--- a/devel/uno/Makefile
+++ b/devel/uno/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/09/10 15:19:16 xtraeme Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= uno_v212
@@ -14,7 +14,9 @@ COMMENT= Tool for source code analysis
WRKSRC= ${WRKDIR}/uno/src
MAKE_FILE= makefile
-USE_TOOLS+= bison
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= bison gmake flex
.include "../../mk/bsd.prefs.mk"
@@ -22,23 +24,21 @@ USE_TOOLS+= bison
BUILDLINK_TRANSFORM+= rm:-m32
.endif
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uno
- ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_long.pdf ${PREFIX}/share/doc/uno
- ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_man.pdf ${PREFIX}/share/doc/uno
- ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_manpage.pdf ${PREFIX}/share/doc/uno
- ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_short.pdf ${PREFIX}/share/doc/uno
- ${INSTALL_MAN} ${WRKDIR}/uno/doc/uno.1 ${PREFIX}/${PKGMANDIR}/man1
-
-USE_TOOLS+= bison gmake flex
-
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= makefile
SUBST_SED.prefix= -e "s,/usr/bin,${PREFIX}/bin,g"
SUBST_MESSAGE.prefix= Fixing hardcoded paths.
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/uno ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uno
+ ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_long.pdf ${DESTDIR}${PREFIX}/share/doc/uno
+ ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_man.pdf ${DESTDIR}${PREFIX}/share/doc/uno
+ ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_manpage.pdf ${DESTDIR}${PREFIX}/share/doc/uno
+ ${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_short.pdf ${DESTDIR}${PREFIX}/share/doc/uno
+ ${INSTALL_MAN} ${WRKDIR}/uno/doc/uno.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/vtcl/Makefile b/devel/vtcl/Makefile
index 5eee4fc2dd8..c2ebf50a6e6 100644
--- a/devel/vtcl/Makefile
+++ b/devel/vtcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 17:45:38 jlam Exp $
DISTNAME= vtcl-1.6.0
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vtcl.sourceforge.net/
COMMENT= Visual Tcl/Tk application development environment
+PKG_DESTDIR_SUPPORT= user-destdir
+
HAS_CONFIGURE= yes
NO_BUILD= yes
@@ -19,17 +21,17 @@ VTCLEGDIR= ${PREFIX}/share/examples/vtcl
CONFIGURE_ARGS+= --libdir ${VTCLDIR}
do-install:
- ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
- ${INSTALL_SCRIPT_DIR} ${VTCLDIR}
- ${INSTALL_SCRIPT_DIR} ${VTCLDOCDIR}
- ${INSTALL_SCRIPT_DIR} ${VTCLEGDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/vtcl.tcl ${VTCLDIR}
- cd ${WRKSRC} && ${PAX} -rwpam lib ${VTCLDIR}
- cd ${WRKSRC} && ${PAX} -rwpam images ${VTCLDIR}
- cd ${WRKSRC} && ${PAX} -rwpam doc ${VTCLDOCDIR}
- cd ${WRKSRC} && ${PAX} -rwpam demo ${VTCLEGDIR}
- cd ${WRKSRC} && ${PAX} -rwpam sample ${VTCLEGDIR}
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLDIR}
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLDOCDIR}
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLEGDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/vtcl.tcl ${DESTDIR}${VTCLDIR}
+ cd ${WRKSRC} && ${PAX} -rwpam lib ${DESTDIR}${VTCLDIR}
+ cd ${WRKSRC} && ${PAX} -rwpam images ${DESTDIR}${VTCLDIR}
+ cd ${WRKSRC} && ${PAX} -rwpam doc ${DESTDIR}${VTCLDOCDIR}
+ cd ${WRKSRC} && ${PAX} -rwpam demo ${DESTDIR}${VTCLEGDIR}
+ cd ${WRKSRC} && ${PAX} -rwpam sample ${DESTDIR}${VTCLEGDIR}
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/wide/Makefile b/devel/wide/Makefile
index 24fb7bbe5a8..c697336ed84 100644
--- a/devel/wide/Makefile
+++ b/devel/wide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/01/02 01:47:24 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= wide
@@ -12,6 +12,8 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://www2.mta.ac.il/~tal/WIDE/
COMMENT= IDE for the While programming language
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/WIDE
EXTRACT_OPTS_ZIP= -aqo
@@ -28,12 +30,12 @@ do-configure:
${RM} -fr ${WRKSRC}/images/Copy*
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/wide
- ${INSTALL_DATA_DIR} ${PREFIX}/libexec/wide
- ${INSTALL_SCRIPT} ${WRKSRC}/wide ${PREFIX}/bin/wide
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wide
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libexec/wide
+ ${INSTALL_SCRIPT} ${WRKSRC}/wide ${DESTDIR}${PREFIX}/bin/wide
cd ${WRKSRC} && ${PAX} -rw Study etc help images *.ini *.xml version.txt \
- ${PREFIX}/share/wide/
- cd ${WRKSRC} && ${PAX} -rw lib ${PREFIX}/libexec/wide/
+ ${DESTDIR}${PREFIX}/share/wide/
+ cd ${WRKSRC} && ${PAX} -rw lib ${DESTDIR}${PREFIX}/libexec/wide/
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/xdelta3/Makefile b/devel/xdelta3/Makefile
index b0c83dad905..9d93448ae60 100644
--- a/devel/xdelta3/Makefile
+++ b/devel/xdelta3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/04/23 10:17:42 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= xdelta30q
@@ -10,9 +10,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/xdelta/
COMMENT= Enhanced diff that works on binary files (version 3.x)
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= xdelta3
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xdelta3 ${PREFIX}/bin/xdelta3
+ ${INSTALL_PROGRAM} ${WRKSRC}/xdelta3 ${DESTDIR}${PREFIX}/bin/xdelta3
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/xxgdb/Makefile b/devel/xxgdb/Makefile
index 9daea4a888e..98c0bb662c2 100644
--- a/devel/xxgdb/Makefile
+++ b/devel/xxgdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/07 09:13:52 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= xxgdb-1.12
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=utilities/}
MAINTAINER= rh@trapdoor.vip.at
COMMENT= Graphical X11 interface for gdb
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_IMAKE= yes
@@ -21,9 +23,9 @@ MAKE_ENV+= CPPFLAGS=
INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xxgdb ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/XDbx.ad ${PREFIX}/lib/X11/app-defaults/XDbx
- ${INSTALL_DATA} ${WRKSRC}/xxgdb.man ${PREFIX}/${PKGMANDIR}/man1/xxgdb.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/xxgdb ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/XDbx.ad ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XDbx
+ ${INSTALL_DATA} ${WRKSRC}/xxgdb.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xxgdb.1
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
diff --git a/devel/z80-asm/Makefile b/devel/z80-asm/Makefile
index 741556f03d7..09cdbe44dcf 100644
--- a/devel/z80-asm/Makefile
+++ b/devel/z80-asm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:13:52 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= z80-asm-1.0
@@ -10,17 +10,19 @@ MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://artax.karlin.mff.cuni.cz/~brain/
COMMENT= Z80 assembly code assembler and disassembler
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/z80-asm ${PREFIX}/bin/z80-asm
- ${INSTALL_PROGRAM} ${WRKSRC}/z80-dis ${PREFIX}/bin/z80-dis
- ${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKSRC}/doc/z80-dis.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.5 ${PREFIX}/${PKGMANDIR}/man5
- ${INSTALL_DATA} ${WRKSRC}/doc/z80-file.5 ${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_PROGRAM} ${WRKSRC}/z80-asm ${DESTDIR}${PREFIX}/bin/z80-asm
+ ${INSTALL_PROGRAM} ${WRKSRC}/z80-dis ${DESTDIR}${PREFIX}/bin/z80-dis
+ ${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/z80-dis.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_DATA} ${WRKSRC}/doc/z80-file.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
.include "../../mk/bsd.pkg.mk"