aboutsummaryrefslogtreecommitdiffstats
path: root/games/grubinvaders
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-04-14 08:36:20 +0800
committerjedgar <jedgar@FreeBSD.org>2002-04-14 08:36:20 +0800
commit7205395256e565bf148b131a05bb8f5f484ec153 (patch)
treeb7ab694c1bbd91de18f3d51e33a62220d4c8abcd /games/grubinvaders
parent7da9c2d860959fd47f701c1f68a2570666b9033b (diff)
downloadfreebsd-ports-gnome-7205395256e565bf148b131a05bb8f5f484ec153.tar.gz
freebsd-ports-gnome-7205395256e565bf148b131a05bb8f5f484ec153.tar.zst
freebsd-ports-gnome-7205395256e565bf148b131a05bb8f5f484ec153.zip
Add grubinvaders, a multi-boot compliant space invaders-type game.
Diffstat (limited to 'games/grubinvaders')
-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
7 files changed, 64 insertions, 0 deletions
diff --git a/games/grubinvaders/Makefile b/games/grubinvaders/Makefile
new file mode 100644
index 000000000000..200cbead47d8
--- /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 000000000000..5a3598210d90
--- /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 000000000000..b4bbf39a64c5
--- /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 000000000000..5d34cca67bea
--- /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 000000000000..5899ce7b60b1
--- /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 000000000000..f0c6b5b5b45b
--- /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 000000000000..c2338f1a0bd4
--- /dev/null
+++ b/games/grubinvaders/pkg-plist
@@ -0,0 +1,3 @@
+share/grubinvaders/README
+share/grubinvaders/invaders
+@dirrm share/grubinvaders