japanese/skkinput3: Remove invalid option

Remove RSKKSERV option (Depends on japanese/rskkserv expired in 2014-09)
Add LICENSE
Add japanese/skkserv option
If not selected in the options, do not install dictionary server
Switch post-install to post-install-DOCS-on
Sort options (pet portclippy)
Regenerate patches (pet portlint)
Add OPTIONS_SUB=yes and remove SKK10=*

PR:		279386
Approved by:	koma2@lovepeers.org (maintainer, timeout > 1 month)
This commit is contained in:
mew14930xvi 2024-07-03 01:23:17 +03:00 committed by Vladimir Druzenko
parent 51ebcb95f1
commit 246e3def00
4 changed files with 29 additions and 28 deletions

View file

@ -1,45 +1,45 @@
PORTNAME= skkinput3 PORTNAME= skkinput
PORTVERSION= 3.0.6 PORTVERSION= 3.0.6
PORTREVISION= 10 PORTREVISION= 11
CATEGORIES= japanese x11 CATEGORIES= japanese x11
MASTER_SITES= OSDN/${PORTNAME} MASTER_SITES= OSDN/${PORTNAME}
DISTNAME= skkinput-${PORTVERSION} PKGNAMESUFFIX= 3
MAINTAINER= koma2@lovepeers.org MAINTAINER= koma2@lovepeers.org
COMMENT= SKK-like Japanese input method for X11 COMMENT= SKK-like Japanese input method for X11
WWW= https://sourceforge.jp/projects/skkinput3/ WWW= https://sourceforge.jp/projects/skkinput3/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL
USES= imake xorg USES= imake xorg
USE_GCC= yes
USE_CSTD= gnu89 USE_CSTD= gnu89
USE_GCC= yes
USE_XORG= ice sm x11 xext xmu xt USE_XORG= ice sm x11 xext xmu xt
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
PORTDOCS= *.jis dot.skkinput ChangeLog PORTDOCS= *.jis dot.skkinput ChangeLog
OPTIONS_DEFINE= SKK10 DOCS OPTIONS_DEFINE= DOCS SKK10
OPTIONS_RADIO= SKKSERVER OPTIONS_DEFAULT= SKK9
OPTIONS_RADIO_SKKSERVER= DBSKKD RSKKSERV OPTIONS_RADIO= SKKSERVER
OPTIONS_RADIO_SKKSERVER= DBSKKD SKK9
OPTIONS_SUB= yes
SKKSERVER_DESC= Skkserver selection DBSKKD_DESC= Use ja-dbskkd-cdb as skkserver
DBSKKD_DESC= Use ja-dbskkd-cdb as skkserver SKK10_DESC= Install SKK10 elisp files
RSKKSERV_DESC= Use ja-rskkserv as skkserver SKK9_DESC= Use ja-skkserv as skkserver
SKK10_DESC= Install SKK10 elisp files SKKSERVER_DESC= Skkserver selection
DBSKKD_RUN_DEPENDS= ${LOCALBASE}/libexec/dbskkd-cdb:japanese/dbskkd-cdb
SKK9_RUN_DEPENDS= ${LOCALBASE}/sbin/skkserv:japanese/skkserv
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSKK10} .if ${PORT_OPTIONS:MSKK10}
PLIST_SUB+= SKK8="@comment " SKK10="" PLIST_SUB+= SKK8="@comment "
.else .else
PLIST_SUB+= SKK8="" SKK10="@comment " PLIST_SUB+= SKK8=""
.endif
.if ${PORT_OPTIONS:MDBSKKD}
RUN_DEPENDS= ${LOCALBASE}/libexec/dbskkd-cdb:japanese/dbskkd-cdb
.elif ${PORT_OPTIONS:MRSKKSERV}
RUN_DEPENDS= ${LOCALBASE}/libexec/rskkserv:japanese/rskkserv
.else
RUN_DEPENDS= ${LOCALBASE}/sbin/skkserv:japanese/skkserv
.endif .endif
post-patch: post-patch:
@ -49,7 +49,7 @@ post-patch:
${WRKSRC}/Skkinput.conf ${WRKSRC}/Skkinput.conf
.endif .endif
post-install: post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View file

@ -1,2 +1,3 @@
TIMESTAMP = 1719957097
SHA256 (skkinput-3.0.6.tar.gz) = 619b2725846bb8d31ed376c6643e22115a44acf8829e582591df04af7d868837 SHA256 (skkinput-3.0.6.tar.gz) = 619b2725846bb8d31ed376c6643e22115a44acf8829e582591df04af7d868837
SIZE (skkinput-3.0.6.tar.gz) = 644769 SIZE (skkinput-3.0.6.tar.gz) = 644769

View file

@ -1,6 +1,6 @@
--- Imakefile.orig Sun Jul 21 02:47:26 2002 --- Imakefile.orig 2002-12-06 16:48:21 UTC
+++ Imakefile Wed Aug 14 15:48:59 2002 +++ Imakefile
@@ -23,8 +23,8 @@ @@ -37,8 +37,8 @@ OBJS = main.o
SRCS = main.c SRCS = main.c
OBJS = main.o OBJS = main.o

View file

@ -1,5 +1,5 @@
--- Skkinput.conf.orig Fri Jan 10 23:57:00 2003 --- Skkinput.conf.orig 2003-01-30 16:38:00 UTC
+++ Skkinput.conf Tue Jan 21 21:06:51 2003 +++ Skkinput.conf
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
/* skk.el, init.el install directory /* skk.el, init.el install directory
*/ */
@ -8,7 +8,7 @@
/* If you want skk10.62a compatible mode, /* If you want skk10.62a compatible mode,
* uncomment UseSkk10 and comment UseSkk8. * uncomment UseSkk10 and comment UseSkk8.
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM #define UseSkk10 YES
/* Skkinput3 Window uses these fonts. /* Skkinput3 Window uses these fonts.
*/ */