aboutsummaryrefslogtreecommitdiffstats
path: root/games/ladder
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-07 23:38:48 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-07 23:38:48 +0800
commitf2aed0efa677a8f943a5ce3d067398899242332b (patch)
treee3cd287a524777270c5b169e8c77b60b4f8acaae /games/ladder
parente3ab3c0275f98e6551d8f6309a94f6d80cbb1ac7 (diff)
downloadfreebsd-ports-gnome-f2aed0efa677a8f943a5ce3d067398899242332b.tar.gz
freebsd-ports-gnome-f2aed0efa677a8f943a5ce3d067398899242332b.tar.zst
freebsd-ports-gnome-f2aed0efa677a8f943a5ce3d067398899242332b.zip
Stagify.
Diffstat (limited to 'games/ladder')
-rw-r--r--games/ladder/Makefile1
-rw-r--r--games/ladder/files/patch-ab16
2 files changed, 8 insertions, 9 deletions
diff --git a/games/ladder/Makefile b/games/ladder/Makefile
index 060241241d35..72aaa5eef6f1 100644
--- a/games/ladder/Makefile
+++ b/games/ladder/Makefile
@@ -19,5 +19,4 @@ EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/games/ladder/files/patch-ab b/games/ladder/files/patch-ab
index 3c21d7d47020..0b36462f2a23 100644
--- a/games/ladder/files/patch-ab
+++ b/games/ladder/files/patch-ab
@@ -1,6 +1,6 @@
---- Makefile.orig Sun Oct 26 15:15:08 1997
-+++ Makefile Sat Aug 11 00:15:35 2001
-@@ -2,12 +2,13 @@
+--- Makefile.orig 1997-10-27 07:15:08.000000000 +0800
++++ Makefile 2014-06-07 23:36:53.767950530 +0800
+@@ -2,12 +2,13 @@ TARGET = ladder
SRCS = ladder.c lplay.c ltime.c lscore.c lscreens.c
OBJS = ladder.o lplay.o ltime.o lscore.o lscreens.o
@@ -17,18 +17,18 @@
.SUFFIXES: .o .c .m4
-@@ -21,6 +22,14 @@
- $(CC) -o $(TARGET) $(LDFLAGS) $(OBJS) $(LIBS)
+@@ -22,6 +23,14 @@ $(TARGET): $(OBJS)
$(OBJS): ladder.h
-+
+
+clean:
+ -$(RM) $(OBJS) $(TARGET) *.core
+
+all: $(TARGET)
+
+install:
-+ install -c -s -o root -g games -m 2555 ladder ${PREFIX}/bin
-
++ install -c -s -o root -g games -m 2555 ladder $(DESTDIR)${PREFIX}/bin
++
# ladder.c: ladder.m4
+ # lscreens.c: lscreens.m4