svn commit: r388430 - head/chinese/scim-pinyin

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 3 14:34:24 UTC 2015


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>


More information about the svn-ports-head mailing list