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

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

1.26    ! wiz         1: # $NetBSD: Makefile,v 1.25 2011/01/13 13:37:35 wiz Exp $
1.1       xtraeme     2: #
                      3:
1.19      xtraeme     4: DISTNAME=              openmsx-0.6.2
1.25      wiz         5: PKGREVISION=           4
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.11      rillig     29: SUBST_CLASSES+=                prefix
1.1       xtraeme    30: SUBST_STAGE.prefix=    post-patch
                     31: SUBST_FILES.prefix=    build/custom.mk
                     32: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
1.15      rillig     33: SUBST_MESSAGE.prefix=  Fixing installation directory.
1.1       xtraeme    34:
1.3       xtraeme    35: post-build:
1.26    ! wiz        36:        (                                                       \
1.3       xtraeme    37:        ${ECHO} "#!${SH}";                                      \
                     38:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    39:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    40:
1.23      joerg      41: INSTALLATION_DIRS+=    bin
                     42: INSTALL_MAKE_FLAGS+=   OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
                     43:
1.3       xtraeme    44: post-install:
1.23      joerg      45:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
1.2       xtraeme    46:
1.1       xtraeme    47: .include "../../devel/SDL/buildlink3.mk"
                     48: .include "../../devel/zlib/buildlink3.mk"
                     49: .include "../../graphics/SDL_image/buildlink3.mk"
                     50: .include "../../graphics/png/buildlink3.mk"
                     51: .include "../../lang/tcl/buildlink3.mk"
                     52: .include "../../textproc/libxml2/buildlink3.mk"
                     53: .include "../../mk/pthread.buildlink3.mk"
                     54: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>