freebsd-ports/math/k3dsurf/Makefile

35 lines
771 B
Makefile

# New ports collection makefile for: K3DSurf
# Date created: Sun 19 feb 2006
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= k3dsurf
PORTVERSION= 0.6.2
PORTREVISION= 2
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>