aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vMac/Makefile
blob: 0181ee4cfa447ccfe6aec3d264d0c538b668c6cd (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
37
38
39
40
41
# New ports collection makefile for:    vMac
# Date created:             Jul 11th 1999
# Whom:                 troll
#
# $FreeBSD$
#

PORTNAME=   vMac
PORTVERSION=    0.1.9.3
PORTREVISION=   3
CATEGORIES= emulators
MASTER_SITES=   http://www.vmac.org/download/XWindows/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emulates a MacPlus machine!  Runs MacOS versions up to 7.5.5

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_XORG=   x11 ice sm xext
SUB_FILES=  pkg-message

pre-patch:
    (cd ${WRKSRC} && ${SH} ${FILESDIR}/dos2unx gemulator.c)

post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/vMac ${PREFIX}/bin
    ${STRIP_CMD} ${PREFIX}/bin/vMac
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.rom ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>