View | Details | Raw Unified | Return to bug 237376 | Differences between
and this patch

Collapse All | Expand All

(-)emulators/pcem/Makefile (+26 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME= pcem
4
DISTVERSION= 14
5
CATEGORIES= emulators
6
MASTER_SITES= https://bitbucket.org/pcem_emulator/pcem/get/
7
DISTFILES= faf5d6423060.zip
8
9
MAINTAINER= darkfm@vera.com.uy
10
COMMENT= PC/PC-Compatible low-level emulator striving for accuracy
11
12
LICENSE= GPLv2
13
14
LIB_DEPENDS= libGL.so:graphics/mesa-libs libopenal.so:audio/openal libwx_gtk3u_core-3.0.so:x11-toolkits/wxgtk30 libSDL2.so:devel/sdl20
15
16
USES=gmake
17
USE_AUTOTOOLS=autoreconf
18
19
WRKSRC=${WRKDIR}
20
PATCHDIR=files
21
22
pre-configure:
23
	${MV} ${WRKSRC}/*/* ${WRKSRC}
24
	cd ${WRKSRC} && ${CHMOD} +x install-sh && autoreconf && ./configure --enable-release-build
25
26
.include <bsd.port.mk>
(-)emulators/pcem/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1555640654
2
SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b
3
SIZE (faf5d6423060.zip) = 1792228
(-)emulators/pcem/files/patch-pcem__emulator-pcem-faf5d6423060_configure.ac (+21 lines)
Line 0 Link Here
1
--- pcem_emulator-pcem-faf5d6423060/configure.ac.orig	2019-04-19 02:24:58 UTC
2
+++ pcem_emulator-pcem-faf5d6423060/configure.ac
3
@@ -150,6 +150,18 @@ case "$host" in
4
            exit -1])
5
        build_linux="yes"
6
        ;;
7
+    *-*-freebsd*)
8
+       CFLAGS="$CFLAGS -I/usr/local/include"
9
+       CXXFLAGS="$CXXFLAGS -I/usr/local/include"
10
+       LDFLAGS="$LDFLAGS -L/usr/local/lib"
11
+       AC_CHECK_LIB([GL], [glGetError], [], \
12
+           [echo "You need to install the OpenGL library."
13
+           exit -1])
14
+       AC_CHECK_LIB([openal], [alGetError], [], \
15
+           [echo "You need to install the OpenAL library."
16
+           exit -1])
17
+       build_other="yes"
18
+       ;;
19
     *)
20
        AC_CHECK_LIB([GL], [glGetError], [], \
21
            [echo "You need to install the OpenGL library."
(-)emulators/pcem/pkg-descr (+5 lines)
Line 0 Link Here
1
A very accurate (and not very fast) PC and PC-compatible emulator.
2
Support currently ranges from the original IBM PC to Socket 7 motherboards.
3
It also supports a wide range of peripherals, including Voodoo Graphics!
4
5
WWW: https://www.pcem-emulator.co.uk
(-)emulators/pcem/pkg-plist (+1 lines)
Line 0 Link Here
1
bin/pcem

Return to bug 237376