opnsense-ports/astro/kstars/Makefile

43 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= kstars
DISTVERSION= 3.3.2
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 \
libqt5keychain.so:security/qtkeychain \
libraw.so:graphics/libraw \
libsecret-1.so:security/libsecret \
libwcs.so:astro/wcslib
BUILD_DEPENDS= xplanet:astro/xplanet
RUN_DEPENDS= xplanet:astro/xplanet
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
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
USE_QT= concurrent core datavis3d dbus declarative gui multimedia \
network opengl printsupport sql svg testlib websockets widgets \
xml \
buildtools_build qmake_build
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>