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

Annotation of pkgsrc/emulators/openmsx/Makefile, Revision 1.39

1.39    ! adam        1: # $NetBSD: Makefile,v 1.38 2013/06/04 22:16:01 tron Exp $
1.1       xtraeme     2: #
                      3:
1.33      marino      4: DISTNAME=              openmsx-0.9.0
1.39    ! adam        5: PKGREVISION=           4
1.1       xtraeme     6: CATEGORIES=            emulators
                      7: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=openmsx/}
                      8:
1.20      wiz         9: MAINTAINER=            pkgsrc-users@NetBSD.org
1.1       xtraeme    10: HOMEPAGE=              http://openmsx.sourceforge.net/
                     11: COMMENT=               MSX emulator that aims for perfection
1.33      marino     12: LICENSE=               gnu-gpl-v2
1.1       xtraeme    13:
1.8       jlam       14: USE_TOOLS+=            gmake
1.33      marino     15: USE_LANGUAGES+=                c++
1.1       xtraeme    16: HAS_CONFIGURE=         yes
                     17:
1.18      obache     18: MAKE_FILE=             GNUmakefile
1.33      marino     19: MAKE_ENV+=             OPENMSX_FLAVOUR=opt
                     20: CONFIGURE_ENV+=        OPENMSX_FLAVOUR=opt
                     21: CONFIGURE_ENV+=        LOCALBASE=${PREFIX}
                     22: INSTALLATION_DIRS+=    bin
                     23: INSTALL_MAKE_FLAGS+=   SYMLINK_FOR_BINARY=false
                     24: INSTALL_MAKE_FLAGS+=   INSTALL_BASE=${PREFIX}/openmsx
                     25: MAKE_ENV+=             OPENMSX_INSTALL=${PREFIX}/openmsx
                     26:
                     27: .include "../../mk/bsd.prefs.mk"
                     28:
                     29: .if "${PKGSRC_COMPILER}" == "clang"
                     30: # As a result of predefining CXX, .wrapper/bin/clang++ is automatically
                     31: # hardlinked to c++, g++, which is exactly what we what!
1.34      marino     32: CXX=clang++
1.33      marino     33: .elif "${PKGSRC_COMPILER}" == "gcc"
1.34      marino     34: CXX=g++
1.33      marino     35: .endif
1.1       xtraeme    36:
                     37: post-extract:
1.33      marino     38:        ${CP} ${WRKSRC}/build/platform-freebsd.mk \
                     39:              ${WRKSRC}/build/platform-dragonfly.mk
                     40:        # Fix permission problem specific to release 0.9.0 and below
                     41:        ${CHMOD} 644 ${WRKSRC}/share/extensions/debugdevice/hardwareconfig.xml
                     42:        ${CHMOD} 644 ${WRKSRC}/share/extensions/gfx9000/hardwareconfig.xml
1.1       xtraeme    43:
1.3       xtraeme    44: post-build:
1.26      wiz        45:        (                                                       \
1.3       xtraeme    46:        ${ECHO} "#!${SH}";                                      \
                     47:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    48:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    49:
                     50: post-install:
1.23      joerg      51:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
1.33      marino     52:        @${ECHO_MSG} "======================================================================"
                     53:        @${ECHO_MSG} "  Don't forget to have sound driver loaded before running openMSX."
                     54:        @${ECHO_MSG} "  Otherwise, aRts will throw an exception when launching OpenMSX or"
                     55:        @${ECHO_MSG} "  fail to create a directory called '.mcoprc' in the home directory."
                     56:        @${ECHO_MSG} "  However, you may execute OpenMSX without sound support like this:"
                     57:        @${ECHO_MSG} "  # env SDL_AUDIODRIVER=dummy openmsx <args>"
                     58:        @${ECHO_MSG} "======================================================================"
1.2       xtraeme    59:
1.33      marino     60: .include "../../audio/libao/buildlink3.mk"
1.1       xtraeme    61: .include "../../devel/SDL/buildlink3.mk"
1.33      marino     62: .include "../../devel/SDL_ttf/buildlink3.mk"
1.1       xtraeme    63: .include "../../devel/zlib/buildlink3.mk"
1.33      marino     64: .include "../../graphics/glew/buildlink3.mk"
1.1       xtraeme    65: .include "../../graphics/SDL_image/buildlink3.mk"
                     66: .include "../../graphics/png/buildlink3.mk"
1.33      marino     67: .include "../../lang/python/application.mk"
1.1       xtraeme    68: .include "../../lang/tcl/buildlink3.mk"
1.33      marino     69: .include "../../multimedia/libogg/buildlink3.mk"
                     70: .include "../../multimedia/libtheora/buildlink3.mk"
1.1       xtraeme    71: .include "../../textproc/libxml2/buildlink3.mk"
                     72: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>