diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-26 00:33:54 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-26 00:33:54 +0000 |
commit | 69a52214a8d48d3070d4bd6bc3cfb3752cbf3170 (patch) | |
tree | 8e9ec7d8d59a4cf16133c2b4620f0454a709c459 /japanese/skkinput | |
parent | 5c9d222854b071400da1581bed887ca79252dde9 (diff) | |
download | ports-69a52214a8d48d3070d4bd6bc3cfb3752cbf3170.tar.gz ports-69a52214a8d48d3070d4bd6bc3cfb3752cbf3170.zip |
Notes
Diffstat (limited to 'japanese/skkinput')
-rw-r--r-- | japanese/skkinput/Makefile | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/japanese/skkinput/Makefile b/japanese/skkinput/Makefile index 5d0eb3a42706..24372cb57b38 100644 --- a/japanese/skkinput/Makefile +++ b/japanese/skkinput/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: skkinput -# Date created: 28 Jan 1998 -# Whom: Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp> -# +# Created by: Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp> # $FreeBSD$ -# PORTNAME= skkinput PORTVERSION= 2.06.4 @@ -13,24 +9,22 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} MASTER_SITE_SUBDIR= skkinput2/6273 MAINTAINER= koma2@lovepeers.org -COMMENT= An SKK-like Japanese input method for X11 +COMMENT= SKK-like Japanese input method for X11 USE_IMAKE= yes USE_XORG= ice sm x11 xext xt xmu -OPTIONS= DBSKKD "Use ja-dbskkd-cdb as skkserver" off \ - RSKKSERV "Use ja-rskkserv as skkserver" off +OPTIONS_RADIO= RG1 +OPTIONS_RADIO_RG1= DBSKKD RSKKSERV +RG1_DESC= Skkserver Selection +DBSKKD_DESC= Use ja-dbskkd-cdb as skkserver +RSKKSERV_DESC= Use ja-rskkserv as skkserver -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -# sanity check -.if defined(WITH_DBSKKD) && defined(WITH_RSKKSERV) -.error Cannot define both WITH_DBSKKD and WITH_RSKKSERV simultaneously. -.endif - -.if defined(WITH_DBSKKD) || exists(${LOCALBASE}/libexec/dbskkd-cdb) && !defined(WITH_RSKKSERV) +.if ${PORT_OPTIONS:MDBSKKD} RUN_DEPENDS= ${LOCALBASE}/libexec/dbskkd-cdb:${PORTSDIR}/japanese/dbskkd-cdb -.elif defined(WITH_RSKKSERV) || exists(${LOCALBASE}/libexec/rskkserv) && !defined(WITH_DBSKKD) +.elif ${PORT_OPTIONS:MRSKKSERV} RUN_DEPENDS= ${LOCALBASE}/libexec/rskkserv:${PORTSDIR}/japanese/rskkserv .else RUN_DEPENDS= ${LOCALBASE}/sbin/skkserv:${PORTSDIR}/japanese/skkserv @@ -43,10 +37,10 @@ MANCOMPRESSED= yes DOCS= *.jis ChangeLog \ myeval/skkinputlisp.doc dot.skkinput -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} @( cd ${WRKSRC} ; ${INSTALL_DATA} ${DOCS} ${DOCSDIR}) .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |