- Update to 0.56
- Take maintainership Approved by: miwi (old maintainer)
This commit is contained in:
parent
1834bf5e94
commit
f044f0599d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237791
3 changed files with 15 additions and 53 deletions
|
@ -6,21 +6,25 @@
|
|||
#
|
||||
|
||||
PORTNAME= vitetris
|
||||
PORTVERSION= 0.55
|
||||
PORTVERSION= 0.56
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://victornils.net/tetris/
|
||||
|
||||
MAINTAINER= miwi@FreeBSD.org
|
||||
MAINTAINER= dhn@FreeBSD.org
|
||||
COMMENT= Terminal-based tetris clone in vein of nintendo tetris
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
ALL_TARGET= #
|
||||
CONFIGURE_ARGS= curses="-lncurses" \
|
||||
xlib=no
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --datarootdir=${PREFIX}/share \
|
||||
curses="-lncurses" xlib=no
|
||||
|
||||
PLIST_FILES= bin/vitetris \
|
||||
share/allegro/licence.txt
|
||||
PLIST_DIRS= share/allegro
|
||||
share/allegro/licence.txt \
|
||||
share/allegro/README \
|
||||
share/pixmaps/vitetris.xpm \
|
||||
share/applications/vitetris.desktop
|
||||
PLIST_DIRS= share/allegro \
|
||||
share/applications
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,docdir,datadir,g' \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (vitetris-0.55.tar.gz) = d6f215d760a4aa8a76f5ead1c80f3f37
|
||||
SHA256 (vitetris-0.55.tar.gz) = 4887dded2a36c5e6a28a7df914cf7cc5ffb94e11a89d458f33c9306ede68cf26
|
||||
SIZE (vitetris-0.55.tar.gz) = 100182
|
||||
MD5 (vitetris-0.56.tar.gz) = fc66ca3f90a95e9b270d68720dfe83ea
|
||||
SHA256 (vitetris-0.56.tar.gz) = 70ee2107099279b2685d2951620c36100efcb2660e3618864021119573967d27
|
||||
SIZE (vitetris-0.56.tar.gz) = 100619
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.orig Sat Sep 13 11:45:37 2008
|
||||
+++ Makefile Mon Sep 22 09:31:15 2008
|
||||
--- Makefile.orig 2009-06-18 01:46:00.000000000 +0200
|
||||
+++ Makefile 2009-07-14 17:55:52.000000000 +0200
|
||||
@@ -1,11 +1,11 @@
|
||||
include config.mk
|
||||
|
||||
|
@ -15,45 +15,3 @@
|
|||
|
||||
default: build
|
||||
@echo Done.
|
||||
@@ -15,13 +15,13 @@ $(PROGNAME):
|
||||
$(MAKE) build
|
||||
|
||||
build: src/src-conf.mk
|
||||
- $(MAKE) -Csrc tetris
|
||||
+ cd src; $(MAKE) tetris
|
||||
mv -f src/tetris$(EXE) $(PROGNAME)
|
||||
@echo stripping symbols to reduce program size:
|
||||
-strip --strip-all $(PROGNAME)
|
||||
|
||||
gameserver: src/netw/gameserver.c
|
||||
- $(MAKE) -Csrc/netw gameserver
|
||||
+ cd src/netw; $(MAKE) gameserver
|
||||
mv -f src/netw/gameserver .
|
||||
|
||||
src/src-conf.mk: config.mk Makefile src-conf.sh
|
||||
@@ -54,12 +54,12 @@ src/src-conf.mk: config.mk Makefile src-conf.sh
|
||||
./src-conf.sh obj pctimer $(PCTIMER)
|
||||
|
||||
install: $(PROGNAME)
|
||||
- $(INSTALL) -d $(bindir) $(docdir)
|
||||
- $(INSTALL) -m755 $(PROGNAME) $(bindir)
|
||||
- $(INSTALL) -m644 README licence.txt $(docdir)
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL) -m755 $(PROGNAME) $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -m644 licence.txt $(DESTDIR)$(docdir)
|
||||
if [ -n "$(ALLEGRO)" ]; then \
|
||||
- $(INSTALL) -d $(datadir); \
|
||||
- $(INSTALL) -m644 pc8x16.fnt $(datadir); \
|
||||
+ $(INSTALL) -d $(DESTDIR)$(datadir); \
|
||||
+ $(INSTALL) -m644 pc8x16.fnt $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@echo Done.
|
||||
@echo You may also wish to create the system-wide highscore file
|
||||
@@ -84,6 +84,6 @@ uninstall:
|
||||
-rmdir $(datadir)
|
||||
clean:
|
||||
rm -f systest systest.exe
|
||||
- $(MAKE) -Csrc clean
|
||||
+ cd src; $(MAKE) clean
|
||||
|
||||
.PHONY: default build install install-hiscores uninstall clean
|
||||
|
|
Loading…
Reference in a new issue