openbsd-ports/astro/stellarium/Makefile
ajacoutot 570f6d1704 - unbreak after recent Mesa update
breakage reported by naddy@
2009-05-21 21:34:40 +00:00

47 lines
961 B
Makefile

# $OpenBSD: Makefile,v 1.9 2009/05/21 21:34:40 ajacoutot Exp $
COMMENT= free open source planetarium
DISTNAME= stellarium-0.10.2
PKGNAME= ${DISTNAME}p0
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 Xi Xinerama Xrender c
WANTLIB += fontconfig freetype glib-2.0 gthread-2.0 jpeg m png
WANTLIB += pthread stdc++ z
USE_X11= Yes
MODULES= devel/gettext \
devel/cmake \
x11/qt4
BUILD_DEPENDS= ::devel/boost
LIB_DEPENDS= QtGui,QtNetwork,QtOpenGL,QtScript::x11/qt4
CONFIGURE_STYLE=cmake
CONFIGURE_ENV= HOME=${WRKDIR}
PORTHOME= ${WRKDIR}
MAKE_FLAGS= -DVERBOSE
NO_REGRESS= Yes
MODCMAKE_WANTCOLOR=No
pre-configure:
${SUBST_CMD} ${WRKSRC}/cmake/FindFreeType2.cmake
.include <bsd.port.mk>