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

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

1.31    ! marino      1: # $NetBSD: Makefile,v 1.30 2012/06/14 07:45:18 sbd Exp $
1.1       xtraeme     2: #
                      3:
1.19      xtraeme     4: DISTNAME=              openmsx-0.6.2
1.31    ! marino      5: PKGREVISION=           9
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
                     12:
1.23      joerg      13: PKG_DESTDIR_SUPPORT=   user-destdir
                     14:
1.8       jlam       15: USE_TOOLS+=            gmake
1.1       xtraeme    16: USE_LANGUAGES=         c c++
                     17: HAS_CONFIGURE=         yes
                     18:
1.18      obache     19: MAKE_FILE=             GNUmakefile
1.1       xtraeme    20: CONFIGURE_ENV+=                OPENMSX_FLAVOUR=pkgsrc
                     21: MAKE_ENV+=             OPENMSX_FLAVOUR=pkgsrc
                     22:
                     23: post-extract:
1.26      wiz        24:        ${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
                     25:        ${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk
                     26:        ${ECHO_MSG} "OPENMSX_STRIP:=true" > \
1.1       xtraeme    27:                ${WRKSRC}/build/flavour-pkgsrc.mk
                     28:
1.27      dholland   29: REPLACE_PYTHON+=       share/scripts/convert_hardwareconfig.py
                     30: REPLACE_PYTHON+=       share/scripts/convert_hardwareconfig2.py
                     31:
1.11      rillig     32: SUBST_CLASSES+=                prefix
1.1       xtraeme    33: SUBST_STAGE.prefix=    post-patch
                     34: SUBST_FILES.prefix=    build/custom.mk
                     35: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
1.15      rillig     36: SUBST_MESSAGE.prefix=  Fixing installation directory.
1.1       xtraeme    37:
1.3       xtraeme    38: post-build:
1.26      wiz        39:        (                                                       \
1.3       xtraeme    40:        ${ECHO} "#!${SH}";                                      \
                     41:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    42:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    43:
1.23      joerg      44: INSTALLATION_DIRS+=    bin
                     45: INSTALL_MAKE_FLAGS+=   OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
1.31    ! marino     46: INSTALL_MAKE_FLAGS+=   SYMLINK_FOR_BINARY=false
1.23      joerg      47:
1.3       xtraeme    48: post-install:
1.23      joerg      49:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
1.2       xtraeme    50:
1.27      dholland   51: .include "../../lang/python/application.mk"
1.1       xtraeme    52: .include "../../devel/SDL/buildlink3.mk"
                     53: .include "../../devel/zlib/buildlink3.mk"
                     54: .include "../../graphics/SDL_image/buildlink3.mk"
                     55: .include "../../graphics/png/buildlink3.mk"
                     56: .include "../../lang/tcl/buildlink3.mk"
                     57: .include "../../textproc/libxml2/buildlink3.mk"
                     58: .include "../../mk/pthread.buildlink3.mk"
                     59: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>