freebsd-ports/science/step/Makefile
Alberto Villa a2d3b5a4bc The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports

We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.

PR:		156293 [1]
		159219 [2]
		160164 [3]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1]
		Alvaro Castillo <gobledb@gmail.com> [2]
		dkeav04@gmail.com [3]
Tested by:	exp-run via pav
2011-10-17 00:03:42 +00:00

41 lines
1 KiB
Makefile

# New ports collection Makefile for: step
# Date created: 6 September 2011
# Whom: Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= step
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= science kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 interactive physics simulator
LIB_DEPENDS= qalculate.5:${PORTSDIR}/math/libqalculate \
gsl.16:${PORTSDIR}/math/gsl
BUILD_DEPENDS= eigen>=2.0.b3:${PORTSDIR}/math/eigen2
CONFLICTS= kdeedu-4.[0-6].*
USE_KDE4= kdehier kdelibs kdeprefix automoc4
KDE4_BUILDENV= yes
USE_QT_VER= 4
QT_COMPONENTS= opengl xml moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
pre-configure:
# Fix GSL_INCLUDE_DIR.
${REINPLACE_CMD} -e 's|gsl_|gsl/gsl_|g' \
${WRKSRC}/cmake/modules/FindGSL.cmake
# Avoid building translations, should the user pass
# CURRENT_LANG to CMake.
${REINPLACE_CMD} -e '/set(STEP_BUILD_TRANSLATIONS 1)/ d' \
${WRKSRC}/${PORTNAME}/data/CMakeLists.txt
.include <bsd.port.mk>