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

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

1.21    ! sno         1: # $NetBSD: Makefile,v 1.20 2008/05/25 21:23:26 wiz Exp $
1.1       xtraeme     2: #
                      3:
1.19      xtraeme     4: DISTNAME=              openmsx-0.6.2
                      5: #PKGREVISION=          1
1.21    ! sno         6: PKGREVISION=           1
1.1       xtraeme     7: CATEGORIES=            emulators
                      8: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=openmsx/}
                      9:
1.20      wiz        10: MAINTAINER=            pkgsrc-users@NetBSD.org
1.1       xtraeme    11: HOMEPAGE=              http://openmsx.sourceforge.net/
                     12: COMMENT=               MSX emulator that aims for perfection
                     13:
1.8       jlam       14: USE_TOOLS+=            gmake
1.1       xtraeme    15: USE_LANGUAGES=         c c++
                     16: HAS_CONFIGURE=         yes
                     17:
1.18      obache     18: MAKE_FILE=             GNUmakefile
1.1       xtraeme    19: CONFIGURE_ENV+=                OPENMSX_FLAVOUR=pkgsrc
                     20: MAKE_ENV+=             OPENMSX_FLAVOUR=pkgsrc
                     21:
                     22: post-extract:
                     23:        @${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
1.16      joerg      24:        @${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk
1.1       xtraeme    25:        @${ECHO_MSG} "OPENMSX_STRIP:=true" > \
                     26:                ${WRKSRC}/build/flavour-pkgsrc.mk
                     27:
1.11      rillig     28: SUBST_CLASSES+=                prefix
1.1       xtraeme    29: SUBST_STAGE.prefix=    post-patch
                     30: SUBST_FILES.prefix=    build/custom.mk
                     31: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
1.15      rillig     32: SUBST_MESSAGE.prefix=  Fixing installation directory.
1.1       xtraeme    33:
1.3       xtraeme    34: post-build:
1.2       xtraeme    35:        @(                                                      \
1.3       xtraeme    36:        ${ECHO} "#!${SH}";                                      \
                     37:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    38:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    39:
                     40: post-install:
1.2       xtraeme    41:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
                     42:
1.1       xtraeme    43: .include "../../devel/SDL/buildlink3.mk"
                     44: .include "../../devel/zlib/buildlink3.mk"
                     45: .include "../../graphics/SDL_image/buildlink3.mk"
                     46: .include "../../graphics/png/buildlink3.mk"
                     47: .include "../../lang/tcl/buildlink3.mk"
                     48: .include "../../textproc/libxml2/buildlink3.mk"
                     49: .include "../../mk/pthread.buildlink3.mk"
                     50: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>