pkgsrc/games/xblockout/Makefile

35 lines
864 B
Makefile
Raw Normal View History

2011-06-25 13:32:09 +02:00
# $NetBSD: Makefile,v 1.6 2011/06/25 11:32:09 obache Exp $
#
DISTNAME= xbl-1.1.6
CATEGORIES= games
MASTER_SITES= http://www710.univ-lyon1.fr/~exco/XBL/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www710.univ-lyon1.fr/ftp/xbl/xbl.html
COMMENT= 3D-tetris-like game
2011-05-25 07:54:38 +02:00
LICENSE= gnu-gpl-v1
2011-06-25 13:32:09 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= imake
GNU_CONFIGURE= yes
2011-06-25 13:32:09 +02:00
USE_GAMESGROUP= yes
# libXext is not needed
BUILDLINK_TRANSFORM+= rm:-lXext
INSTALLATION_DIRS= bin lib/X11/app-defaults
2011-06-25 13:32:09 +02:00
USERGROUP_PHASE= configure
SUBST_CLASSES+= gamegid
SUBST_STAGE.gamegid= pre-configure
SUBST_FILES.gamegid= Makefile.in
SUBST_SED.gamegid= -e 's/@GROUP_GID@/GROUP_GID=${PKG_GID.${GAMES_GROUP}}/g'
SPECIAL_PERMS+= bin/xbl ${SETGID_GAMES_PERMS}
OWN_DIRS_PERMS+= ${PREFIX}/lib/X11/xbl ${GAMEDIR_PERMS}
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"