aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/minivmac/Makefile
blob: 0878cb2fea0ca12ad44aa28319c34cd60608fcc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Marc Fonvieille <blackend@FreeBSD.org>
# $FreeBSD$

PORTNAME=   minivmac
PORTVERSION=    3.0.0
CATEGORIES= emulators
MASTER_SITES=   SF
DISTFILES=  ${PORTNAME}-${PORTVERSION}.src.tgz ${PORTNAME}-${PORTVERSION}.prj.tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A miniature Macintosh emulator

WRKSRC=     ${WRKDIR}/projects/bgclx86d

USE_XORG=   x11 xext
USE_GMAKE=  yes
CFLAGS+=    -I${LOCALBASE}/include
ALL_TARGET= # nothing

PLIST_FILES=    bin/minivmac

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${PREFIX}/bin
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>