2013-09-20 20:35:44 +02:00
|
|
|
# Created by: David Gilbert <dgilbert@velocet.ca>
|
2000-09-02 17:10:04 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gle
|
2006-04-15 17:27:44 +02:00
|
|
|
PORTVERSION= 3.1.0
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 6
|
2000-09-02 17:10:04 +02:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\
|
2001-05-23 07:16:02 +02:00
|
|
|
http://linas.org/gle/pub/ \
|
2000-09-02 17:10:04 +02:00
|
|
|
http://metalab.unc.edu/pub/Linux/libs/X/ \
|
|
|
|
ftp://tsx-11.mit.edu/pub/linux/sources/libs/
|
2009-08-22 02:23:13 +02:00
|
|
|
|
2004-03-15 01:35:36 +01:00
|
|
|
MAINTAINER= ports@dclg.ca
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= GL Tubing and Extrusion Library
|
2000-09-02 17:10:04 +02:00
|
|
|
|
2014-08-04 21:56:57 +02:00
|
|
|
USES= libtool
|
2012-08-05 00:52:02 +02:00
|
|
|
USE_XORG= ice xt xmu
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= glut
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -lXext
|
2000-09-02 17:10:04 +02:00
|
|
|
|
2014-08-04 05:40:14 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2001-11-09 19:12:40 +01:00
|
|
|
post-patch:
|
|
|
|
.for file in ex_angle.c ex_cut_round.c ex_raw.c extrude.c round_cap.c segment.c texgen.c
|
2002-07-11 17:31:46 +02:00
|
|
|
@${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file}
|
2001-11-09 19:12:40 +01:00
|
|
|
.endfor
|
|
|
|
|
2000-09-02 17:10:04 +02:00
|
|
|
.include <bsd.port.mk>
|