summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2015-02-02 22:56:02 +0000
committerJason Helfman <jgh@FreeBSD.org>2015-02-02 22:56:02 +0000
commit7061f0347ddccfd66cb55872905d42bbb32ed8cf (patch)
tree06912fac750e917fb0f695e5ed66561e4ae1cee8 /x11/xlockmore
parentFix build with GCC 4.2. (diff)
- merge japanese/xlockmore into x11/xlockmore
Notes
Notes: svn path=/head/; revision=378336
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 5ac35c8682b5..e6291993269e 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= http://www.tux.org/~bagleyd/xlock/${PORTNAME}-${PORTVERSION}/ \
ftp://ibiblio.org/pub/Linux/X11/screensavers/ \
LOCAL/ehaupt
-MAINTAINER?= jgh@FreeBSD.org
+MAINTAINER= jgh@FreeBSD.org
COMMENT= Like XLock session locker/screen saver, but just more
USES= tar:bzip2
@@ -24,7 +24,7 @@ LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
CONFIGURE_ENV+= ac_freetype_includes="${LOCALBASE}/include/freetype2"
OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
- KERBEROS4 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK
+ KERBEROS4 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP
OPTIONS_SUB= yes
MESAGL_DESC= Mesa 3D (for GL modes)
@@ -38,6 +38,7 @@ GTK2_DESC= Build Gtk2 graphical shell
XLOCK_GROUP_DESC= Allow xlock group to logout
TIME_BOMB_DESC= Allow autologout
CUSTOMIZATION_DESC= Allow tune through resource file
+JP_DESC= Japanese Language Support
OPTIONS_RADIO= ONE
OPTIONS_RADIO_ONE= PAM XLOCK_GROUP
@@ -94,8 +95,11 @@ CONFIGURE_ARGS+= --enable-blank-only
CONFIGURE_ARGS+= --enable-use-mb
.endif
-.if defined(XLOCKMORE_LANG)
+.if ${PORT_OPTIONS:MJP}
+XLOCKMORE_LANG= ja
CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG}
+CATEGORIES+= japanese
+PORT_OPTIONS+= MB
.endif
.if ${PORT_OPTIONS:MSYSLOG}