aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/minivmac/Makefile21
-rw-r--r--emulators/minivmac/distinfo9
-rw-r--r--emulators/minivmac/files/patch-Makefile13
3 files changed, 24 insertions, 19 deletions
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile
index 3340e246579d..9ec036bf9dbc 100644
--- a/emulators/minivmac/Makefile
+++ b/emulators/minivmac/Makefile
@@ -6,39 +6,28 @@
#
PORTNAME= minivmac
-PORTVERSION= 2.7.1
+PORTVERSION= 2.8.2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}.src
-EXTRACT_SUFX= .tgz
+DISTFILES= ${PORTNAME}-${PORTVERSION}.src.tgz ${PORTNAME}-${PORTVERSION}.prj.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A miniature Macintosh emulator
BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
-WRKSRC= ${WRKDIR}/source
+WRKSRC= ${WRKDIR}/projects/bgclx86d
USE_XLIB= yes
USE_GMAKE= yes
CFLAGS+= -I${X11BASE}/include
+ALL_TARGET= # nothing
PLIST_FILES= bin/minivmac
-post-patch:
- @${REINPLACE_CMD} -e 's|my_cc=gcc|my_cc=${CC}|g ; \
- s|-Wno-unused-function||g ; \
- s|my_make=make|my_make=${GMAKE}|g' ${WRKSRC}/build/bash
- @${REINPLACE_CMD} -e 's|-Os|${CFLAGS}|g ; \
- s|/usr/X11R6/|${X11BASE}/|g ; \
- s|gcc|${CC}|g' ${WRKSRC}/build/setup.c
-
-do-build:
- @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build/bash
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/output/minivmac ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo
index 60939cd2128f..1185817a4168 100644
--- a/emulators/minivmac/distinfo
+++ b/emulators/minivmac/distinfo
@@ -1,3 +1,6 @@
-MD5 (minivmac-2.7.1.src.tgz) = b465920e9a60aa148b5ab97abd1a3cdf
-SHA256 (minivmac-2.7.1.src.tgz) = d72d9fe0c7296f0f30ca37955cb6b3e689e8c5e6b4b983738a303eb1826072b2
-SIZE (minivmac-2.7.1.src.tgz) = 190858
+MD5 (minivmac-2.8.2.src.tgz) = ff6e67f654f09098ffbb8f26a5a7ae20
+SHA256 (minivmac-2.8.2.src.tgz) = fb6f2ff69ae0721bd674a63d72ebeefbce6cee615134a72dc7d6f0249842a563
+SIZE (minivmac-2.8.2.src.tgz) = 185570
+MD5 (minivmac-2.8.2.prj.tgz) = cfd3c6b60080d2184d6895b84c616fbf
+SHA256 (minivmac-2.8.2.prj.tgz) = f958319f6e17daef212cdc61209a080f7e5d3c1c4ca16079a3e5776720942b30
+SIZE (minivmac-2.8.2.prj.tgz) = 23374
diff --git a/emulators/minivmac/files/patch-Makefile b/emulators/minivmac/files/patch-Makefile
new file mode 100644
index 000000000000..42e703a3dd30
--- /dev/null
+++ b/emulators/minivmac/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig Sat Mar 31 18:39:10 2007
++++ Makefile Sat Mar 31 18:40:08 2007
+@@ -13,8 +13,8 @@
+ mk_lang_d = $(mk_source_d)language/
+ mk_lang_src_d = $(mk_lang_d)eng/
+
+-mk_CallC = gcc
+-mk_COptions = -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Os -I$(mk_config_d)
++mk_CallC = cc
++mk_COptions = -c $(CFLAGS) -I$(mk_config_d)
+
+ TheApplication : $(mk_built_program)
+