pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/61e440beabe3
branches: trunk
changeset: 561384:61e440beabe3
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jul 08 15:40:54 2009 +0000
description:
user-destdir support
diffstat:
audio/bmp-pulse/Makefile | 4 +-
biology/py-mol/Makefile | 9 +++-
cad/fasthenry/Makefile | 6 ++-
cad/fasthenry/distinfo | 4 +-
cad/fasthenry/patches/patch-aa | 76 +++++++++++++++++++++---------------------
5 files changed, 54 insertions(+), 45 deletions(-)
diffs (178 lines):
diff -r c5587d7139bc -r 61e440beabe3 audio/bmp-pulse/Makefile
--- a/audio/bmp-pulse/Makefile Wed Jul 08 15:26:26 2009 +0000
+++ b/audio/bmp-pulse/Makefile Wed Jul 08 15:40:54 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/19 00:54:16 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/08 15:47:21 joerg Exp $
#
DISTNAME= xmms-pulse-0.9.4
@@ -10,6 +10,8 @@
HOMEPAGE= http://0pointer.de/lennart/projects/xmms-pulse/
COMMENT= BMP output plugin for the PulseAudio sound server
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
diff -r c5587d7139bc -r 61e440beabe3 biology/py-mol/Makefile
--- a/biology/py-mol/Makefile Wed Jul 08 15:26:26 2009 +0000
+++ b/biology/py-mol/Makefile Wed Jul 08 15:40:54 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/03/05 18:51:26 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/08 15:40:54 joerg Exp $
DISTNAME= pymol-0_98-src
PKGNAME= ${PYPKGPREFIX}-mol-0.98
@@ -11,6 +11,7 @@
HOMEPAGE= http://pymol.sourceforge.net/
COMMENT= Molecular Visualization System
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/pymol-0.98
PYDISTUTILSPKG= yes
@@ -20,9 +21,11 @@
REPLACE_PYTHON= test/cyg test/run test/show test/win.py
+INSTALLATION_DIRS= bin
+
post-install:
- cd ${WRKSRC} && env ${MAKE_ENV} ${PYTHONBIN} setup2.py
- ${INSTALL_SCRIPT} ${WRKSRC}/pymol.com ${PREFIX}/bin/pymol
+ cd ${WRKSRC} && env ${MAKE_ENV} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} setup2.py
+ ${INSTALL_SCRIPT} ${WRKSRC}/pymol.com ${DESTDIR}${PREFIX}/bin/pymol
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
diff -r c5587d7139bc -r 61e440beabe3 cad/fasthenry/Makefile
--- a/cad/fasthenry/Makefile Wed Jul 08 15:26:26 2009 +0000
+++ b/cad/fasthenry/Makefile Wed Jul 08 15:40:54 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/12/05 20:49:51 rillig Exp $
+# $NetBSD: Makefile,v 1.28 2009/07/08 15:40:58 joerg Exp $
#
DISTNAME= fasthenry-3.0-12Nov96
@@ -11,6 +11,8 @@
HOMEPAGE= http://www.rle.mit.edu/cpg/research_codes.htm
COMMENT= Three-dimensional inductance extraction program
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/fasthenry-3.0
@@ -36,4 +38,6 @@
GCC_REQD+= 2.95.3
.endif
+INSTALLATION_DIRS= bin
+
.include "../../mk/bsd.pkg.mk"
diff -r c5587d7139bc -r 61e440beabe3 cad/fasthenry/distinfo
--- a/cad/fasthenry/distinfo Wed Jul 08 15:26:26 2009 +0000
+++ b/cad/fasthenry/distinfo Wed Jul 08 15:40:54 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2006/06/21 14:58:08 minskim Exp $
+$NetBSD: distinfo,v 1.11 2009/07/08 15:40:58 joerg Exp $
SHA1 (fasthenry-3.0.19961112/fasthenry-3.0-12Nov96.tar.Z) = 7117fdbaad95929a8d98944dced48cfb3a9e39d0
RMD160 (fasthenry-3.0.19961112/fasthenry-3.0-12Nov96.tar.Z) = 7059c9642c2246abf8101658027df1c89b7cab74
Size (fasthenry-3.0.19961112/fasthenry-3.0-12Nov96.tar.Z) = 1175247 bytes
-SHA1 (patch-aa) = 91667d5dc882f6d2a0654d7d875f81e69372a595
+SHA1 (patch-aa) = 0461bee57442482c1d6467c0d9caa8382016e479
SHA1 (patch-ab) = 3d593630b697f10b1ca1528e1818ccc33c6db464
SHA1 (patch-ac) = 0a35ee0bfdc460e8a262d5cdc1d80c5f8905340e
SHA1 (patch-ad) = 99cc8e4331756a425ebec914aa2bfaecadba38fb
diff -r c5587d7139bc -r 61e440beabe3 cad/fasthenry/patches/patch-aa
--- a/cad/fasthenry/patches/patch-aa Wed Jul 08 15:26:26 2009 +0000
+++ b/cad/fasthenry/patches/patch-aa Wed Jul 08 15:40:54 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2004/09/20 02:08:58 dmcmahill Exp $
+$NetBSD: patch-aa,v 1.6 2009/07/08 15:40:58 joerg Exp $
--- Makefile.orig Tue Nov 12 19:18:57 1996
+++ Makefile
@@ -10,42 +10,42 @@
+
+# install target added for NetBSD package
+install:
-+ ${BSD_INSTALL_PROGRAM} ./bin/fasthenry ${PREFIX}/bin
-+ ${BSD_INSTALL_PROGRAM} ./bin/zbuf ${PREFIX}/bin
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/30pin.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/3d_example2.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/3d_example2_coarse.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/Zc_3d_examp2.mat ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/Zc_pin_con7.mat ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/broken.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/gpexamp_copper.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/hole.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/holey_gp.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/make_nonuniform.c ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/msm.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/nonuni01.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/onebargp.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/pin-con2seg.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/pin-con7.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/pin-connect.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/plane.in ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/rom_check_con7_r20.ckt ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/simple_gp.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/template.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/together.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/together_nonuni.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/trace.test.release ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/trace_over_mesh_new.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/tree_sample.hier ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/tree_sample.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA} ./examples/vias.inp ${PREFIX}/share/examples/fasthenry
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/README ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/manual_001.ps ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/manual_002.ps ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/manual_003.ps ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/nonuniform_manual_1.ps ${PREFIX}/share/doc/fasthenry
-+ ${BSD_INSTALL_DATA} ./doc/nonuniform_manual_2.ps ${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_PROGRAM} ./bin/fasthenry ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_PROGRAM} ./bin/zbuf ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/30pin.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/3d_example2.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/3d_example2_coarse.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/Zc_3d_examp2.mat ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/Zc_pin_con7.mat ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/broken.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/gpexamp_copper.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/hole.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/holey_gp.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/make_nonuniform.c ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/msm.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/nonuni01.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/onebargp.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/pin-con2seg.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/pin-con7.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/pin-connect.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/plane.in ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/rom_check_con7_r20.ckt ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/simple_gp.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/template.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/together.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/together_nonuni.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/trace.test.release ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/trace_over_mesh_new.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/tree_sample.hier ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/tree_sample.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA} ./examples/vias.inp ${DESTDIR}${PREFIX}/share/examples/fasthenry
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/README ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/manual_001.ps ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/manual_002.ps ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/manual_003.ps ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/nonuniform_manual_1.ps ${DESTDIR}${PREFIX}/share/doc/fasthenry
++ ${BSD_INSTALL_DATA} ./doc/nonuniform_manual_2.ps ${DESTDIR}${PREFIX}/share/doc/fasthenry
+
+
Home |
Main Index |
Thread Index |
Old Index