Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 10:29:52 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29991: New port devel/glass
Message-ID:  <200108231429.f7NETq532995@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         29991
>Category:       ports
>Synopsis:       New port devel/glass
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 07:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-RC i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 22 12:13:02 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
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/
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	glass
#	glass/distinfo
#	glass/Makefile
#	glass/files
#	glass/files/patch-Makefile
#	glass/pkg-plist
#	glass/pkg-descr
#	glass/pkg-comment
#
echo c - glass
mkdir -p glass > /dev/null 2>&1
echo x - glass/distinfo
sed 's/^X//' >glass/distinfo << 'END-of-glass/distinfo'
XMD5 (glass-1.1.1.tar.gz) = 2bb0850bddc41ba9575dc5ef79f13d76
END-of-glass/distinfo
echo x - glass/Makefile
sed 's/^X//' >glass/Makefile << 'END-of-glass/Makefile'
X# New ports collection makefile for:	glass
X# Date created:				Thu Aug 23 09:10:22 EDT 2001
X# Whom:					pat@databits.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glass
XPORTVERSION=	1.1.1
XCATEGORIES=	devel graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	pat@databits.net
X
XUSE_X_PREFIX=	yes
XWRKSRC=		${WRKDIR}/${DISTNAME}/src
X
Xpre-patch:
X	@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
X		${WRKSRC}/*.c
X
Xdo-install:
X	@${INSTALL} ${COPY} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} \
X		-m ${LIBMODE} ${WRKSRC}/libglass.so.1 ${PREFIX}/lib
X	@${LN} -sf ${PREFIX}/lib/libglass.so.1 ${PREFIX}/lib/libglass.so
X	@${INSTALL_DATA} ${WRKSRC}/glass.h ${PREFIX}/include
X	@${INSTALL_DATA} ${WRKSRC}/glass_types.h ${PREFIX}/include
X	@${LDCONFIG} -m ${PREFIX}/lib
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/../docs/*.html \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-glass/Makefile
echo c - glass/files
mkdir -p glass/files > /dev/null 2>&1
echo x - glass/files/patch-Makefile
sed 's/^X//' >glass/files/patch-Makefile << 'END-of-glass/files/patch-Makefile'
X--- Makefile.orig	Sun Aug 19 04:00:33 2001
X+++ Makefile	Thu Aug 23 10:06:34 2001
X@@ -1,12 +1,11 @@
X-CC = gcc
X GLASS_VERSION = 1.1.1
X-CFLAGS = -g -O3 -Wall -DVERSION_STRING=\"$(GLASS_VERSION)\"
X-LIBS = -lGL
X+CFLAGS += -Wall -I/usr/X11R6/include -DVERSION_STRING=\"$(GLASS_VERSION)\"
X+LIBS = -L/usr/X11R6/lib -lGL
X OBJS = glass_apoint.o glass_component.o glass_draw.o glass_interface.o glass_library.o \
X        glass_load.o glass_material.o glass_object.o glass_rgb.o glass_save.o \
X        glass_texture.o glass_tlist.o glass_transform.o glass_triangle.o glass_variable.o
X all: $(OBJS)
X-	$(CC) -shared -Wl,-soname,libglass.so.1 -o libglass.so.$(GLASS_VERSION) $(OBJS) -lc
X+	$(CC) -shared -Wl,-soname,libglass.so.1 -o libglass.so.1 $(OBJS) $(LIBS) -lc
X 
X $(OBJS): glass_types.h glass.h
X 
END-of-glass/files/patch-Makefile
echo x - glass/pkg-plist
sed 's/^X//' >glass/pkg-plist << 'END-of-glass/pkg-plist'
Xinclude/glass.h
Xinclude/glass_types.h
Xlib/libglass.so
Xlib/libglass.so.1
X%%PORTDOCS%%share/doc/glass/specification.html
X%%PORTDOCS%%share/doc/glass/tutorial.html
X%%PORTDOCS%%@dirrm share/doc/glass
END-of-glass/pkg-plist
echo x - glass/pkg-descr
sed 's/^X//' >glass/pkg-descr << 'END-of-glass/pkg-descr'
XGLASS is a 3D library, designed to make easy use of structured
Xmodels in open GL applications. What do I mean by structured? That
Xis models, that are made up of components linked by basic transforms,
Xfor example, rotations and translations. By using GLASS in an
Xapplication, these models can be loaded, modified, and displayed
Xusing a minimum of function calls.
X
XWWW: http://glass.sourceforge.net/
END-of-glass/pkg-descr
echo x - glass/pkg-comment
sed 's/^X//' >glass/pkg-comment << 'END-of-glass/pkg-comment'
XGLASS (openGL Articulated Structure System) is a 3D library
END-of-glass/pkg-comment
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108231429.f7NETq532995>