diff options
Diffstat (limited to 'misc/celestia/Makefile.common')
-rw-r--r-- | misc/celestia/Makefile.common | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/misc/celestia/Makefile.common b/misc/celestia/Makefile.common new file mode 100644 index 00000000000..a2d062c8be3 --- /dev/null +++ b/misc/celestia/Makefile.common @@ -0,0 +1,39 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2003/05/08 23:47:03 salo Exp $ +# + +DISTNAME= celestia-${CELESTIA_VERS} +CATEGORIES= misc x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=celestia/} + +MAINTAINER= cesar_catrian@yahoo.com +HOMEPAGE= http://www.shatters.net/celestia/ + +DISTINFO_FILE= ${.CURDIR}/../../misc/celestia/distinfo +PATCHDIR= ${.CURDIR}/../../misc/celestia/patches + +CELESTIA_VERS= 1.3.0 + +USE_BUILDLINK2= YES +GNU_CONFIGURE= YES +USE_X11= YES +USE_LIBTOOL= YES + +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +CONFIGURE_ARGS+= --includedir=${PREFIX}/include +CONFIGURE_ARGS+= --with-lua=${BUILDLINK_PREFIX.lua} + +CXXFLAGS= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\" + +.include "../../mk/bsd.prefs.mk" + +.if exists(${X11BASE}/include/X11/extensions/Xinerama.h) +CONFIGURE_ARGS+= --with-xinerama +.endif + +.include "../../lang/lua/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +CONFIGURE_ARGS+= --disable-threading +.endif |