Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mechanical changes to add DESTDIR support to packages that install

their files via a custom do-install target.
  • Loading branch information...
commit 8460968fa7a8a19be0331180c70f30e404586ce3 1 parent 9733876
jlam authored
Showing with 1,038 additions and 737 deletions.
  1. +11 −6 devel/RTFM/Makefile
  2. +6 −4 devel/SDL-intro-en/Makefile
  3. +6 −4 devel/SDL-intro-ko/Makefile
  4. +12 −8 devel/ZenTest/Makefile
  5. +9 −7 devel/acme/Makefile
  6. +9 −6 devel/acunia-jam/Makefile
  7. +11 −7 devel/adocman/Makefile
  8. +12 −10 devel/apache-ant/Makefile
  9. +13 −11 devel/apache-ant15/Makefile
  10. +6 −3 devel/as31/Makefile
  11. +5 −3 devel/bmake/Makefile
  12. +7 −5 devel/boaconstructor/Makefile
  13. +41 −39 devel/bugzilla/Makefile
  14. +40 −38 devel/bugzilla3/Makefile
  15. +5 −3 devel/c4/Makefile
  16. +7 −5 devel/cfitsio/Makefile
  17. +8 −3 devel/cflow-mode/Makefile
  18. +6 −4 devel/cgdb/Makefile
  19. +5 −2 devel/cmake-mode/Makefile
  20. +4 −2 devel/cvs2cl/Makefile
  21. +4 −2 devel/cvs2html/Makefile
  22. +11 −8 devel/cvs2p4/Makefile
  23. +15 −11 devel/cvsgraph/Makefile
  24. +13 −9 devel/cvsup-bin/Makefile
  25. +4 −2 devel/cvsup-gui-bin/Makefile
  26. +8 −6 devel/device-driver-doc-de/Makefile
  27. +8 −4 devel/dia2code/Makefile
  28. +8 −6 devel/distccmon-gnome/Makefile
  29. +7 −5 devel/distccmon-gtk/Makefile
  30. +8 −5 devel/dmake/Makefile
  31. +7 −4 devel/eclipse/Makefile
  32. +6 −3 devel/electricfence/Makefile
  33. +6 −4 devel/elib/Makefile.common
  34. +18 −14 devel/emacs-ilisp/Makefile
  35. +13 −9 devel/etrace/Makefile
  36. +4 −2 devel/fastdep/Makefile
  37. +9 −6 devel/florist/Makefile
  38. +14 −10 devel/fromcvs/Makefile
  39. +21 −15 devel/gentle/Makefile
  40. +6 −3 devel/gettext-m4/Makefile
  41. +5 −2 devel/gflib/Makefile
  42. +7 −5 devel/haskell-mode/Makefile
  43. +4 −2 devel/idiff/Makefile
  44. +8 −5 devel/its4/Makefile
  45. +11 −6 devel/jam/Makefile
  46. +12 −10 devel/javacc/Makefile
  47. +10 −7 devel/javadeps/Makefile
  48. +8 −5 devel/jflex/Makefile
  49. +12 −10 devel/jgrasp/Makefile
  50. +16 −12 devel/lcc/Makefile
  51. +17 −15 devel/ldapsdk/Makefile
  52. +7 −5 devel/libetm/Makefile
  53. +8 −4 devel/libgetopt/Makefile
  54. +15 −12 devel/libhfs/Makefile
  55. +8 −4 devel/libiberty/Makefile
  56. +7 −5 devel/libmemmgr/Makefile
  57. +5 −3 devel/libportlib/Makefile
  58. +9 −7 devel/libtai/Makefile
  59. +7 −5 devel/libts/Makefile
  60. +12 −10 devel/libwhisker2/Makefile
  61. +8 −6 devel/lincvs/Makefile
  62. +11 −9 devel/ltsa/Makefile
  63. +11 −9 devel/mantis/Makefile
  64. +8 −6 devel/monotone-server/Makefile
  65. +4 −2 devel/monotone-viz/Makefile
  66. +7 −5 devel/mph/Makefile
  67. +9 −7 devel/netbeans-ide/Makefile
  68. +6 −4 devel/newt/Makefile
  69. +8 −4 devel/nsis/Makefile
  70. +6 −3 devel/nspr-reference/Makefile
  71. +10 −7 devel/nss/Makefile
  72. +6 −3 devel/ode/Makefile
  73. +17 −15 devel/opengrok/Makefile
  74. +6 −3 devel/p4-docs/Makefile
  75. +5 −2 devel/p4/Makefile
  76. +5 −2 devel/p4d/Makefile
  77. +5 −2 devel/p4pr/Makefile
  78. +4 −2 devel/p4web/Makefile
  79. +7 −5 devel/palmpower/Makefile
  80. +10 −5 devel/picprg/Makefile
  81. +5 −3 devel/psvn/Makefile
  82. +7 −5 devel/pvs/Makefile
  83. +9 −7 devel/py-idle/Makefile
  84. +5 −3 devel/python-mode/Makefile
  85. +6 −3 devel/ratfor/Makefile
  86. +9 −7 devel/rdp/Makefile
  87. +8 −6 devel/refinecvs/Makefile
  88. +4 −2 devel/rox-lib/Makefile
  89. +6 −4 devel/rscode/Makefile
  90. +7 −5 devel/rsltc/Makefile
  91. +11 −8 devel/ruby-activesupport/Makefile
  92. +7 −4 devel/ruby-bsearch/Makefile
  93. +7 −4 devel/ruby-byaccr/Makefile
  94. +5 −3 devel/ruby-mode/Makefile
  95. +6 −4 devel/ruby-rd-mode/Makefile
  96. +13 −8 devel/rubyforge/Makefile
  97. +6 −4 devel/sablecc/Makefile
  98. +8 −5 devel/semantic/Makefile
  99. +5 −3 devel/sgi-stl-docs/Makefile
  100. +5 −3 devel/sgi-stl/Makefile
  101. +5 −3 devel/sml-mode/Makefile
  102. +11 −9 devel/st/Makefile
  103. +10 −8 devel/stlport/Makefile
  104. +9 −8 devel/stooop/Makefile
  105. +3 −2 devel/syncdir/Makefile
  106. +3 −2 devel/sysexits/Makefile
  107. +7 −5 devel/tavrasm/Makefile
  108. +6 −4 devel/teem/Makefile
  109. +3 −2 devel/tkdiff/Makefile
  110. +13 −11 devel/tmake/Makefile
  111. +8 −6 devel/tpasm/Makefile
  112. +5 −3 devel/ucpp/Makefile
  113. +6 −4 devel/unidiff/Makefile
  114. +15 −15 devel/uno/Makefile
  115. +14 −12 devel/vtcl/Makefile
  116. +8 −6 devel/wide/Makefile
  117. +4 −2 devel/xdelta3/Makefile
  118. +6 −4 devel/xxgdb/Makefile
  119. +9 −7 devel/z80-asm/Makefile
View
17 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"
View
10 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"
View
10 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"
View
20 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"
View
16 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"
View
15 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"
View
18 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"
View
22 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"
View
24 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"
View
9 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"
View
8 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"
View
12 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"
View
80 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"
View
78 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"
View
8 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"
View
12 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"
View
11 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"
View
10 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"
View
7 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"
View
6 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"
View
6 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"
View
19 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"
View
26 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"
View
22 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"
View
6 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"
View
14 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"
View
12 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"
View
14 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"
View
12 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"
View
13 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"
View
11 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"
View
9 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"
View
10 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"
View
32 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"
View
22 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"
View
6 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"
View
15 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"
View
24 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"
View
36 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"
View
9 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"
View
7 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"
View
12 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"
View
6 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"
View
13 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"
View
17 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"
View
22 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"
View
17 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"
View
13 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"
View
22 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
View
28 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"
View
32 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