# Template file for 'puzzles' pkgname=puzzles version=10196 revision=1 hostmakedepends="subversion libsasl perl pkg-config" makedepends="gtk+-devel" short_desc="Simon Tatham's Portable Puzzle Collection" maintainer="Christian Neukirchen " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" do_fetch() { svn co -r${version} svn://svn.tartarus.org/sgt/puzzles ${pkgname}-${version} } do_build() { ./mkfiles.pl CC="${CC}" CFLAGS="${CFLAGS}" make ${makejobs} -f Makefile.gtk \ prefix=/usr BINPREFIX=puzzles- } do_install() { vmkdir usr/bin make -f Makefile.gtk prefix=/usr gamesdir=/usr/bin \ DESTDIR="${DESTDIR}" BINPREFIX=puzzles- install vlicense LICENCE LICENSE }