From owner-svn-ports-all@freebsd.org Wed Oct 12 09:03:46 2016 Return-Path: Delivered-To: svn-ports-all@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 80950C0E8BF; Wed, 12 Oct 2016 09:03:46 +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 508A1791; Wed, 12 Oct 2016 09:03:46 +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 u9C93jCO000972; Wed, 12 Oct 2016 09:03:45 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9C93jeB000971; Wed, 12 Oct 2016 09:03:45 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201610120903.u9C93jeB000971@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 12 Oct 2016 09:03:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423837 - head/sysutils/lxtask X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 09:03:46 -0000 Author: amdmi3 Date: Wed Oct 12 09:03:45 2016 New Revision: 423837 URL: https://svnweb.freebsd.org/changeset/ports/423837 Log: - Fix LICENSE - Add LICENSE_FILE - Switch to options helpers Modified: head/sysutils/lxtask/Makefile Modified: head/sysutils/lxtask/Makefile ============================================================================== --- head/sysutils/lxtask/Makefile Wed Oct 12 09:01:17 2016 (r423836) +++ head/sysutils/lxtask/Makefile Wed Oct 12 09:03:45 2016 (r423837) @@ -10,7 +10,8 @@ MASTER_SITES= SF/lxde/LXTask%20%28task%2 MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight desktop-independent task manager -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake iconv pkgconfig USE_GNOME= gtk20 intlhack @@ -22,22 +23,13 @@ PORTDOCS= AUTHORS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes -NLS_USES= gettext +NLS_USES= gettext localbase +NLS_USES_OFF= gettext-tools -.include +post-patch-NLS-off: + @${REINPLACE_CMD} -e 's|po src|src|' ${WRKSRC}/Makefile.in -.if ${PORT_OPTIONS:MNLS} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.endif - -post-patch: -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's|po src|src|' \ - ${WRKSRC}/Makefile.in -.endif - -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}