svn commit: r387717 - head/chinese/wenju

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 28 11:40:16 UTC 2015


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 at 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>


More information about the svn-ports-all mailing list