Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2016 02:37:44 +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: r415370 - head/games/glightoff
Message-ID:  <201605170237.u4H2bi6X045592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
-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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605170237.u4H2bi6X045592>