From owner-svn-ports-head@freebsd.org Tue May 17 02:37:45 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 C7EF5B3E063; Tue, 17 May 2016 02:37:45 +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 98AA21E4F; Tue, 17 May 2016 02:37:45 +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 u4H2bigR045593; Tue, 17 May 2016 02:37:44 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4H2bi6X045592; Tue, 17 May 2016 02:37:44 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605170237.u4H2bi6X045592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 17 May 2016 02:37:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415370 - head/games/glightoff 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: Tue, 17 May 2016 02:37:45 -0000 Author: amdmi3 Date: Tue May 17 02:37:44 2016 New Revision: 415370 URL: https://svnweb.freebsd.org/changeset/ports/415370 Log: - Simplify MASTER_SITES - Switch to USES=localbase - Pet portlint - Switch to options helpers Modified: head/games/glightoff/Makefile Modified: head/games/glightoff/Makefile ============================================================================== --- head/games/glightoff/Makefile Tue May 17 02:04:08 2016 (r415369) +++ head/games/glightoff/Makefile Tue May 17 02:37:44 2016 (r415370) @@ -5,24 +5,21 @@ PORTNAME= glightoff PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Simple (but not so easy to solve!) puzzle game -BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser - LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake iconv pkgconfig +BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser + +USES= gmake iconv localbase pkgconfig GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 USE_XORG= x11 -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS NLS @@ -30,14 +27,10 @@ OPTIONS_SUB= yes NLS_USES= gettext -.include - -post-configure: -.if ! ${PORT_OPTIONS:MNLS} +post-configure-NLS-off: @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile -.endif -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}