svn commit: r415370 - head/games/glightoff
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue May 17 02:37:45 UTC 2016
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 at 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}
More information about the svn-ports-head
mailing list