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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/emulators/openmsx/Makefile between version 1.32 and 1.33

version 1.32, 2012/08/21 23:49:21 version 1.33, 2012/08/26 09:07:21
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               openmsx-0.6.2  DISTNAME=               openmsx-0.9.0
 PKGREVISION=            10  
 CATEGORIES=             emulators  CATEGORIES=             emulators
 MASTER_SITES=           ${MASTER_SITE_SOURCEFORGE:=openmsx/}  MASTER_SITES=           ${MASTER_SITE_SOURCEFORGE:=openmsx/}
   
 MAINTAINER=             pkgsrc-users@NetBSD.org  MAINTAINER=             pkgsrc-users@NetBSD.org
 HOMEPAGE=               http://openmsx.sourceforge.net/  HOMEPAGE=               http://openmsx.sourceforge.net/
 COMMENT=                MSX emulator that aims for perfection  COMMENT=                MSX emulator that aims for perfection
   LICENSE=                gnu-gpl-v2
   
 PKG_DESTDIR_SUPPORT=    user-destdir  PKG_DESTDIR_SUPPORT=    user-destdir
   
 USE_TOOLS+=             gmake  USE_TOOLS+=             gmake
 USE_LANGUAGES=          c c++  USE_LANGUAGES+=         c++
 HAS_CONFIGURE=          yes  HAS_CONFIGURE=          yes
   
 MAKE_FILE=              GNUmakefile  MAKE_FILE=              GNUmakefile
 CONFIGURE_ENV+=         OPENMSX_FLAVOUR=pkgsrc  MAKE_ENV+=              OPENMSX_FLAVOUR=opt
 MAKE_ENV+=              OPENMSX_FLAVOUR=pkgsrc  CONFIGURE_ENV+=         OPENMSX_FLAVOUR=opt
   CONFIGURE_ENV+=         LOCALBASE=${PREFIX}
   INSTALLATION_DIRS+=     bin
   INSTALL_MAKE_FLAGS+=    SYMLINK_FOR_BINARY=false
   INSTALL_MAKE_FLAGS+=    INSTALL_BASE=${PREFIX}/openmsx
   MAKE_ENV+=              OPENMSX_INSTALL=${PREFIX}/openmsx
   
   .include "../../mk/bsd.prefs.mk"
   
   .if "${PKGSRC_COMPILER}" == "clang"
   # As a result of predefining CXX, .wrapper/bin/clang++ is automatically
   # hardlinked to c++, g++, which is exactly what we what!
   CXX_OVERRIDE=clang++
   .elif "${PKGSRC_COMPILER}" == "gcc"
   CXX_OVERRIDE=g++
   .else
   CXX_OVERRIDE=${CXX}
   .endif
   CXX=${CXX_OVERRIDE}
   
 post-extract:  post-extract:
         ${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build          ${CP} ${WRKSRC}/build/platform-freebsd.mk \
         ${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk                ${WRKSRC}/build/platform-dragonfly.mk
         ${ECHO_MSG} "OPENMSX_STRIP:=true" > \          # Fix permission problem specific to release 0.9.0 and below
                 ${WRKSRC}/build/flavour-pkgsrc.mk          ${CHMOD} 644 ${WRKSRC}/share/extensions/debugdevice/hardwareconfig.xml
           ${CHMOD} 644 ${WRKSRC}/share/extensions/gfx9000/hardwareconfig.xml
 REPLACE_PYTHON+=        share/scripts/convert_hardwareconfig.py  
 REPLACE_PYTHON+=        share/scripts/convert_hardwareconfig2.py  
   
 SUBST_CLASSES+=         prefix  
 SUBST_STAGE.prefix=     post-patch  
 SUBST_FILES.prefix=     build/custom.mk  
 SUBST_SED.prefix=       -e "s,/opt/openMSX,${PREFIX}/openmsx,"  
 SUBST_MESSAGE.prefix=   Fixing installation directory.  
   
 post-build:  post-build:
         (                                                       \          (                                                       \
Line 41  post-build:
Line 51  post-build:
         ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \          ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
         ) > ${WRKSRC}/openmsx.sh          ) > ${WRKSRC}/openmsx.sh
   
 INSTALLATION_DIRS+=     bin  
 INSTALL_MAKE_FLAGS+=    OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx  
 INSTALL_MAKE_FLAGS+=    SYMLINK_FOR_BINARY=false  
   
 post-install:  post-install:
         ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx          ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
           @${ECHO_MSG} "======================================================================"
           @${ECHO_MSG} "  Don't forget to have sound driver loaded before running openMSX."
           @${ECHO_MSG} "  Otherwise, aRts will throw an exception when launching OpenMSX or"
           @${ECHO_MSG} "  fail to create a directory called '.mcoprc' in the home directory."
           @${ECHO_MSG} "  However, you may execute OpenMSX without sound support like this:"
           @${ECHO_MSG} "  # env SDL_AUDIODRIVER=dummy openmsx <args>"
           @${ECHO_MSG} "======================================================================"
   
 .include "../../lang/python/application.mk"  .include "../../audio/libao/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"  .include "../../devel/SDL/buildlink3.mk"
   .include "../../devel/SDL_ttf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"  .include "../../devel/zlib/buildlink3.mk"
   .include "../../graphics/glew/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"  .include "../../graphics/SDL_image/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"  .include "../../graphics/png/buildlink3.mk"
   .include "../../lang/python/application.mk"
 .include "../../lang/tcl/buildlink3.mk"  .include "../../lang/tcl/buildlink3.mk"
   .include "../../multimedia/libogg/buildlink3.mk"
   .include "../../multimedia/libtheora/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"  .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"  
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

CVSweb <webmaster@jp.NetBSD.org>