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

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

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

CVSweb <webmaster@jp.NetBSD.org>