svn commit: r359699 - in head/japanese: jmode jmode-skk jmode/files
MANTANI Nobutaka
nobutaka at FreeBSD.org
Sat Jun 28 13:42:06 UTC 2014
Author: nobutaka
Date: Sat Jun 28 13:42:04 2014
New Revision: 359699
URL: http://svnweb.freebsd.org/changeset/ports/359699
QAT: https://qat.redports.org/buildarchive/r359699/
Log:
Fix build error.
Update MASTER_SITES.
Add LICENSE.
Conform current LIB_DEPENDS convention.
Remove NO_STAGE mark.
Use %%DATADIR%% in pkg-plist.
Added:
head/japanese/jmode/files/patch-src_dispatch.cpp (contents, props changed)
head/japanese/jmode/files/patch-src_keyatom.cpp (contents, props changed)
head/japanese/jmode/files/patch-src_kkconv.cpp (contents, props changed)
head/japanese/jmode/files/patch-src_ximim.cpp (contents, props changed)
head/japanese/jmode/files/patch-src_ximpacket.cpp (contents, props changed)
head/japanese/jmode/files/patch-src_ximtrans.cpp (contents, props changed)
Modified:
head/japanese/jmode-skk/Makefile
head/japanese/jmode/Makefile
head/japanese/jmode/pkg-plist
Modified: head/japanese/jmode-skk/Makefile
==============================================================================
--- head/japanese/jmode-skk/Makefile Sat Jun 28 13:14:00 2014 (r359698)
+++ head/japanese/jmode-skk/Makefile Sat Jun 28 13:42:04 2014 (r359699)
@@ -6,10 +6,12 @@ PKGNAMESUFFIX= -skk
MAINTAINER= nobutaka at FreeBSD.org
COMMENT= XIM server for SKK input method
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
MASTERDIR= ${.CURDIR}/../../japanese/jmode
DESCR= ${.CURDIR}/pkg-descr
-LIB_DEPENDS= # empty
.if defined(WITH_DBSKKD) || exists(${LOCALBASE}/libexec/dbskkd-cdb)
RUN_DEPENDS= ${LOCALBASE}/libexec/dbskkd-cdb:${PORTSDIR}/japanese/dbskkd-cdb
.else
@@ -18,5 +20,4 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/skkserv:$
CONFIGURE_ARGS= --with-skk
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
Modified: head/japanese/jmode/Makefile
==============================================================================
--- head/japanese/jmode/Makefile Sat Jun 28 13:14:00 2014 (r359698)
+++ head/japanese/jmode/Makefile Sat Jun 28 13:42:04 2014 (r359699)
@@ -5,19 +5,22 @@ PORTNAME= jmode
PORTVERSION= 0.6.7
PORTREVISION= 7
CATEGORIES= japanese
-MASTER_SITES= http://downloads.sourceforge.jp/anthy/5467/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= anthy/5467
MAINTAINER= nobutaka at FreeBSD.org
COMMENT?= XIM server for Anthy input method
-LIB_DEPENDS?= anthy.1:${PORTSDIR}/japanese/anthy
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy
USE_GNOME= gtk12
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
Added: head/japanese/jmode/files/patch-src_dispatch.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_dispatch.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/dispatch.cpp.orig 2014-06-28 22:10:26.000000000 +0900
++++ src/dispatch.cpp 2014-06-28 22:10:45.000000000 +0900
+@@ -16,6 +16,7 @@
+ #include <X11/Xatom.h>
+ #include <unistd.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <map>
+
+ #include "jmode.h"
Added: head/japanese/jmode/files/patch-src_keyatom.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_keyatom.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/keyatom.cpp.orig 2014-06-28 22:19:00.000000000 +0900
++++ src/keyatom.cpp 2014-06-28 22:19:19.000000000 +0900
+@@ -9,6 +9,7 @@
+ # include <alloca.h>
+ # endif
+ #endif
++#include <stdlib.h>
+
+ #include "jmode.h"
+
Added: head/japanese/jmode/files/patch-src_kkconv.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_kkconv.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/kkconv.cpp.orig 2014-06-28 22:15:17.000000000 +0900
++++ src/kkconv.cpp 2014-06-28 22:15:38.000000000 +0900
+@@ -18,6 +18,7 @@
+ # include <alloca.h>
+ # endif
+ #endif
++#include <stdlib.h>
+
+ // ¥¥ã¥é¥¯¥¿¥³¡¼¥É32¤«¤é¡¢
+ //¤³¤Î¥½¡¼¥¹¤ÏEUC¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¡£
Added: head/japanese/jmode/files/patch-src_ximim.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_ximim.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/ximim.cpp.orig 2014-06-28 22:13:59.000000000 +0900
++++ src/ximim.cpp 2014-06-28 22:14:31.000000000 +0900
+@@ -15,6 +15,7 @@
+ # include <alloca.h>
+ # endif
+ #endif
++#include <stdlib.h>
+
+ static std::map<int,XimIM *> g_ims;
+
Added: head/japanese/jmode/files/patch-src_ximpacket.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_ximpacket.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/ximpacket.cpp.orig 2014-06-28 22:17:36.000000000 +0900
++++ src/ximpacket.cpp 2014-06-28 22:18:08.000000000 +0900
+@@ -3,6 +3,7 @@
+ #endif
+
+ #include <list>
++#include <stdlib.h>
+ #include "xim.h"
+
+ //
Added: head/japanese/jmode/files/patch-src_ximtrans.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/jmode/files/patch-src_ximtrans.cpp Sat Jun 28 13:42:04 2014 (r359699)
@@ -0,0 +1,10 @@
+--- src/ximtrans.cpp.orig 2014-06-28 22:11:37.000000000 +0900
++++ src/ximtrans.cpp 2014-06-28 22:11:54.000000000 +0900
+@@ -6,6 +6,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "xim.h"
+
+ #ifndef __GNUC__
Modified: head/japanese/jmode/pkg-plist
==============================================================================
--- head/japanese/jmode/pkg-plist Sat Jun 28 13:14:00 2014 (r359698)
+++ head/japanese/jmode/pkg-plist Sat Jun 28 13:42:04 2014 (r359699)
@@ -1,4 +1,4 @@
bin/jmode
-share/jmode/jmode-default.conf
-share/jmode/jmode-kana.conf
- at dirrm share/jmode
+%%DATADIR%%/jmode-default.conf
+%%DATADIR%%/jmode-kana.conf
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list