[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / celestia

Annotation of pkgsrc/misc/celestia/Makefile, Revision 1.58

1.58    ! tron        1: # $NetBSD: Makefile,v 1.57 2014/01/01 11:52:23 wiz Exp $
1.1       salo        2:
1.56      dholland    3: DISTNAME=      celestia-1.6.1
1.58    ! tron        4: PKGREVISION=   2
1.10      adam        5: CATEGORIES=    misc x11
                      6: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=celestia/}
                      7:
                      8: MAINTAINER=    cesar_catrian@yahoo.com
                      9: HOMEPAGE=      http://www.shatters.net/celestia/
1.1       salo       10: COMMENT=       Free real-time 3D space simulator
                     11:
1.10      adam       12: DISTINFO_FILE= ${.CURDIR}/../../misc/celestia/distinfo
                     13: PATCHDIR=      ${.CURDIR}/../../misc/celestia/patches
                     14:
1.12      rillig     15: USE_LANGUAGES=         c c++
1.10      adam       16: USE_LIBTOOL=           yes
                     17: USE_PKGLOCALEDIR=      yes
                     18: USE_TOOLS+=            gmake pkg-config
                     19: GNU_CONFIGURE=         yes
                     20:
                     21: GCC_REQD+=             3.0
                     22: CXXFLAGS+=     -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
1.1       salo       23:
                     24: EGDIR=         ${PREFIX}/share/examples/celestia
                     25: CONF_FILES=    ${EGDIR}/celestia.cfg.default ${PKG_SYSCONFDIR}/celestia.cfg
                     26:
1.10      adam       27: .include "../../mk/bsd.prefs.mk"
                     28:
1.16      joerg      29: .if exists(${X11BASE}/include/X11/extensions/Xinerama.h) || ${X11_TYPE} != "native"
                     30: .include "../../x11/libXinerama/buildlink3.mk"
1.10      adam       31: CONFIGURE_ARGS+=       --with-xinerama
                     32: .endif
                     33:
                     34: .include "../../mk/pthread.buildlink3.mk"
                     35:
                     36: .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
                     37: CONFIGURE_ARGS+=       --disable-threading
                     38: .endif
                     39:
1.19      joerg      40: INSTALLATION_DIRS=     ${EGDIR}
                     41:
1.56      dholland   42:
                     43: # The distfile comes with binary static libs for cspice, liblua,
                     44: # liblualib, and libpng. Delete them on the assumption that we don't
                     45: # want to use binary blobs. If the build turns out to require them for
                     46: # some reason, this can be reviewed...
                     47: post-extract:
                     48:        ${RM} -f ${WRKSRC}/macosx/lib/*.a
                     49:
1.1       salo       50: post-install:
1.19      joerg      51:        ${INSTALL_DATA} ${WRKSRC}/celestia.cfg ${DESTDIR}${EGDIR}/celestia.cfg.default
1.1       salo       52:
1.10      adam       53: .include "options.mk"
                     54:
                     55: .include "../../devel/gettext-lib/buildlink3.mk"
1.16      joerg      56: .include "../../devel/zlib/buildlink3.mk"
1.10      adam       57: .include "../../graphics/glu/buildlink3.mk"
1.27      dsainty    58: .include "../../mk/jpeg.buildlink3.mk"
1.10      adam       59: .include "../../graphics/png/buildlink3.mk"
1.16      joerg      60: .include "../../x11/libXmu/buildlink3.mk"
                     61: .include "../../x11/libXt/buildlink3.mk"
1.37      dholland   62: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.6       jlam       63: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>