aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/scim-pinyin
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-03 22:34:23 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-03 22:34:23 +0800
commitd3e930c16cf4d6057c6ea3324852a0503ac50592 (patch)
tree57da8507c97235b192d6538b378303594fad69d6 /chinese/scim-pinyin
parentdc46d9be6eeb1e6703d45ca57113ec4b1427e1c9 (diff)
downloadfreebsd-ports-gnome-d3e930c16cf4d6057c6ea3324852a0503ac50592.tar.gz
freebsd-ports-gnome-d3e930c16cf4d6057c6ea3324852a0503ac50592.tar.zst
freebsd-ports-gnome-d3e930c16cf4d6057c6ea3324852a0503ac50592.zip
- Add LICENSE
- Strip libraries - Use options helpers
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>