95576f30fd
this was using -O3 before the recent change in cmake
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2010/10/27 13:25:01 steven Exp $
|
|
|
|
COMMENT= free open source planetarium
|
|
|
|
DISTNAME= stellarium-0.10.5
|
|
REVISION= 1
|
|
|
|
CATEGORIES= astro x11
|
|
|
|
HOMEPAGE= http://www.stellarium.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stellarium/}
|
|
|
|
WANTLIB += GL GLU ICE SM X11 Xext c m pthread stdc++ z
|
|
WANTLIB += QtSql QtGui QtNetwork QtOpenGL QtScript
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
devel/cmake \
|
|
x11/qt4
|
|
|
|
LIB_DEPENDS= ::x11/qt4
|
|
|
|
# used to download more stars definitions
|
|
RUN_DEPENDS= ::net/curl \
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
|
|
|
CONFIGURE_STYLE=cmake
|
|
CONFIGURE_ENV= HOME=${WRKDIR}
|
|
USE_GROFF = Yes
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/CMakeLists.txt \
|
|
${WRKSRC}/cmake/FindIconv.cmake \
|
|
${WRKSRC}/data/stellarium.desktop
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/data/stellarium.desktop \
|
|
${PREFIX}/share/applications
|
|
|
|
.include <bsd.port.mk>
|