aboutsummaryrefslogtreecommitdiff
path: root/chinese/scim-pinyin
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-03 14:34:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-03 14:34:23 +0000
commit74816a593fa4cbaea8952c37160fccdd26e169db (patch)
tree57da8507c97235b192d6538b378303594fad69d6 /chinese/scim-pinyin
parentcc981d13caba765a423bb851e8eab18ba22081ea (diff)
downloadports-74816a593fa4cbaea8952c37160fccdd26e169db.tar.gz
ports-74816a593fa4cbaea8952c37160fccdd26e169db.zip
Notes
Diffstat (limited to 'chinese/scim-pinyin')
-rw-r--r--chinese/scim-pinyin/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile
index 9e330a3fbed7..753c808c15e4 100644
--- a/chinese/scim-pinyin/Makefile
+++ b/chinese/scim-pinyin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= scim-pinyin
PORTVERSION= 0.5.92
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= chinese
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
@@ -13,24 +13,20 @@ COMMENT= SCIM Chinese Smart Pinyin input method
BUILD_DEPENDS= scim>=1.2.0:${PORTSDIR}/textproc/scim
RUN_DEPENDS:= ${BUILD_DEPENDS}
-GNU_CONFIGURE= yes
-USES= gmake iconv libtool:keepla pathfix pkgconfig
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gmake iconv libtool:keepla pathfix pkgconfig
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-skim-support
+INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib -lintl
OPTIONS_DEFINE= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>