openbsd-ports/astro/stellarium/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2010/10/27 13:25:01 steven Exp $
2007-06-18 07:58:11 -04:00
COMMENT= free open source planetarium
2010-06-09 04:04:28 -04:00
DISTNAME= stellarium-0.10.5
REVISION= 1
CATEGORIES= astro x11
HOMEPAGE= http://www.stellarium.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2009-02-09 13:25:24 -05:00
# GPLv2
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
WANTLIB += QtSql QtGui QtNetwork QtOpenGL QtScript
2009-02-09 13:25:24 -05:00
MODULES= devel/gettext \
devel/cmake \
x11/qt4
LIB_DEPENDS= ::x11/qt4
2010-06-09 04:04:28 -04:00
# used to download more stars definitions
RUN_DEPENDS= ::net/curl \
:desktop-file-utils-*:devel/desktop-file-utils
2007-06-18 07:58:11 -04:00
CONFIGURE_STYLE=cmake
CONFIGURE_ENV= HOME=${WRKDIR}
2010-10-18 12:47:00 -04:00
USE_GROFF = Yes
2007-06-18 07:58:11 -04:00
PORTHOME= ${WRKDIR}
NO_REGRESS= Yes
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
.include <bsd.port.mk>