pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc bl3ify and enable pkgviews installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4d37f5afa7b
branches:  trunk
changeset: 470054:b4d37f5afa7b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Mar 05 21:15:53 2004 +0000

description:
bl3ify and enable pkgviews installation.

diffstat:

 devel/nbitools/Makefile             |   6 +++++-
 inputmethod/sj3-dict/Makefile       |   8 ++++++--
 inputmethod/sj3-lib/Makefile        |   8 +++++---
 inputmethod/sj3-lib/buildlink3.mk   |  21 +++++++++++++++++++++
 inputmethod/sj3-server-bin/Makefile |  10 ++++++----
 5 files changed, 43 insertions(+), 10 deletions(-)

diffs (130 lines):

diff -r 908fd08cd3fe -r b4d37f5afa7b devel/nbitools/Makefile
--- a/devel/nbitools/Makefile   Fri Mar 05 21:08:52 2004 +0000
+++ b/devel/nbitools/Makefile   Fri Mar 05 21:15:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/07/17 21:31:55 grant Exp $
+# $NetBSD: Makefile,v 1.3 2004/03/05 21:15:53 minskim Exp $
 #
 
 DISTNAME=      nbitools-R6.3
@@ -10,6 +10,10 @@
 HOMEPAGE=      http://www.kitebird.com/imake-book/
 COMMENT=       imake and tools derived from NetBSD-current/xsrc
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=        yes
+
 ALL_TARGET=    World
 MAKE_ENV+=     GCCCMD=gcc
 
diff -r 908fd08cd3fe -r b4d37f5afa7b inputmethod/sj3-dict/Makefile
--- a/inputmethod/sj3-dict/Makefile     Fri Mar 05 21:08:52 2004 +0000
+++ b/inputmethod/sj3-dict/Makefile     Fri Mar 05 21:15:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:43:43 grant Exp $
+# $NetBSD: Makefile,v 1.5 2004/03/05 21:23:00 minskim Exp $
 #
 
 DISTNAME=      sj3-2.0.1.20
@@ -17,6 +17,10 @@
 DISTINFO_FILE= ${.CURDIR}/../sj3-lib/distinfo
 PATCHDIR=      ${.CURDIR}/../sj3-lib/patches
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=        yes
+
 .include "../../mk/bsd.prefs.mk"
 
 NO_MTREE=       YES
@@ -53,7 +57,7 @@
 do-install:
        @(cd ${WRKSRC}/dict/dict; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install)
 
-.include "../../devel/nbitools/nbitools.mk"
+.include "../../devel/nbitools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
 
 # Need to set this here _after_ bsd.pkg.mk
diff -r 908fd08cd3fe -r b4d37f5afa7b inputmethod/sj3-lib/Makefile
--- a/inputmethod/sj3-lib/Makefile      Fri Mar 05 21:08:52 2004 +0000
+++ b/inputmethod/sj3-lib/Makefile      Fri Mar 05 21:15:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:43:44 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/05 21:23:00 minskim Exp $
 # FreeBSD Id: Makefile,v 1.9 1998/11/28 05:08:27 asami Exp $
 
 DISTNAME=      sj3-2.0.1.20
@@ -11,7 +11,9 @@
 MAINTAINER=    tech-pkg-ja%jp.NetBSD.org@localhost
 COMMENT=       Japanese input method (library)
 
-USE_BUILDLINK2=        YES
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=        YES
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -25,5 +27,5 @@
 do-configure:
        @(cd ${WRKSRC}; ${XMKMF_CMD}; ${MAKE} Makefiles)
 
-.include "../../devel/nbitools/nbitools.mk"
+.include "../../devel/nbitools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 908fd08cd3fe -r b4d37f5afa7b inputmethod/sj3-lib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/sj3-lib/buildlink3.mk Fri Mar 05 21:15:53 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/05 21:23:00 minskim Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+SJ3_LIB_BUILDLINK3_MK:=        ${SJ3_LIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    sj3-lib
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nsj3-lib}
+BUILDLINK_PACKAGES+=   sj3-lib
+
+.if !empty(SJ3_LIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sj3-lib+=    sj3-lib>=2.0.1.20nb1
+BUILDLINK_PKGSRCDIR.sj3-lib?=  ../../inputmethod/sj3-lib
+
+.include "../../devel/nbitools/buildlink3.mk"
+
+.endif # SJ3_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 908fd08cd3fe -r b4d37f5afa7b inputmethod/sj3-server-bin/Makefile
--- a/inputmethod/sj3-server-bin/Makefile       Fri Mar 05 21:08:52 2004 +0000
+++ b/inputmethod/sj3-server-bin/Makefile       Fri Mar 05 21:15:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/03/02 17:49:51 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2004/03/05 21:23:00 minskim Exp $
 #
 
 DISTNAME=      sj3-2.0.1.20
@@ -14,7 +14,9 @@
 DISTINFO_FILE= ${.CURDIR}/../sj3-lib/distinfo
 PATCHDIR=      ${.CURDIR}/../sj3-lib/patches
 
-USE_BUILDLINK2=        YES
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=        YES
 USE_PKGINSTALL=        YES
 
 .include "../../mk/bsd.prefs.mk"
@@ -44,6 +46,6 @@
 do-configure:
        @(cd ${WRKSRC}; ${XMKMF_CMD}; ${MAKE} Makefiles)
 
-.include "../../devel/nbitools/nbitools.mk"
-.include "../../inputmethod/sj3-lib/buildlink2.mk"
+.include "../../devel/nbitools/buildlink3.mk"
+.include "../../inputmethod/sj3-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index