aboutsummaryrefslogtreecommitdiffstats
path: root/math/k3dsurf/Makefile
blob: bec38f8f6e35f3a1f7d4f96dfec39d0424186b9e (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
# New ports collection makefile for:    K3DSurf
# Date created:     Sun 19 feb 2006
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   k3dsurf
PORTVERSION=    0.6.2
PORTREVISION=   4
CATEGORIES= math graphics
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}_Linux/${PORTVERSION}

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

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

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

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

PLIST_FILES=    bin/k3dsurf

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

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

.include <bsd.port.mk>