mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
add teddy 1.81.5
Graphics Library for 3D Scenes
This commit is contained in:
parent
1c79e513a1
commit
588b8426de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106858
@ -401,6 +401,7 @@
|
||||
SUBDIR += swftools
|
||||
SUBDIR += synaesthesia
|
||||
SUBDIR += tcm
|
||||
SUBDIR += teddy
|
||||
SUBDIR += tgif
|
||||
SUBDIR += tgif-nls
|
||||
SUBDIR += threeDS
|
||||
|
47
graphics/teddy/Makefile
Normal file
47
graphics/teddy/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: teddy
|
||||
# Date created: Apr 13, 2004
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= teddy
|
||||
PORTVERSION= 1.81.5
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= Teddy-${PORTVERSION}.src
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Graphics Library for 3D Scenes
|
||||
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.5:${PORTSDIR}/graphics/png
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_SDL= sdl image mixer
|
||||
USE_GNOME= pkgconfig
|
||||
USE_GL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
USE_GMAKE= yes
|
||||
|
||||
PLIST_FILES= lib/libTeddy.a libdata/pkgconfig/Teddy.pc
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} +x ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/include/Teddy
|
||||
cd ${WRKSRC} && ${TAR} cf - `${FIND} Teddy -name "*.h"` | \
|
||||
(cd ${PREFIX}/include ; ${TAR} xfBp -)
|
||||
@${FIND} ${PREFIX}/include/Teddy ! -type d | ${XARGS} ${CHMOD} 644
|
||||
@${FIND} ${PREFIX}/include/Teddy ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${PREFIX}/include/Teddy -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
${INSTALL_DATA} ${WRKSRC}/libTeddy.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/Teddy.pc ${PREFIX}/libdata/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/teddy/distinfo
Normal file
2
graphics/teddy/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Teddy-1.81.5.src.zip) = 6653bb2b030cf56ab618e6eab39a007d
|
||||
SIZE (Teddy-1.81.5.src.zip) = 1207931
|
11
graphics/teddy/files/patch-configure
Normal file
11
graphics/teddy/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Mon Dec 2 15:48:44 2002
|
||||
+++ configure Tue Apr 13 09:54:17 2004
|
||||
@@ -1552,7 +1552,7 @@
|
||||
fi
|
||||
|
||||
if test "x$PKG_CONFIG" != "xno" ; then
|
||||
- PKGDIR="`which pkg-config | sed s/bin\\\\/pkg-/lib\\\\/pkg/`"
|
||||
+ PKGDIR="`which pkg-config | sed s/bin\\\\/pkg-/libdata\\\\/pkg/`"
|
||||
else
|
||||
PKGDIR="${prefix}/lib/pkgconfig"
|
||||
if test "x$lib_do_shared" = "xyes"; then
|
11
graphics/teddy/pkg-descr
Normal file
11
graphics/teddy/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Teddy is a 3D graphics library. The main purpose is to be a simple scene graph
|
||||
manager. Here is a brief list of main features:
|
||||
* scene graph
|
||||
* windowing system
|
||||
* multiple scenes
|
||||
* multiple cameras
|
||||
* multiple camera windows
|
||||
* LightWave objects
|
||||
* LightWave scenes
|
||||
|
||||
WWW: http://teddy.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user