GARNAME = adv770 GARVERSION = 1.88 CATEGORIES = games MASTER_SITES = http://www.mipmip.org/adv770/ DISTFILES = adv770c.tgz LIBDEPS = sys/ncurses sys/readline WORKSRC = $(WORKDIR)/acode/adv770 DESCRIPTION = An extended 770-point version of Adventure HOME_URL = http://www.mipmip.org/adv770/ CONFIGURE_SCRIPTS = none BUILD_SCRIPTS = none INSTALL_SCRIPTS = none include ../../gar.mk # Set the directory to look for the database in. The variable name here is not # going to be stable, so when you upgrade this you'll need to check it. configure-none: @sed -i 's,\(n162 =\) NULL,\1 "$(prefix)/share/adv770",' $(WORKSRC)/*.c $(MAKECOOKIE) build-none: @cd $(WORKSRC) && env HOME=$(prefix) GLK=NO ./advbuild $(MAKECOOKIE) install-none: @$(INSTALL_BIN) $(WORKSRC)/adv770 @$(INSTALL_DOCS) $(WORKSRC)/README.txt @mkdir -p $(packageprefix)/share/adv770 @install -m644 $(WORKSRC)/adv770.dat $(packageprefix)/share/adv770/ $(MAKECOOKIE)