pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ns Fix modular Xorg. Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f2cf65d68d2
branches:  trunk
changeset: 547782:1f2cf65d68d2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Oct 02 18:08:19 2008 +0000

description:
Fix modular Xorg. Add DESTDIR support.

diffstat:

 net/ns/Makefile |  27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diffs (56 lines):

diff -r 98037aceb09a -r 1f2cf65d68d2 net/ns/Makefile
--- a/net/ns/Makefile   Thu Oct 02 18:06:36 2008 +0000
+++ b/net/ns/Makefile   Thu Oct 02 18:08:19 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2008/09/18 04:48:12 minskim Exp $
+# $NetBSD: Makefile,v 1.31 2008/10/02 18:08:19 joerg Exp $
 
 DISTNAME=      ns-2.33
 CATEGORIES=    net
@@ -9,6 +9,7 @@
 COMMENT=       The UCB/LBNL Network Simulator Version 2
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 BUILDLINK_API_DEPENDS.tcl+=    tcl>=8.4.12nb1
 BUILDLINK_API_DEPENDS.tk+=     tk>=8.4.12nb2
@@ -33,7 +34,18 @@
 
 MESSAGE_SUBST+=                HOMEPAGE=${HOMEPAGE}
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/ns
+
+post-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/dec/dec-tr-stat ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/epa/epa-tr-stat ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/nlanr/nlanr-tr-stat ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/setdest ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/ucb/ucb-tr-stat ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${DESTDIR}${PREFIX}/share/doc/ns
+
+BUILDLINK_DEPMETHOD.libXt?=    build
 
 .include "../../devel/tcl-tclcl/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"
@@ -41,17 +53,8 @@
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
 .include "../../x11/tk/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 
-post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/dec/dec-tr-stat ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/epa/epa-tr-stat ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/nlanr/nlanr-tr-stat ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/setdest ${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/ucb/ucb-tr-stat ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ns
-       ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${PREFIX}/share/doc/ns
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index