pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod Drop dependency on nbitools.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0489245d29f9
branches:  trunk
changeset: 575999:0489245d29f9
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri May 28 11:06:34 2010 +0000

description:
Drop dependency on nbitools.
nbitools is not enough to maintain for recent platforms and no good support for
user-destdir (now, canna-lib and canna-canuum is user-destdir ready)

no objection in tech-pkg-ja@ about three months.

diffstat:

 inputmethod/canna-canuum/Makefile |   6 ++++--
 inputmethod/canna-lib/Makefile    |  17 ++---------------
 inputmethod/canna/Makefile.common |   7 +++++--
 3 files changed, 11 insertions(+), 19 deletions(-)

diffs (84 lines):

diff -r aa948e7bdb7d -r 0489245d29f9 inputmethod/canna-canuum/Makefile
--- a/inputmethod/canna-canuum/Makefile Fri May 28 10:08:20 2010 +0000
+++ b/inputmethod/canna-canuum/Makefile Fri May 28 11:06:34 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2010/02/20 10:37:24 obache Exp $
+# $NetBSD: Makefile,v 1.11 2010/05/28 11:06:34 obache Exp $
 
 PKGREVISION=   3
 CANNA_MODULE=  canuum
@@ -7,13 +7,15 @@
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 
-PKG_DESTDIR_SUPPORT=   destdir
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/ja_JP.EUC/man1
 
 CONFIGURE_DIRS=        . canuum
 BUILD_DIRS=    canuum
 
+INSTALL_MAKE_FLAGS+=   INSTUGIDFLAGS=
+
 SPECIAL_PERMS+=        bin/canuum ${SETUID_ROOT_PERMS}
 
 .include "../../inputmethod/canna-lib/buildlink3.mk"
diff -r aa948e7bdb7d -r 0489245d29f9 inputmethod/canna-lib/Makefile
--- a/inputmethod/canna-lib/Makefile    Fri May 28 10:08:20 2010 +0000
+++ b/inputmethod/canna-lib/Makefile    Fri May 28 11:06:34 2010 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2009/12/23 21:46:10 abs Exp $
+# $NetBSD: Makefile,v 1.12 2010/05/28 11:06:34 obache Exp $
 
 PKGREVISION=   2
 CANNA_MODULE=  lib
 
-PKG_DESTDIR_SUPPORT= destdir
+PKG_DESTDIR_SUPPORT= user-destdir
 
 .include "../../inputmethod/canna/Makefile.common"
 
@@ -24,17 +24,4 @@
 post-configure:
        @${LN} -s ${WRKSRC}/server/*.h ${WRKSRC}/include
 
-.include "../../mk/bsd.prefs.mk"
-
-# XXX Work around bug in nbitools where the correct DragonFly library
-# XXX symlinks are not created.
-# XXX
-.if ${OPSYS} == "DragonFly"
-post-install:
-.  for f in RKC RKC16 canna canna16
-       ${LN} -s lib${f}.so.1.1 ${PREFIX}/lib/lib${f}.so.1
-       ${LN} -s lib${f}.so.1 ${PREFIX}/lib/lib${f}.so
-.  endfor
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r aa948e7bdb7d -r 0489245d29f9 inputmethod/canna/Makefile.common
--- a/inputmethod/canna/Makefile.common Fri May 28 10:08:20 2010 +0000
+++ b/inputmethod/canna/Makefile.common Fri May 28 11:06:34 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.20 2010/02/20 10:41:59 obache Exp $
+# $NetBSD: Makefile.common,v 1.21 2010/05/28 11:06:34 obache Exp $
 #
 # Canna common makefile.
 #
@@ -23,7 +23,6 @@
 DISTINFO_FILE= ${.CURDIR}/../../inputmethod/canna/distinfo
 PATCHDIR=      ${.CURDIR}/../../inputmethod/canna/patches
 
-USE_TOOLS+=    itools
 USE_IMAKE=     yes
 CANNA_SPOOL=   ${VARBASE}/spool/canna
 CANNA_MODE=    0755
@@ -40,3 +39,7 @@
 SCRIPTS_ENV+=  ${CANNA_ENV}
 PLIST_SUBST+=  ${CANNA_ENV}
 FILES_SUBST+=  ${CANNA_ENV}
+
+INSTALL_MAKE_FLAGS+=   CHOWN=${TRUE}
+INSTALL_MAKE_FLAGS+=   CHGRP=${TRUE}
+INSTALL_MAKE_FLAGS+=   CHMOD=${TRUE}



Home | Main Index | Thread Index | Old Index