diff options
author | Patrick Li <pat@FreeBSD.org> | 2003-02-14 20:37:27 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2003-02-14 20:37:27 +0000 |
commit | 77e982ae0a36e0bbfe9f9685d726539a61e83232 (patch) | |
tree | df0788edcab79c9de4bc5f490cd1dcf57577080b /graphics/glass | |
parent | Fix build on 4.x. (diff) |
Update to 1.2.1
Diffstat (limited to 'graphics/glass')
-rw-r--r-- | graphics/glass/Makefile | 8 | ||||
-rw-r--r-- | graphics/glass/distinfo | 2 | ||||
-rw-r--r-- | graphics/glass/files/patch-Makefile | 22 | ||||
-rw-r--r-- | graphics/glass/pkg-plist | 2 |
4 files changed, 17 insertions, 17 deletions
diff --git a/graphics/glass/Makefile b/graphics/glass/Makefile index 6c90e6359404..a333b06db97d 100644 --- a/graphics/glass/Makefile +++ b/graphics/glass/Makefile @@ -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) diff --git a/graphics/glass/distinfo b/graphics/glass/distinfo index 97f8e3f3a60c..34731ad55fbb 100644 --- a/graphics/glass/distinfo +++ b/graphics/glass/distinfo @@ -1 +1 @@ -MD5 (glass-1.1.5.tar.gz) = 2acec0c795bb345d77621b7bfb91fc2e +MD5 (glass-1.2.1.tar.gz) = 6a2c0c434f9e55b0ab62bec0c28002d1 diff --git a/graphics/glass/files/patch-Makefile b/graphics/glass/files/patch-Makefile index 4a26c553599f..98586868ec87 100644 --- a/graphics/glass/files/patch-Makefile +++ b/graphics/glass/files/patch-Makefile @@ -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 \ diff --git a/graphics/glass/pkg-plist b/graphics/glass/pkg-plist index ba2d9f8baec0..c6f5e50015e0 100644 --- a/graphics/glass/pkg-plist +++ b/graphics/glass/pkg-plist @@ -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 |