aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/minivmac/Makefile
blob: e94e11274658ad30263ae2f29709bc15aecfe79a (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
31
32
33
34
# Created by: Marc Fonvieille <blackend@FreeBSD.org>
# $FreeBSD$

PORTNAME=   minivmac
PORTVERSION=    3.0.0
CATEGORIES= emulators
MASTER_SITES=   SF
DISTFILES=  ${DISTNAME}.src${EXTRACT_SUFX} \
        ${DISTNAME}.prj${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Miniature Macintosh emulator

BROKEN=     unfetchable

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/projects/bgclx86d

USE_XORG=   x11 xext
USES=       gmake tar:tgz
CFLAGS+=    -I${LOCALBASE}/include
ALL_TARGET= # nothing

PLIST_FILES=    bin/minivmac

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|; s|gcc|${CC}|' \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>