2016-08-03 12:22:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.60 2016/08/03 10:22:46 adam Exp $
|
2002-02-14 00:57:43 +01:00
|
|
|
|
2004-11-17 16:47:03 +01:00
|
|
|
DISTNAME= gtkballs-3.1.5
|
2016-08-03 12:22:08 +02:00
|
|
|
PKGREVISION= 30
|
2002-02-14 00:57:43 +01:00
|
|
|
CATEGORIES= games
|
2006-07-17 20:37:45 +02:00
|
|
|
MASTER_SITES= http://gtkballs.antex.ru/dist/
|
2002-02-14 00:57:43 +01:00
|
|
|
|
2009-01-04 15:08:14 +01:00
|
|
|
MAINTAINER= shattered@NetBSD.org
|
2002-02-14 00:57:43 +01:00
|
|
|
HOMEPAGE= http://gtkballs.antex.ru/
|
|
|
|
COMMENT= GTK+ clone of "Color Lines"
|
2012-03-10 14:20:10 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2002-02-14 00:57:43 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
2004-11-08 15:35:34 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/games
|
2006-06-11 16:22:51 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2004-03-10 03:18:46 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2002-02-14 00:57:43 +01:00
|
|
|
|
2007-06-16 00:15:11 +02:00
|
|
|
BUILD_DEFS+= GAMEDATAMODE
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
2012-04-01 16:39:35 +02:00
|
|
|
PLIST_SUBST+= VARBASE=${VARBASE}
|
2004-11-08 15:35:34 +01:00
|
|
|
|
2013-02-04 20:41:11 +01:00
|
|
|
USE_GAMESGROUP= yes
|
2010-02-19 21:14:07 +01:00
|
|
|
SPECIAL_PERMS+= bin/gtkballs ${SETGID_GAMES_PERMS}
|
|
|
|
|
2007-06-16 00:15:11 +02:00
|
|
|
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/gtkballs-scores \
|
2010-02-19 21:14:07 +01:00
|
|
|
${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
2006-07-17 20:37:45 +02:00
|
|
|
|
2002-02-14 00:57:43 +01:00
|
|
|
post-install:
|
2010-01-30 00:01:53 +01:00
|
|
|
mv ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/gtkballs.6x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/gtkballs.6
|
2002-02-14 00:57:43 +01:00
|
|
|
|
2004-03-10 03:18:46 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2002-02-14 00:57:43 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|