Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2019 21:05:09 +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: r517285 - head/games/pushover
Message-ID:  <201911112105.xABL59YD024506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 11 21:05:09 2019
New Revision: 517285
URL: https://svnweb.freebsd.org/changeset/ports/517285

Log:
  - Fix LICENSE (COPYING is GPLv3, but source files mention GPLv2+)
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Optionize NLS (doesn't build with --disable-nls, so just make translation files installation optional)

Modified:
  head/games/pushover/Makefile
  head/games/pushover/pkg-plist

Modified: head/games/pushover/Makefile
==============================================================================
--- head/games/pushover/Makefile	Mon Nov 11 19:38:16 2019	(r517284)
+++ head/games/pushover/Makefile	Mon Nov 11 21:05:09 2019	(r517285)
@@ -10,15 +10,14 @@ MASTER_SITES=	SF/${PORTNAME}/Pushover/${PORTVERSION}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Puzzle game where the goal is to push over all dominoes
 
-LICENSE=	GPLv3
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
+USES=		gettext gmake localbase:ldflags lua pkgconfig sdl
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl mixer ttf
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		gettext gmake lua pkgconfig sdl
 
 PORTDOCS=	*
 PORTDATA=	*
@@ -30,7 +29,8 @@ DESKTOP_ENTRIES="Pushover" \
 		"Game;LogicGame;" \
 		false
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|lua5.1|lua-${LUA_VER}|' ${WRKSRC}/configure

Modified: head/games/pushover/pkg-plist
==============================================================================
--- head/games/pushover/pkg-plist	Mon Nov 11 19:38:16 2019	(r517284)
+++ head/games/pushover/pkg-plist	Mon Nov 11 21:05:09 2019	(r517285)
@@ -1,9 +1,9 @@
 bin/pushover
-share/locale/cs/LC_MESSAGES/pushover.mo
-share/locale/de/LC_MESSAGES/pushover.mo
-share/locale/eo/LC_MESSAGES/pushover.mo
-share/locale/es/LC_MESSAGES/pushover.mo
-share/locale/fr/LC_MESSAGES/pushover.mo
-share/locale/it/LC_MESSAGES/pushover.mo
-share/locale/ru/LC_MESSAGES/pushover.mo
-share/locale/sv/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/de/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/es/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/it/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/pushover.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/pushover.mo



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