aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/minivmac/Makefile
blob: 3b339faac47d4886f261c6c985332c5e165f96ea (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
35
36
# New ports collection makefile for:    minivmac
# Date created:             9 November 2002
# Whom:                 Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   minivmac
PORTVERSION=    2.8.2
PORTREVISION=   2
CATEGORIES= emulators
MASTER_SITES=   SF
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}/projects/bgclx86d

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

PLIST_FILES=    bin/minivmac

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>