Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 14:34:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388430 - head/chinese/scim-pinyin
Message-ID:  <201506031434.t53EYNek084941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun  3 14:34:23 2015
New Revision: 388430
URL: https://svnweb.freebsd.org/changeset/ports/388430

Log:
  - Add LICENSE
  - Strip libraries
  - Use options helpers

Modified:
  head/chinese/scim-pinyin/Makefile

Modified: head/chinese/scim-pinyin/Makefile
==============================================================================
--- head/chinese/scim-pinyin/Makefile	Wed Jun  3 14:33:08 2015	(r388429)
+++ head/chinese/scim-pinyin/Makefile	Wed Jun  3 14:34:23 2015	(r388430)
@@ -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
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506031434.t53EYNek084941>