pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Mechanical changes to add full DESTDIR support to pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b928cc987631
branches:  trunk
changeset: 539292:b928cc987631
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Mar 03 01:50:26 2008 +0000

description:
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.

diffstat:

 cad/MyHDL-gplcver/Makefile    |   7 ++-
 cad/MyHDL-iverilog/Makefile   |   7 ++-
 cad/dinotrace-mode/Makefile   |  12 +++--
 cad/eagle/Makefile            |  10 ++-
 cad/fastcap/Makefile          |  96 +++++++++++++++++++++---------------------
 cad/gplcver/Makefile          |  11 +++-
 cad/mcalc/Makefile            |   7 +-
 cad/mpac/Makefile             |  10 ++-
 cad/ntesla/Makefile           |   6 +-
 cad/qcad-partlibrary/Makefile |   8 ++-
 cad/qcad/Makefile             |  10 ++-
 cad/simian-docs/Makefile      |   9 ++-
 cad/simian/Makefile           |  11 +++-
 cad/spiceprm/Makefile         |  14 +++--
 cad/verilog-mode/Makefile     |   9 ++-
 cad/xchiplogo/Makefile        |   6 +-
 chat/bitchbot/Makefile        |  12 ++--
 chat/bitlbee/Makefile         |  26 ++++++----
 chat/bnc/Makefile             |  20 ++++----
 chat/cgiirc/Makefile          |  67 ++++++++++++++++-------------
 chat/eggdrop/Makefile         |  48 +++++++++++---------
 chat/epic4-doc/Makefile       |  14 +++--
 chat/gaim-icb/Makefile        |  12 +++--
 chat/goofey/Makefile          |   8 ++-
 chat/i2cb/Makefile            |  15 ++++--
 chat/icbirc/Makefile          |   8 ++-
 chat/iip/Makefile             |  16 ++++--
 chat/ircu/Makefile            |  28 ++++++-----
 chat/iroffer/Makefile         |  20 ++++----
 chat/jabberd/Makefile         |  28 ++++++-----
 chat/mu-conference/Makefile   |   8 ++-
 chat/pircbot/Makefile         |  12 +++--
 chat/roxirc/Makefile          |  21 ++++----
 chat/tik/Makefile             |  28 ++++++-----
 chat/tkicb/Makefile           |  21 +++++----
 chat/tkirc/Makefile           |  16 ++++---
 chat/tkirc2/Makefile          |  21 ++++----
 chat/unrealircd/Makefile      |  46 +++++++++++--------
 chat/zenicb/Makefile          |   8 ++-
 chat/zephyr-mode/Makefile     |   8 ++-
 40 files changed, 421 insertions(+), 323 deletions(-)

diffs (truncated from 1611 to 300 lines):

diff -r 9e00c67d75be -r b928cc987631 cad/MyHDL-gplcver/Makefile
--- a/cad/MyHDL-gplcver/Makefile        Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/MyHDL-gplcver/Makefile        Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 01:50:26 jlam Exp $
 #
 
 DISTNAME=      myhdl-0.5.1
@@ -10,12 +10,15 @@
 HOMEPAGE=      http://jandecaluwe.com/Tools/MyHDL/Overview.html
 COMMENT=       GPL Cver cosimulation support for py-MyHDL
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DIRS+=   cosimulation/cver
 MAKE_FILE=     makefile.lnx
 
 do-install:
+       ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib/gplcver
        ${INSTALL_DATA} ${WRKSRC}/cosimulation/cver/myhdl_vpi.so \
-               ${PREFIX}/lib/gplcver
+               ${DESTDIR}${PREFIX}/lib/gplcver
 
 .include "../../cad/gplcver/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/MyHDL-iverilog/Makefile
--- a/cad/MyHDL-iverilog/Makefile       Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/MyHDL-iverilog/Makefile       Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/05/04 16:58:05 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 01:50:26 jlam Exp $
 #
 
 DISTNAME=      myhdl-0.5.1
@@ -10,11 +10,14 @@
 HOMEPAGE=      http://jandecaluwe.com/Tools/MyHDL/Overview.html
 COMMENT=       Icarus Verilog cosimulation support for py-MyHDL
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DIRS+=   cosimulation/icarus
 
 do-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ivl
        ${INSTALL_DATA} ${WRKSRC}/cosimulation/icarus/myhdl.vpi \
-               ${PREFIX}/lib/ivl
+               ${DESTDIR}${PREFIX}/lib/ivl
 
 .include "../../cad/verilog/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/dinotrace-mode/Makefile
--- a/cad/dinotrace-mode/Makefile       Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/dinotrace-mode/Makefile       Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/03/02 02:46:15 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 01:50:26 jlam Exp $
 #
 
 DISTNAME=      dinotrace-9.3c
@@ -13,8 +13,9 @@
 
 DEPENDS+=      ${EMACS_PKGNAME_PREFIX}verilog-mode>=3.13:../../cad/verilog-mode
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../mk/bsd.prefs.mk"
-
 .include "../../mk/emacs.mk"
 
 .if ${EMACS_FLAVOR} == "emacs"
@@ -28,11 +29,12 @@
 do-build:
        for f in ${SRCS}; do                                            \
                ${EMACS} --no-init-file --no-site-file -batch           \
-               -f batch-byte-compile ${WRKSRC}/lisp/$$f;                       \
+               -f batch-byte-compile ${WRKSRC}/lisp/$$f;               \
        done
 
 do-install:
-       ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/${PKGBASE}
-       cd ${WRKSRC}/lisp && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${EMACS_LISPPREFIX}/${PKGBASE}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
+       cd ${WRKSRC}/lisp && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc}   \
+               ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
 
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/eagle/Makefile
--- a/cad/eagle/Makefile        Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/eagle/Makefile        Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/07/29 05:18:36 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/03 01:50:27 jlam Exp $
 #
 
 DISTNAME=              eagle-lin-eng-4.14
@@ -12,6 +12,8 @@
 HOMEPAGE=              http://www.cadsoft.de/
 COMMENT=               Easy to use printed circuit board editor
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 RESTRICTED=            Redistribution not permitted
 LICENSE=               fee-based-commercial-use
 NO_SRC_ON_FTP=         ${RESTRICTED}
@@ -29,8 +31,8 @@
        ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" <${FILESDIR}/eagle >${WRKDIR}/eagle
 
 do-install:
-       ${INSTALL_PROGRAM_DIR} ${PREFIX}/eagle
-       cd ${WRKSRC} && ${CP} -R ${WRKSRC}/* ${PREFIX}/eagle
-       ${INSTALL_SCRIPT} ${WRKDIR}/eagle ${PREFIX}/bin
+       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/eagle
+       cd ${WRKSRC} && ${CP} -R ${WRKSRC}/* ${DESTDIR}${PREFIX}/eagle
+       ${INSTALL_SCRIPT} ${WRKDIR}/eagle ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/fastcap/Makefile
--- a/cad/fastcap/Makefile      Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/fastcap/Makefile      Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/08/10 03:21:39 minskim Exp $
+# $NetBSD: Makefile,v 1.31 2008/03/03 01:50:27 jlam Exp $
 #
 
 DISTNAME=      fastcap-2.0-18Sep92
@@ -12,6 +12,8 @@
 HOMEPAGE=      http://www.rle.mit.edu/cpg/research_codes.htm
 COMMENT=       Fast 3-D capacitance solver
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 EXTRACT_USING= gtar    # cannot be extracted with pax as tar
 
 WRKSRC=                        ${WRKDIR}
@@ -37,52 +39,52 @@
 .endfor
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/fastcap ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/cubegen ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/capgen ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/busgen ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/pipedgen ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/pyragen ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/1x1bus.lst ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/1x1coarse.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/1x1fine.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/1x1nonuni.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/README ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/big_sphere1.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/coated_sph.lst ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/cond_air_1x1.qui ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/cond_dielec_1x1.qui ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/connector2.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/connector3.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/connector4.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/cubeeg.fig ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_face.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides_2x2.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_topbot.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/pin ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/pipeeg.fig ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell.lst ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell.out ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_bitl.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_botd.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_cond.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_gnd.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_test.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_topd.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/ramgen.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/sphere1.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/sphere2.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/sphere3.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/testgen.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/testrun.sh ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/examples/via.neu ${PREFIX}/share/examples/fastcap
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/doc/mtt.ps  ${PREFIX}/share/doc/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/doc/tcad.ps  ${PREFIX}/share/doc/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/doc/ug.ps  ${PREFIX}/share/doc/fastcap
-       ${INSTALL_DATA} ${WRKSRC}/README.docs ${PREFIX}/share/doc/fastcap
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/fastcap ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/cubegen ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/capgen ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/busgen ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/pipedgen ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/pyragen ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/1x1bus.lst ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/1x1coarse.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/1x1fine.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/1x1nonuni.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/README ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/big_sphere1.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/coated_sph.lst ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/cond_air_1x1.qui ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/cond_dielec_1x1.qui ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/connector2.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/connector3.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/connector4.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/cubeeg.fig ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_face.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides_2x2.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/dielec_topbot.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/pin ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/pipeeg.fig ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell.lst ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell.out ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_bitl.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_botd.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_cond.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_gnd.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_test.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramcell_topd.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/ramgen.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/sphere1.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/sphere2.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/sphere3.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/testgen.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/testrun.sh ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/examples/via.neu ${DESTDIR}${PREFIX}/share/examples/fastcap
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/doc/mtt.ps  ${DESTDIR}${PREFIX}/share/doc/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/doc/tcad.ps  ${DESTDIR}${PREFIX}/share/doc/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/doc/ug.ps  ${DESTDIR}${PREFIX}/share/doc/fastcap
+       ${INSTALL_DATA} ${WRKSRC}/README.docs ${DESTDIR}${PREFIX}/share/doc/fastcap
 
 .include "../../mk/tex.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/gplcver/Makefile
--- a/cad/gplcver/Makefile      Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/gplcver/Makefile      Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 01:50:27 jlam Exp $
 #
 
 DISTNAME=              gplcver-2.11a.src
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://www.pragmatic-c.com/gpl-cver/
 COMMENT=               Verilog simulator
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DIRS=            src
 MAKE_FILE=             makefile.freebsd
 BUILDLINK_LIBS.dl=     ${BUILDLINK_LDADD.dl}
@@ -18,8 +20,9 @@
 .include "../../mk/dlopen.buildlink3.mk"
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gplcver/pli_incs
-       ${INSTALL_DATA} ${WRKSRC}/pli_incs/*.h ${PREFIX}/lib/gplcver/pli_incs
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/gplcver/pli_incs
+       ${INSTALL_DATA} ${WRKSRC}/pli_incs/*.h \
+               ${DESTDIR}${PREFIX}/lib/gplcver/pli_incs
 
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/mcalc/Makefile
--- a/cad/mcalc/Makefile        Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/mcalc/Makefile        Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/12/05 20:49:52 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 01:50:27 jlam Exp $
 #
 
 DISTNAME=      mcalc-1.5
@@ -10,6 +10,7 @@
 COMMENT=       JavaScript based microstrip analysis/synthesis calculator
 
 PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 NO_BUILD=      yes
 
@@ -19,7 +20,7 @@
 MESSAGE_SUBST+=        MCALCBASE=${MCALCBASE}
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/${MCALCBASE}
-       ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/${MCALCBASE}/
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${MCALCBASE}
+       ${INSTALL_DATA} ${WRKSRC}/* ${DESTDIR}${PREFIX}/${MCALCBASE}/
 
 .include "../../mk/bsd.pkg.mk"
diff -r 9e00c67d75be -r b928cc987631 cad/mpac/Makefile
--- a/cad/mpac/Makefile Mon Mar 03 01:40:21 2008 +0000
+++ b/cad/mpac/Makefile Mon Mar 03 01:50:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/05 23:08:22 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 01:50:27 jlam Exp $
 #
 



Home | Main Index | Thread Index | Old Index