From owner-svn-ports-all@freebsd.org Mon May 6 03:13:23 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C36EB159BF32; Mon, 6 May 2019 03:13:23 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6907D82FDD; Mon, 6 May 2019 03:13:23 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 440DFD59; Mon, 6 May 2019 03:13:23 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x463DN0Q097134; Mon, 6 May 2019 03:13:23 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x463DMgr097109; Mon, 6 May 2019 03:13:22 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201905060313.x463DMgr097109@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 6 May 2019 03:13:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500881 - in head/emulators: . pcem pcem/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/emulators: . pcem pcem/files X-SVN-Commit-Revision: 500881 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6907D82FDD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.946,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 03:13:24 -0000 Author: pi Date: Mon May 6 03:13:22 2019 New Revision: 500881 URL: https://svnweb.freebsd.org/changeset/ports/500881 Log: New port: emulators/pcem: PC-Compatible low-level emulator striving for accuracy A very accurate (and not very fast) PC and PC-compatible emulator. Support currently ranges from the original IBM PC to Socket 7 motherboards. It also supports a wide range of peripherals, including Voodoo Graphics! WWW: https://www.pcem-emulator.co.uk PR: 237376 Submitted by: Salvador Pardinas Reviewed by: tobik Added: head/emulators/pcem/ head/emulators/pcem/Makefile (contents, props changed) head/emulators/pcem/distinfo (contents, props changed) head/emulators/pcem/files/ head/emulators/pcem/files/patch-configure.ac (contents, props changed) head/emulators/pcem/pkg-descr (contents, props changed) Modified: head/emulators/Makefile Modified: head/emulators/Makefile ============================================================================== --- head/emulators/Makefile Mon May 6 02:10:34 2019 (r500880) +++ head/emulators/Makefile Mon May 6 03:13:22 2019 (r500881) @@ -101,6 +101,7 @@ SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools + SUBDIR += pcem SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc Added: head/emulators/pcem/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/Makefile Mon May 6 03:13:22 2019 (r500881) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= pcem +DISTVERSION= 14 +CATEGORIES= emulators +MASTER_SITES= https://bitbucket.org/pcem_emulator/pcem/get/ +DISTNAME= faf5d6423060 + +MAINTAINER= darkfm@vera.com.uy +COMMENT= PC/PC-Compatible low-level emulator striving for accuracy + +LICENSE= GPLv2 + +LIB_DEPENDS= libGL.so:graphics/mesa-libs \ + libopenal.so:audio/openal-soft \ + libwx_gtk3u_core-3.0.so:x11-toolkits/wxgtk30 \ + libSDL2.so:devel/sdl20 + +USES= autoreconf compiler gmake openal:soft pkgconfig sdl zip +USE_WX= 3.0 +USE_SDL= sdl2 + +WRKSRC= ${WRKDIR}/pcem_emulator-pcem-faf5d6423060/ +PATCHDIR=files +PLIST_FILES= bin/pcem +CONFIGURE_ARGS= --enable-release-build --with-wx-config=wxgtk3u-3.0-config +GNU_CONFIGURE= yes +ONLY_FOR_ARCHS= amd64 + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 +LDFLAGS+= -fuse-ld=bfd +.endif + +.include Added: head/emulators/pcem/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/distinfo Mon May 6 03:13:22 2019 (r500881) @@ -0,0 +1,3 @@ +TIMESTAMP = 1555640654 +SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b +SIZE (faf5d6423060.zip) = 1792228 Added: head/emulators/pcem/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/files/patch-configure.ac Mon May 6 03:13:22 2019 (r500881) @@ -0,0 +1,32 @@ +--- configure.ac.orig 2019-04-17 19:37:48 UTC ++++ configure.ac +@@ -64,6 +64,10 @@ case "${host_cpu}" in + CPU=x86_64 + AC_MSG_RESULT(${host_cpu}) + ;; ++ amd64) ++ CPU=x86_64 ++ AC_MSG_RESULT(${host_cpu}) ++ ;; + *) + AC_MSG_ERROR([Unsupported CPU.]) + ;; +@@ -149,6 +153,18 @@ case "$host" in + [echo "You need to install the OpenAL library." + exit -1]) + build_linux="yes" ++ ;; ++ *-*-freebsd*) ++ CFLAGS="$CFLAGS -I/usr/local/include" ++ CXXFLAGS="$CXXFLAGS -I/usr/local/include" ++ LDFLAGS="$LDFLAGS -L/usr/local/lib" ++ AC_CHECK_LIB([GL], [glGetError], [], \ ++ [echo "You need to install the OpenGL library." ++ exit -1]) ++ AC_CHECK_LIB([openal], [alGetError], [], \ ++ [echo "You need to install the OpenAL library." ++ exit -1]) ++ build_other="yes" + ;; + *) + AC_CHECK_LIB([GL], [glGetError], [], \ Added: head/emulators/pcem/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pcem/pkg-descr Mon May 6 03:13:22 2019 (r500881) @@ -0,0 +1,5 @@ +A very accurate (and not very fast) PC and PC-compatible emulator. +Support currently ranges from the original IBM PC to Socket 7 motherboards. +It also supports a wide range of peripherals, including Voodoo Graphics! + +WWW: https://www.pcem-emulator.co.uk