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

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

1.3     ! xtraeme     1: # $NetBSD: Makefile,v 1.2 2004/06/05 17:26:55 xtraeme Exp $
1.1       xtraeme     2: #
                      3:
                      4: DISTNAME=              openmsx-0.4.0
1.3     ! xtraeme     5: PKGREVISION=           1
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:
                     13: USE_BUILDLINK3=                yes
                     14: USE_GNU_TOOLS+=                make
                     15: USE_LANGUAGES=         c c++
                     16: USE_X11=               yes
                     17: HAS_CONFIGURE=         yes
                     18:
                     19: MAKEFILE=              GNUmakefile
                     20: CONFIGURE_ENV+=                OPENMSX_FLAVOUR=pkgsrc
                     21: MAKE_ENV+=             OPENMSX_FLAVOUR=pkgsrc
                     22:
                     23: post-extract:
                     24:        @${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
                     25:        @${ECHO_MSG} "OPENMSX_STRIP:=true" > \
                     26:                ${WRKSRC}/build/flavour-pkgsrc.mk
                     27:
                     28: SUBST_CLASSES=         prefix
                     29: SUBST_STAGE.prefix=    post-patch
                     30: SUBST_FILES.prefix=    build/custom.mk
                     31: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
                     32: SUBST_MESSAGE.prefix=  "Fixing installation directory."
                     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>