Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2015 11:40:16 +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: r387717 - head/chinese/wenju
Message-ID:  <201505281140.t4SBeGEL069711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May 28 11:40:15 2015
New Revision: 387717
URL: https://svnweb.freebsd.org/changeset/ports/387717

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

Modified:
  head/chinese/wenju/Makefile

Modified: head/chinese/wenju/Makefile
==============================================================================
--- head/chinese/wenju/Makefile	Thu May 28 11:13:53 2015	(r387716)
+++ head/chinese/wenju/Makefile	Thu May 28 11:40:15 2015	(r387717)
@@ -3,28 +3,25 @@
 
 PORTNAME=	wenju
 PORTVERSION=	1.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	chinese
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Collection of writing tools in Chinese
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		libtool pkgconfig
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
+INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
 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?201505281140.t4SBeGEL069711>