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

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

1.14    ! wiz         1: # $NetBSD: Makefile,v 1.13 2006/02/05 23:09:02 joerg 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
                     23:        @${ECHO_MSG} "OPENMSX_STRIP:=true" > \
                     24:                ${WRKSRC}/build/flavour-pkgsrc.mk
                     25:
1.11      rillig     26: SUBST_CLASSES+=                prefix
1.1       xtraeme    27: SUBST_STAGE.prefix=    post-patch
                     28: SUBST_FILES.prefix=    build/custom.mk
                     29: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
                     30: SUBST_MESSAGE.prefix=  "Fixing installation directory."
                     31:
1.3       xtraeme    32: post-build:
1.2       xtraeme    33:        @(                                                      \
1.3       xtraeme    34:        ${ECHO} "#!${SH}";                                      \
                     35:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    36:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    37:
                     38: post-install:
1.2       xtraeme    39:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
                     40:
1.1       xtraeme    41: .include "../../devel/SDL/buildlink3.mk"
                     42: .include "../../devel/zlib/buildlink3.mk"
                     43: .include "../../graphics/SDL_image/buildlink3.mk"
                     44: .include "../../graphics/png/buildlink3.mk"
                     45: .include "../../lang/tcl/buildlink3.mk"
                     46: .include "../../textproc/libxml2/buildlink3.mk"
                     47: .include "../../mk/pthread.buildlink3.mk"
                     48: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>