From owner-svn-ports-head@freebsd.org Wed May 18 13:18:53 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CBB0B41829; Wed, 18 May 2016 13:18:53 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52B831699; Wed, 18 May 2016 13:18:53 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4IDIqKk083599; Wed, 18 May 2016 13:18:52 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4IDIqNO083598; Wed, 18 May 2016 13:18:52 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605181318.u4IDIqNO083598@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 18 May 2016 13:18:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415441 - head/deskutils/easystroke X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 13:18:53 -0000 Author: amdmi3 Date: Wed May 18 13:18:52 2016 New Revision: 415441 URL: https://svnweb.freebsd.org/changeset/ports/415441 Log: - Simplify MASTER_SITES - Add LICENSE_FILE - Switch to options helpers Approved by: portmgr blanket Modified: head/deskutils/easystroke/Makefile Modified: head/deskutils/easystroke/Makefile ============================================================================== --- head/deskutils/easystroke/Makefile Wed May 18 12:57:00 2016 (r415440) +++ head/deskutils/easystroke/Makefile Wed May 18 13:18:52 2016 (r415441) @@ -5,12 +5,13 @@ PORTNAME= easystroke PORTVERSION= 0.6.0 PORTREVISION= 3 CATEGORIES= deskutils -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF MAINTAINER= t@tobik.me COMMENT= Easystroke is a gesture-recognition application for X11 LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= help2man:misc/help2man \ ${LOCALBASE}/include/xorg/xserver-properties.h:x11-servers/xorg-server @@ -23,22 +24,17 @@ USES= gettext gmake pkgconfig INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -BUILD_DEPENDS+= intltool-merge:textproc/intltool -PLIST_SUB+= NLS="" -ALL_TARGET= easystroke.desktop all man -.else +NLS_BUILD_DEPENDS= intltool-merge:textproc/intltool +NLS_ALL_TARGET= easystroke.desktop all man # This builds easystroke without translations -ALL_TARGET= man -PLIST_SUB+= NLS="@comment " +NLS_ALL_TARGET_OFF= man + # Create a .desktop file without translations. # It's usually created by intltool-merge during the build. -pre-build: +pre-build-NLS-off: @${CP} ${WRKSRC}/${PORTNAME}.desktop.in ${WRKSRC}/${PORTNAME}.desktop -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @@ -46,9 +42,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MNLS} +do-install-NLS-on: (cd ${WRKSRC}/po/ && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ "-name *.mo") -.endif .include