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

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

1.24    ! wiz         1: # $NetBSD: Makefile,v 1.23 2010/01/29 23:01:53 joerg Exp $
1.1       xtraeme     2: #
                      3:
1.19      xtraeme     4: DISTNAME=              openmsx-0.6.2
                      5: #PKGREVISION=          1
1.24    ! wiz         6: PKGREVISION=           3
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.23      joerg      14: PKG_DESTDIR_SUPPORT=   user-destdir
                     15:
1.8       jlam       16: USE_TOOLS+=            gmake
1.1       xtraeme    17: USE_LANGUAGES=         c c++
                     18: HAS_CONFIGURE=         yes
                     19:
1.18      obache     20: MAKE_FILE=             GNUmakefile
1.1       xtraeme    21: CONFIGURE_ENV+=                OPENMSX_FLAVOUR=pkgsrc
                     22: MAKE_ENV+=             OPENMSX_FLAVOUR=pkgsrc
                     23:
                     24: post-extract:
                     25:        @${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
1.16      joerg      26:        @${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk
1.1       xtraeme    27:        @${ECHO_MSG} "OPENMSX_STRIP:=true" > \
                     28:                ${WRKSRC}/build/flavour-pkgsrc.mk
                     29:
1.11      rillig     30: SUBST_CLASSES+=                prefix
1.1       xtraeme    31: SUBST_STAGE.prefix=    post-patch
                     32: SUBST_FILES.prefix=    build/custom.mk
                     33: SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
1.15      rillig     34: SUBST_MESSAGE.prefix=  Fixing installation directory.
1.1       xtraeme    35:
1.3       xtraeme    36: post-build:
1.2       xtraeme    37:        @(                                                      \
1.3       xtraeme    38:        ${ECHO} "#!${SH}";                                      \
                     39:        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
1.2       xtraeme    40:        ) > ${WRKSRC}/openmsx.sh
1.3       xtraeme    41:
1.23      joerg      42: INSTALLATION_DIRS+=    bin
                     43: INSTALL_MAKE_FLAGS+=   OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
                     44:
1.3       xtraeme    45: post-install:
1.23      joerg      46:        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
1.2       xtraeme    47:
1.1       xtraeme    48: .include "../../devel/SDL/buildlink3.mk"
                     49: .include "../../devel/zlib/buildlink3.mk"
                     50: .include "../../graphics/SDL_image/buildlink3.mk"
                     51: .include "../../graphics/png/buildlink3.mk"
                     52: .include "../../lang/tcl/buildlink3.mk"
                     53: .include "../../textproc/libxml2/buildlink3.mk"
                     54: .include "../../mk/pthread.buildlink3.mk"
                     55: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>