From f4090bff4aee8373de99994b9ec2a61bca833dc4 Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 7 May 2012 18:29:58 +0000 Subject: GLightOff is a simple (but not so easy to solve!) puzzle game. The goal is to switch off all the lights on the 5x5 board. WWW: http://glightoff.sourceforge.net/ PR: ports/167232 Submitted by: nemysis@gmx.ch --- games/Makefile | 1 + games/glightoff/Makefile | 53 +++++++++++++++++++++++++++++++++++++++++++++++ games/glightoff/distinfo | 2 ++ games/glightoff/pkg-descr | 4 ++++ games/glightoff/pkg-plist | 10 +++++++++ 5 files changed, 70 insertions(+) create mode 100644 games/glightoff/Makefile create mode 100644 games/glightoff/distinfo create mode 100644 games/glightoff/pkg-descr create mode 100644 games/glightoff/pkg-plist (limited to 'games') diff --git a/games/Makefile b/games/Makefile index e41019313933..5a03649f5faf 100644 --- a/games/Makefile +++ b/games/Makefile @@ -304,6 +304,7 @@ SUBDIR += glest SUBDIR += glest-data SUBDIR += glife + SUBDIR += glightoff SUBDIR += glmaze SUBDIR += glob2 SUBDIR += glsfcave diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile new file mode 100644 index 000000000000..4525ebfd4c3f --- /dev/null +++ b/games/glightoff/Makefile @@ -0,0 +1,53 @@ +# New Ports collection makefile for: glightoff +# Date created: 21 April 2012 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= glightoff +PORTVERSION= 1.0.0 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= GLightOff is a simple (but not so easy to solve!) puzzle game + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= glib20 gtk20 intltool pkgconfig +USE_XORG= x11 + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO + +OPTIONS= NLS "Enable gettext support" on + +.include + +.if defined(WITHOUT_NLS) +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + +post-configure: +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile +.endif + +post-install: +# Documentations +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/games/glightoff/distinfo b/games/glightoff/distinfo new file mode 100644 index 000000000000..20f3a6352967 --- /dev/null +++ b/games/glightoff/distinfo @@ -0,0 +1,2 @@ +SHA256 (glightoff-1.0.0.tar.gz) = 14dd3174e75c175b437cd5a6c8a9eddc29865b62c588463892031cd0a355938a +SIZE (glightoff-1.0.0.tar.gz) = 349274 diff --git a/games/glightoff/pkg-descr b/games/glightoff/pkg-descr new file mode 100644 index 000000000000..cdc3029b0437 --- /dev/null +++ b/games/glightoff/pkg-descr @@ -0,0 +1,4 @@ +GLightOff is a simple (but not so easy to solve!) puzzle game. +The goal is to switch off all the lights on the 5x5 board. + +WWW: http://glightoff.sourceforge.net/ diff --git a/games/glightoff/pkg-plist b/games/glightoff/pkg-plist new file mode 100644 index 000000000000..351116914d77 --- /dev/null +++ b/games/glightoff/pkg-plist @@ -0,0 +1,10 @@ +bin/glightoff +share/applications/glightoff.desktop +%%NLS%%share/locale/es/LC_MESSAGES/glightoff.mo +%%NLS%%share/locale/fr/LC_MESSAGES/glightoff.mo +%%NLS%%share/locale/it/LC_MESSAGES/glightoff.mo +share/pixmaps/glightoff.png +share/pixmaps/glightoff/bulb_on.svg +share/pixmaps/glightoff/bulb_off.svg +@dirrm share/pixmaps/glightoff +@dirrmtry share/applications -- cgit