1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 1.2.1

This commit is contained in:
Patrick Li 2003-02-14 20:37:27 +00:00
parent b4e9022788
commit 77e982ae0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75523
4 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= glass
PORTVERSION= 1.1.5
PORTVERSION= 1.2.1
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -24,10 +24,10 @@ pre-patch:
${WRKSRC}/*.c
do-install:
@${INSTALL_DATA} ${WRKSRC}/libglass.so.1 ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libglass.so.1 ${PREFIX}/lib/libglass.so
@${INSTALL_DATA} ${WRKSRC}/libglass.so.${PORTVERSION} ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libglass.so.${PORTVERSION} ${PREFIX}/lib/libglass.so
@${LN} -sf ${PREFIX}/lib/libglass.so ${PREFIX}/lib/libglass.so.1
@${INSTALL_DATA} ${WRKSRC}/glass.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/glass_types.h ${PREFIX}/include
post-install:
.if !defined(NOPORTDOCS)

View File

@ -1 +1 @@
MD5 (glass-1.1.5.tar.gz) = 2acec0c795bb345d77621b7bfb91fc2e
MD5 (glass-1.2.1.tar.gz) = 6a2c0c434f9e55b0ab62bec0c28002d1

View File

@ -1,18 +1,18 @@
--- Makefile.orig Sun Aug 19 04:00:33 2001
+++ Makefile Thu Aug 23 10:06:34 2001
--- Makefile.orig Fri Feb 14 12:56:25 2003
+++ Makefile Fri Feb 14 12:55:05 2003
@@ -1,12 +1,11 @@
-CC = gcc
GLASS_VERSION = 1.1.5
GLASS_VERSION = 1.2.1
-CFLAGS = -g -O3 -Wall -DVERSION_STRING=\"$(GLASS_VERSION)\"
-LIBS = -lGL
+CFLAGS += -Wall -I/usr/X11R6/include -DVERSION_STRING=\"$(GLASS_VERSION)\"
+LIBS = -L/usr/X11R6/lib -lGL
OBJS = glass_apoint.o glass_component.o glass_draw.o glass_interface.o glass_library.o \
glass_load.o glass_material.o glass_object.o glass_rgb.o glass_save.o \
glass_texture.o glass_tlist.o glass_transform.o glass_triangle.o glass_variable.o
+CFLAGS += -g -Wall -DVERSION_STRING=\"$(GLASS_VERSION)\" -I${X11BASE}/include
+LIBS = -lGL -L${X11BASE}/lib
OBJS = glass_apoint.o glass_draw.o glass_interface.o glass_library.o \
glass_load.o glass_material.o glass_model.o glass_node.o glass_rgb.o \
glass_surface.o glass_texture.o glass_transform.o glass_triangle.o glass_variable.o
all: $(OBJS)
- $(CC) -shared -Wl,-soname,libglass.so.1 -o libglass.so.$(GLASS_VERSION) $(OBJS) -lc
+ $(CC) -shared -Wl,-soname,libglass.so.1 -o libglass.so.1 $(OBJS) $(LIBS) -lc
$(OBJS): glass_types.h glass.h
+ $(CC) -shared -Wl,-soname,libglass.so.1 -o libglass.so.$(GLASS_VERSION) $(OBJS) $(LIBS) -lc
glass_apoint.o: glass_apoint.c glass.h glass_model.h glass_library.h \
glass_texture.h glass_material.h glass_surface.h glass_triangle.h \

View File

@ -1,7 +1,7 @@
include/glass.h
include/glass_types.h
lib/libglass.so
lib/libglass.so.1
lib/libglass.so.1.2.1
%%PORTDOCS%%share/doc/glass/specification.html
%%PORTDOCS%%share/doc/glass/tutorial.html
%%PORTDOCS%%@dirrm share/doc/glass