aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/g3dviewer/Makefile
blob: d0849d6892354b37ce87727cdf64a69cdbdde09c (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
# 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=   #

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.mk>