summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-04-14 00:36:20 +0000
committerjedgar <jedgar@FreeBSD.org>2002-04-14 00:36:20 +0000
commit7205395256e565bf148b131a05bb8f5f484ec153 (patch)
treeb7ab694c1bbd91de18f3d51e33a62220d4c8abcd /games
parent7da9c2d860959fd47f701c1f68a2570666b9033b (diff)
downloadFreeBSD-ports-7205395256e565bf148b131a05bb8f5f484ec153.zip
FreeBSD-ports-7205395256e565bf148b131a05bb8f5f484ec153.tar.gz
Add grubinvaders, a multi-boot compliant space invaders-type game.
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/grubinvaders/Makefile30
-rw-r--r--games/grubinvaders/distinfo1
-rw-r--r--games/grubinvaders/files/Makefile20
-rw-r--r--games/grubinvaders/pkg-comment1
-rw-r--r--games/grubinvaders/pkg-descr3
-rw-r--r--games/grubinvaders/pkg-message6
-rw-r--r--games/grubinvaders/pkg-plist3
8 files changed, 65 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0ec0eb0..f1c9efb 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -115,6 +115,7 @@
SUBDIR += grande
SUBDIR += greed
SUBDIR += gru
+ SUBDIR += grubinvaders
SUBDIR += gshisen
SUBDIR += gtetrinet
SUBDIR += gtkabale
diff --git a/games/grubinvaders/Makefile b/games/grubinvaders/Makefile
new file mode 100644
index 0000000..200cbea
--- /dev/null
+++ b/games/grubinvaders/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: grubinvaders
+# Date created: 13 April 2002
+# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= grubinvaders
+PORTVERSION= 1.0.0
+CATEGORIES= games
+MASTER_SITES= http://www.erikyyy.de/invaders/
+DISTNAME= invaders-${PORTVERSION}
+
+MAINTAINER= jedgar@FreeBSD.org
+
+RUN_DEPENDS= grub:${PORTSDIR}/sysutils/grub
+
+MAKEFILE= ${FILESDIR}/Makefile
+ONLY_FOR_ARCHS= i386
+STRIP=
+WRKSRC= ${WRKDIR}/invaders
+ALL_TARGET= clean all
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/grubinvaders
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/grubinvaders
+ ${INSTALL_PROGRAM} ${WRKSRC}/invaders ${PREFIX}/share/grubinvaders
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/grubinvaders/distinfo b/games/grubinvaders/distinfo
new file mode 100644
index 0000000..5a35982
--- /dev/null
+++ b/games/grubinvaders/distinfo
@@ -0,0 +1 @@
+MD5 (invaders-1.0.0.tar.gz) = c5efef690f8c7f3c667cabb696528ab9
diff --git a/games/grubinvaders/files/Makefile b/games/grubinvaders/files/Makefile
new file mode 100644
index 0000000..b4bbf39
--- /dev/null
+++ b/games/grubinvaders/files/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+CFLAGS+=-fno-builtin -nostdinc -I. -Wall -Werror
+LDFLAGS+=-nostdlib -Wl,-N -Wl,-Ttext -Wl,100000
+
+PROG= invaders
+OBJS= boot.o common.o kernel.o keyboard.o video.o game.o sound.o \
+ delay.o memory.o
+
+all: ${PROG}
+
+${PROG}: ${PROG}.exec
+ objcopy -O binary invaders.exec invaders
+
+${PROG}.exec: ${OBJS}
+ ${CC} ${LDFLAGS} -o ${PROG}.exec ${OBJS}
+
+clean:
+ rm -f ${OBJS} ${PROG}
+
diff --git a/games/grubinvaders/pkg-comment b/games/grubinvaders/pkg-comment
new file mode 100644
index 0000000..5d34cca
--- /dev/null
+++ b/games/grubinvaders/pkg-comment
@@ -0,0 +1 @@
+This is grubinvaders, a multi boot compliant game for i386
diff --git a/games/grubinvaders/pkg-descr b/games/grubinvaders/pkg-descr
new file mode 100644
index 0000000..5899ce7
--- /dev/null
+++ b/games/grubinvaders/pkg-descr
@@ -0,0 +1,3 @@
+grubinvaders, a multi boot compliant game for i386.
+
+WWW: http://www.erikyyy.de/invaders/
diff --git a/games/grubinvaders/pkg-message b/games/grubinvaders/pkg-message
new file mode 100644
index 0000000..f0c6b5b
--- /dev/null
+++ b/games/grubinvaders/pkg-message
@@ -0,0 +1,6 @@
+------------------------------------------------------------
+
+See %%PREFIX%%/share/grubinvaders/README for instructions on
+installing grubinvaders with grub.
+
+------------------------------------------------------------
diff --git a/games/grubinvaders/pkg-plist b/games/grubinvaders/pkg-plist
new file mode 100644
index 0000000..c2338f1
--- /dev/null
+++ b/games/grubinvaders/pkg-plist
@@ -0,0 +1,3 @@
+share/grubinvaders/README
+share/grubinvaders/invaders
+@dirrm share/grubinvaders
OpenPOWER on IntegriCloud