diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-04-14 00:36:20 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-04-14 00:36:20 +0000 |
commit | 03a7b61114e736724616c4152af9fdfca3c43969 (patch) | |
tree | 375e2d5aab078f65f474697d6affb87852f93dc7 /games/grubinvaders | |
parent | Fix bento -current build. (diff) |
Add grubinvaders, a multi-boot compliant space invaders-type game.
Notes
Notes:
svn path=/head/; revision=57675
Diffstat (limited to 'games/grubinvaders')
-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 |
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 |