summaryrefslogtreecommitdiffstats
path: root/games/grubinvaders
diff options
context:
space:
mode:
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 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