2011-12-18 04:01:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2011/12/18 09:01:45 ajacoutot Exp $
|
2007-03-25 08:29:22 -04:00
|
|
|
|
2007-06-18 07:58:11 -04:00
|
|
|
COMMENT= free open source planetarium
|
2007-03-25 08:29:22 -04:00
|
|
|
|
2011-07-03 14:49:17 -04:00
|
|
|
DISTNAME= stellarium-0.11.0
|
2011-09-16 04:26:09 -04:00
|
|
|
REVISION= 1
|
2009-05-21 17:34:40 -04:00
|
|
|
|
2007-03-25 08:29:22 -04:00
|
|
|
CATEGORIES= astro x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.stellarium.org/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2009-02-09 13:25:24 -05:00
|
|
|
# GPLv2
|
2007-03-25 08:29:22 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stellarium/}
|
|
|
|
|
2010-06-09 04:04:28 -04:00
|
|
|
WANTLIB += GL GLU ICE SM X11 Xext c m pthread stdc++ z
|
2010-12-15 11:01:45 -05:00
|
|
|
WANTLIB += QtGui QtNetwork QtOpenGL QtScript
|
2009-02-09 13:25:24 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
devel/cmake \
|
|
|
|
x11/qt4
|
|
|
|
|
2010-06-09 04:04:28 -04:00
|
|
|
# used to download more stars definitions
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS= net/curl \
|
|
|
|
devel/desktop-file-utils
|
2007-03-25 08:29:22 -04:00
|
|
|
|
2007-06-18 07:58:11 -04:00
|
|
|
CONFIGURE_STYLE=cmake
|
|
|
|
CONFIGURE_ENV= HOME=${WRKDIR}
|
2011-07-03 14:49:17 -04:00
|
|
|
CONFIGURE_ARGS= -Wno-dev
|
|
|
|
|
2007-06-18 07:58:11 -04:00
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2007-03-25 08:29:22 -04:00
|
|
|
|
|
|
|
pre-configure:
|
2010-06-09 04:04:28 -04:00
|
|
|
${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
|
2007-03-25 08:29:22 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|