GARNAME = puzzles GARVERSION = 20091021 CATEGORIES = games MASTER_SITES = svnco:// SVN_PATH = svn://svn.tartarus.org/sgt/puzzles DISTFILES = $(DISTNAME).tar.gz NOCHECKSUM = $(DISTFILES) LIBDEPS = gnome/gtk DESCRIPTION = A collection of puzzle games from Simon Tatham HOME_URL = http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ CONFIGURE_SCRIPTS = none BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile-DESTDIR rename include ../../gar.mk DESTDIR_INSTALL_ARGS += \ prefix=$(prefix) \ gamesdir=$(prefix)/bin configure-none: @cd $(WORKSRC) && perl mkfiles.pl @sed -i 's,-Werror,,g' $(WORKSRC)/Makefile $(MAKECOOKIE) pre-install: @mkdir -p $(packageprefix)/bin $(MAKECOOKIE) # Prefix all the names, since some of the puzzles are called rather generic # things like "net" that collide with other packages. install-rename: @cd $(packageprefix)/bin && \ for x in *; do \ mv $$x puzzles-$$x; \ done $(MAKECOOKIE)