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

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

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

CVSweb <webmaster@jp.NetBSD.org>