aboutsummaryrefslogtreecommitdiffstats
path: root/math/k3dsurf/Makefile
blob: 3cb9a3571920cb59aba4949ef8a23d4915ee394b (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
35
36
37
38
39
40
41
# New ports collection makefile for:    K3DSurf
# Date created:     Sun 19 feb 2006
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   k3dsurf
PORTVERSION=    0.5.4
CATEGORIES= math graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Visualize and manipulate Mathematical surfaces or curves

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

USE_QT_VER= 3
QTDIR?=     ${X11BASE}
MAKE_ENV=   QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"   \
        QTDIR="${QTDIR}"

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=    bin/k3dsurf

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500035
BROKEN=     Does not compile with gcc-2.95
.endif

pre-build:
    cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} qmake

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/k3dsurf ${PREFIX}/bin

.include <bsd.port.post.mk>