aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/g3dviewer/Makefile
blob: bc2d6a4113ef1583aa4c21a4e539d8a66658b5c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
# Ports collection makefile for:    g3dviewer
# Date created:         May 30, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   g3dviewer
PORTVERSION=    0.0.3
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://madsworld.exhome.de/downloads/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A 3D file viewer for GTK+

LIB_DEPENDS=    gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea

USE_GNOME=  gtk12
USE_MESA=   yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  \
    CPPFLAGS="${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags` -fPIC" \
    LDFLAGS="${PTHREAD_LIBS} `${GTK_CONFIG} --libs` -lGL -lGLU -lglut"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502000
BROKEN=     "Configure fails"
.endif

.include <bsd.port.post.mk>