mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
add glass
GLASS (openGL Articulated Structure System) is a 3D library PR: 29991 Submitted by: Patrick Li <pat@databits.net>
This commit is contained in:
parent
b77bfb26fc
commit
b2c38304d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47086
@ -67,6 +67,7 @@
|
||||
SUBDIR += gimp-manual-ps
|
||||
SUBDIR += gimp1
|
||||
SUBDIR += giram
|
||||
SUBDIR += glass
|
||||
SUBDIR += gle
|
||||
SUBDIR += glide3
|
||||
SUBDIR += gliv
|
||||
|
37
graphics/glass/Makefile
Normal file
37
graphics/glass/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: glass
|
||||
# Date created: Thu Aug 23 09:10:22 EDT 2001
|
||||
# Whom: pat@databits.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= glass
|
||||
PORTVERSION= 1.1.1
|
||||
CATEGORIES= graphics devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= pat@databits.net
|
||||
|
||||
USE_MESA= yes
|
||||
USE_X_PREFIX= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|malloc.h|stdlib.h|' ${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}/glass.h ${PREFIX}/include
|
||||
@${INSTALL_DATA} ${WRKSRC}/glass_types.h ${PREFIX}/include
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/../docs/*.html \
|
||||
${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/glass/distinfo
Normal file
1
graphics/glass/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (glass-1.1.1.tar.gz) = 2bb0850bddc41ba9575dc5ef79f13d76
|
18
graphics/glass/files/patch-Makefile
Normal file
18
graphics/glass/files/patch-Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
--- Makefile.orig Sun Aug 19 04:00:33 2001
|
||||
+++ Makefile Thu Aug 23 10:06:34 2001
|
||||
@@ -1,12 +1,11 @@
|
||||
-CC = gcc
|
||||
GLASS_VERSION = 1.1.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
|
||||
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
|
||||
|
1
graphics/glass/pkg-comment
Normal file
1
graphics/glass/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GLASS (openGL Articulated Structure System) is a 3D library
|
8
graphics/glass/pkg-descr
Normal file
8
graphics/glass/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
GLASS is a 3D library, designed to make easy use of structured
|
||||
models in open GL applications. What do I mean by structured? That
|
||||
is models, that are made up of components linked by basic transforms,
|
||||
for example, rotations and translations. By using GLASS in an
|
||||
application, these models can be loaded, modified, and displayed
|
||||
using a minimum of function calls.
|
||||
|
||||
WWW: http://glass.sourceforge.net/
|
7
graphics/glass/pkg-plist
Normal file
7
graphics/glass/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
include/glass.h
|
||||
include/glass_types.h
|
||||
lib/libglass.so
|
||||
lib/libglass.so.1
|
||||
%%PORTDOCS%%share/doc/glass/specification.html
|
||||
%%PORTDOCS%%share/doc/glass/tutorial.html
|
||||
%%PORTDOCS%%@dirrm share/doc/glass
|
Loading…
x
Reference in New Issue
Block a user