Update port to 1.3

This commit is contained in:
Chris D. Faulhaber 2000-02-05 11:37:19 +00:00
parent 3727264aa4
commit c2549dcb4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25501
3 changed files with 12 additions and 13 deletions

View File

@ -1,13 +1,13 @@
# New ports collection makefile for: xinv3d
# Version required: 1.1
# Version required: 1.3
# Date created: 21 January 2000
# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= xinv3d.1.1
PKGNAME= xinvaders3d-1.1
DISTNAME= xinv3d.1.3
PKGNAME= xinvaders3d-1.3
CATEGORIES= games
MASTER_SITES= http://www.fiu.edu/~dllopi01/

View File

@ -1 +1 @@
MD5 (xinv3d.1.1.tar.gz) = b68a6e63978d5b06fd1df1f415a842bf
MD5 (xinv3d.1.3.tar.gz) = edac58e1647154431ee666534b8c6b06

View File

@ -1,17 +1,16 @@
--- Makefile.orig Sun Jan 23 13:53:02 2000
+++ Makefile Mon Jan 24 19:36:27 2000
@@ -1,6 +1,6 @@
--- Makefile.orig Sat Jan 29 02:59:52 2000
+++ Makefile Sat Feb 5 06:35:28 2000
@@ -1,18 +1,18 @@
all: game
-CC = gcc
+CC?= gcc
XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
LIBS = -lm -lX11
OBJS = main.o game.o aliens.o player.o effects.o \
@@ -8,12 +8,12 @@
vec4x1.o mat4x4.o
OBJS = game.o aliens.o player.o effects.o \
object.o camera.o main-x11.o vec4x1.o mat4x4.o
DEPENDS =
#CFLAGS = -g -Wall -pedantic -ansi
#CFLAGS = -pg -Wall -pedantic -ansi
-CFLAGS = -ansi
+#CFLAGS = -ansi
#OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG
@ -19,7 +18,7 @@
.c.o: $(DEPENDS)
- $(CC) -c $(CFLAGS) $(OPTIONS) $< -o $@
+ $(CC) -c $(CFLAGS) $(XLIB) $(OPTIONS) $< -o $@
+ $(CC) -c $(CFLAGS) $(OPTIONS) $(XLIB) $< -o $@
game: $(OBJS) $(DEPENDS)
$(CC) -g -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)
$(CC) -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)