aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vMac/Makefile
blob: c1bde342283005c168b23068552318075c9d8289 (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
42
43
# New ports collection makefile for:    vMac
# Date created:             Jul 11th 1999
# Whom:                 troll
#
# $FreeBSD$
#

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

MAINTAINER=     troll@digitalspark.net

MAKEFILE=       Makefile
WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE=      yes
HAS_CONFIGURE=      yes
USE_XLIB=       yes

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

post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/vMac \
        ${PREFIX}/bin
    @strip ${PREFIX}/bin/vMac
    @ ${MKDIR} ${PREFIX}/share/doc/vMac
    ${INSTALL_DATA} ${WRKSRC}/CREDITS \
        ${PREFIX}/share/doc/vMac
    ${INSTALL_DATA} ${WRKSRC}/INSTALL \
        ${PREFIX}/share/doc/vMac
    ${INSTALL_DATA} ${WRKSRC}/LICENSE \
        ${PREFIX}/share/doc/vMac
    ${INSTALL_DATA} ${WRKSRC}/README \
        ${PREFIX}/share/doc/vMac
    ${INSTALL_DATA} ${WRKSRC}/README.rom \
        ${PREFIX}/share/doc/vMac
    @${CAT} ${PKGDIR}/MESSAGE | ${SED} -e s:/usr/local:${PREFIX}:

.include <bsd.port.mk>