Makefile 1.26 KB
Newer Older
1
2
3
# $FreeBSD$

PORTNAME=	kstars
tcberner's avatar
tcberner committed
4
DISTVERSION=	3.1.0
5
6
7
8
9
10
11
12
13
14
15
PORTEPOCH=	1
CATEGORIES=	astro kde
MASTER_SITES=	KDE/stable/${PORTNAME}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE desktop planetarium

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
tcberner's avatar
tcberner committed
16
		libqt5keychain.so:security/qtkeychain \
tcberner's avatar
tcberner committed
17
		libraw.so:graphics/libraw \
tcberner's avatar
tcberner committed
18
		libsecret-1.so:security/libsecret \
19
20
21
22
		libwcs.so:astro/wcslib
BUILD_DEPENDS=	xplanet:astro/xplanet
RUN_DEPENDS=	xplanet:astro/xplanet

tcberner's avatar
tcberner committed
23
24
25
USES=		cmake compiler:c++11-lib desktop-file-utils eigen:3 \
		gettext gnome kde:5 localbase:ldflags pkgconfig qt:5 tar:xz
USE_GNOME=	glib20
tcberner's avatar
tcberner committed
26
27
28
29
30
USE_KDE=	attica auth bookmarks codecs completion config configwidgets\
		coreaddons crash dbusaddons doctools ecm guiaddons i18n \
		iconthemes init itemviews jobwidgets kio newstuff notifications \
		notifyconfig parts plotting service solid texteditor \
		widgetsaddons xmlgui
tcberner's avatar
tcberner committed
31
32
33
USE_QT=		concurrent core datavis3d dbus declarative gui multimedia \
		network opengl printsupport sql svg testlib websockets widgets \
		xml \
tcberner's avatar
tcberner committed
34
		buildtools_build qmake_build
35
36
37
38
39
40
41
42

post-patch:
# climits defines ULLONG_MAX and LLONG_MAX
	${REINPLACE_CMD} -e 's#ULONG_LONG_MAX#ULLONG_MAX#g' \
			 -e 's#LONG_LONG_MAX#LLONG_MAX#g' \
		${WRKSRC}/kstars/fitsviewer/fitsdata.cpp

.include <bsd.port.mk>