openbsd-ports/astro/stellarium/Makefile

50 lines
1.0 KiB
Makefile
Raw Normal View History

2010-12-15 11:01:45 -05:00
# $OpenBSD: Makefile,v 1.20 2010/12/15 16:01:45 ajacoutot Exp $
2007-06-18 07:58:11 -04:00
COMMENT= free open source planetarium
2010-12-15 11:01:45 -05:00
DISTNAME= stellarium-0.10.6
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
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
RUN_DEPENDS= net/curl \
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>