Index: pcem/Makefile =================================================================== --- pcem/Makefile (nonexistent) +++ pcem/Makefile (working copy) @@ -0,0 +1,28 @@ +# $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 gmake zip +USE_WX= 3.0 + +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 + +.include Property changes on: pcem/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pcem/distinfo =================================================================== --- pcem/distinfo (nonexistent) +++ pcem/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1555640654 +SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b +SIZE (faf5d6423060.zip) = 1792228 Property changes on: pcem/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pcem/files/patch-configure.ac =================================================================== --- pcem/files/patch-configure.ac (nonexistent) +++ pcem/files/patch-configure.ac (working copy) @@ -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], [], \ Property changes on: pcem/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pcem/pkg-descr =================================================================== --- pcem/pkg-descr (nonexistent) +++ pcem/pkg-descr (working copy) @@ -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 Property changes on: pcem/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property