Initial import of life-1.0
A clone of the popular artificial life program from the 70's. Maintainer: Jolan Luff <jolan@cryptonomicon.org>
This commit is contained in:
parent
acc04da2fe
commit
abebde5f0d
31
games/life/Makefile
Normal file
31
games/life/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/04/23 05:13:21 pvalchev Exp $
|
||||
|
||||
COMMENT= "SDL clone of the popular Game of Life"
|
||||
|
||||
DISTNAME= life-1.0
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
HOMEPAGE= http://w1.879.telia.com/~u87907755/
|
||||
|
||||
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
LIB_DEPENDS= SDL::devel/sdl
|
||||
|
||||
WRKDIST=${WRKDIR}/life
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/life ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/life
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/life
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/life/distinfo
Normal file
3
games/life/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (life-1.0.tar.bz2) = bcae23527d9668863f25bc53966a5641
|
||||
RMD160 (life-1.0.tar.bz2) = 3ebd7d6b698dabe0c4b5b75898e54ea7dbea2f2f
|
||||
SHA1 (life-1.0.tar.bz2) = 3448cc350b7dc391fcd641a98393df5ae2d5e7bd
|
27
games/life/patches/patch-Makefile
Normal file
27
games/life/patches/patch-Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/04/23 05:13:21 pvalchev Exp $
|
||||
--- Makefile.orig Sun Apr 13 06:02:01 2003
|
||||
+++ Makefile Mon Apr 21 14:54:10 2003
|
||||
@@ -1,8 +1,8 @@
|
||||
# YAM, Yet Another Makefile
|
||||
|
||||
TARGET = life
|
||||
-CC = g++
|
||||
-CFLAGS = -Wall -O3 -g `sdl-config --cflags`
|
||||
+#CC = g++
|
||||
+CXXFLAGS+= -Wall `sdl-config --cflags`
|
||||
LIBS = `sdl-config --libs`
|
||||
|
||||
OBJ = main.o Field.o Video.o Surface.o
|
||||
@@ -10,10 +10,10 @@ OBJ = main.o Field.o Video.o Surface.
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o $(TARGET)
|
||||
+ $(CXX) $(CXXFLAGS) $(OBJ) $(LIBS) -o $(TARGET)
|
||||
|
||||
%.o: %.cc
|
||||
- $(CC) -c $(CFLAGS) $?
|
||||
+ $(CXX) -c $(CXXFLAGS) $?
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(TARGET)
|
3
games/life/pkg/DESCR
Normal file
3
games/life/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
A clone of the popular artificial life program from the 70's.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
4
games/life/pkg/PLIST
Normal file
4
games/life/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/04/23 05:13:21 pvalchev Exp $
|
||||
bin/life
|
||||
share/doc/life/README
|
||||
@dirrm share/doc/life
|
Loading…
Reference in New Issue
Block a user