mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix build error.
Update MASTER_SITES. Add LICENSE. Conform current LIB_DEPENDS convention. Remove NO_STAGE mark. Use %%DATADIR%% in pkg-plist.
This commit is contained in:
parent
990d366814
commit
2eb4172d38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359699
@ -6,10 +6,12 @@ PKGNAMESUFFIX= -skk
|
||||
MAINTAINER= nobutaka@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:${PORTSDIR}/japanese/skkserv
|
||||
|
||||
CONFIGURE_ARGS= --with-skk
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -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@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
|
||||
|
10
japanese/jmode/files/patch-src_dispatch.cpp
Normal file
10
japanese/jmode/files/patch-src_dispatch.cpp
Normal file
@ -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"
|
10
japanese/jmode/files/patch-src_keyatom.cpp
Normal file
10
japanese/jmode/files/patch-src_keyatom.cpp
Normal file
@ -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"
|
||||
|
10
japanese/jmode/files/patch-src_kkconv.cpp
Normal file
10
japanese/jmode/files/patch-src_kkconv.cpp
Normal file
@ -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で書かれている。
|
10
japanese/jmode/files/patch-src_ximim.cpp
Normal file
10
japanese/jmode/files/patch-src_ximim.cpp
Normal file
@ -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;
|
||||
|
10
japanese/jmode/files/patch-src_ximpacket.cpp
Normal file
10
japanese/jmode/files/patch-src_ximpacket.cpp
Normal file
@ -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"
|
||||
|
||||
//
|
10
japanese/jmode/files/patch-src_ximtrans.cpp
Normal file
10
japanese/jmode/files/patch-src_ximtrans.cpp
Normal file
@ -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__
|
@ -1,4 +1,4 @@
|
||||
bin/jmode
|
||||
share/jmode/jmode-default.conf
|
||||
share/jmode/jmode-kana.conf
|
||||
@dirrm share/jmode
|
||||
%%DATADIR%%/jmode-default.conf
|
||||
%%DATADIR%%/jmode-kana.conf
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user