aboutsummaryrefslogblamecommitdiff
path: root/science/step/Makefile
blob: b0ab7f764e9181e41e66f2873d109acaeef93686 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                           
                                                      







                                                 

                                                                                    
                                                                              
                                                                    


                                                                          

                                                   
                                                                                      

                                            
                                              
 

                                    

                    






                                                                  
PORTNAME=	step
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	science education kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE interactive physics simulator

LIB_DEPENDS=	libcln.so:math/cln \
		libgsl.so:math/gsl \
		libqalculate.so:math/libqalculate

USES=		cmake compiler:c++11-lang desktop-file-utils eigen:3 gettext kde:5 \
		pkgconfig python:3.5+ qt:5 shared-mime-info shebangfix tar:xz
USE_KDE=	attica auth bookmarks codecs completion config configwidgets \
		coreaddons crash doctools emoticons guiaddons i18n \
		iconthemes init itemmodels itemviews jobwidgets js \
		kdelibs4support khtml kio newstuff notifications parts \
		plotting service solid sonnet textwidgets unitconversion \
		widgetsaddons windowsystem xmlgui \
		ecm_build
USE_QT=		concurrent core dbus declarative gui network opengl printsupport svg \
		widgets xml \
		buildtools_build qmake_build
CXXFLAGS_sparc64=	-Wno-error=return-type

SHEBANG_FILES=	step/data/extractxml

OPTIONS_DEFINE=	DOCS

pre-configure:
# 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>