diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/grubinvaders/Makefile | 30 | ||||
-rw-r--r-- | games/grubinvaders/distinfo | 1 | ||||
-rw-r--r-- | games/grubinvaders/files/Makefile | 20 | ||||
-rw-r--r-- | games/grubinvaders/pkg-comment | 1 | ||||
-rw-r--r-- | games/grubinvaders/pkg-descr | 3 | ||||
-rw-r--r-- | games/grubinvaders/pkg-message | 6 | ||||
-rw-r--r-- | games/grubinvaders/pkg-plist | 3 |
8 files changed, 65 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 0ec0eb054ea9..f1c9efb9a6c3 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 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 |