svn commit: r341137 - head/games/pushover

Baptiste Daroussin bapt at FreeBSD.org
Sat Jan 25 23:25:16 UTC 2014


Author: bapt
Date: Sat Jan 25 23:25:14 2014
New Revision: 341137
URL: http://svnweb.freebsd.org/changeset/ports/341137
QAT: https://qat.redports.org/buildarchive/r341137/

Log:
  Switch to use lua 5.2

Modified:
  head/games/pushover/Makefile

Modified: head/games/pushover/Makefile
==============================================================================
--- head/games/pushover/Makefile	Sat Jan 25 23:08:38 2014	(r341136)
+++ head/games/pushover/Makefile	Sat Jan 25 23:25:14 2014	(r341137)
@@ -3,11 +3,12 @@
 
 PORTNAME=	pushover
 PORTVERSION=	0.0.5
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/Pushover/${PORTVERSION}
 
 MAINTAINER=	amdmi3 at FreeBSD.org
-COMMENT=	A puzzle game where the goal is to push over all dominoes
+COMMENT=	Puzzle game where the goal is to push over all dominoes
 
 LICENSE=	GPLv3
 
@@ -15,10 +16,9 @@ LIB_DEPENDS=	libpng.so:${PORTSDIR}/graph
 
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl mixer ttf
-USE_LUA=	5.1
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		gettext gmake pkgconfig
+USES=		gettext gmake pkgconfig lua
 
 PORTDOCS=	*
 PORTDATA=	*
@@ -33,6 +33,6 @@ DESKTOP_ENTRIES="Pushover" \
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|lua5.1|lua-5.1|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|lua5.1|lua-${LUA_VER}|' ${WRKSRC}/configure
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list