pkgsrc/games/puzzles/Makefile
wiz b179a12748 Update to 20141021.r10286:
Stop using NSApp in the OS X front end.
2014-10-23 11:42:14 +00:00

28 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.48 2014/10/23 11:42:14 wiz Exp $
DISTNAME= puzzles-20141021.r10286
CATEGORIES= games
# distfile changes daily
MASTER_SITES= # http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
COMMENT= Collection of small one-player puzzle games by Simon Tatham
LICENSE= mit
INSTALLATION_DIRS= bin share/doc/puzzles
USE_TOOLS+= gmake pkg-config
BUILDLINK_TRANSFORM+= rm:-Werror
MAKE_FLAGS= prefix=${PREFIX}
MAKE_FLAGS= gamesdir=${PREFIX}/bin
MAKE_FILE= Makefile.gtk
CFLAGS+= -DREVISION=${DISTNAME:S/puzzles-r//}
post-install:
${INSTALL_DATA} ${WRKSRC}/puzzles.txt \
${DESTDIR}${PREFIX}/share/doc/puzzles
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"