aboutsummaryrefslogtreecommitdiff
path: root/games/bsdtris/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdtris/files/patch-Makefile')
-rw-r--r--games/bsdtris/files/patch-Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/bsdtris/files/patch-Makefile b/games/bsdtris/files/patch-Makefile
index d3b62a702f86..7f5976324904 100644
--- a/games/bsdtris/files/patch-Makefile
+++ b/games/bsdtris/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Tue Apr 1 23:23:08 2003
-+++ Makefile Tue Apr 1 23:23:43 2003
-@@ -0,0 +1,26 @@
+--- Makefile.orig 2014-08-16 10:46:48 UTC
++++ Makefile
+@@ -0,0 +1,23 @@
+# Makefile for Tetris
+# $FreeBSD: /tmp/pcvs/ports/games/bsdtris/files/patch-Makefile,v 1.1 2003-04-02 13:02:40 edwin Exp $
+
@@ -18,12 +18,9 @@
+ screen.o shapes.o tetris.o
+
+install:
-+ ${INSTALL} -g games -m 2555 tetris ${PREFIX}/bin/bsdtris
-+. if !exists(${PREFIX}/var/games/bsdtris.scores)
-+ ${MKDIR} ${PREFIX}/var/games
-+ ${INSTALL} -g games -m 664 /dev/null \
-+ ${PREFIX}/var/games/bsdtris.scores
-+.endif
++ ${BSD_INSTALL_PROGRAM} tetris ${DESTDIR}${PREFIX}/bin/bsdtris
++ ${BSD_INSTALL_MAN} tetris.6 ${DESTDIR}${MANPREFIX}/man/man6/bsdtris.6
++ ${MKDIR} ${DESTDIR}/var/games
+
+clean:
+ rm -f *.o *.core