aboutsummaryrefslogtreecommitdiff
path: root/emulators/minivmac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/minivmac/Makefile')
-rw-r--r--emulators/minivmac/Makefile21
1 files changed, 5 insertions, 16 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>