blob: 51e6b84cd41945e3bbf77836eb76df8153daaca4 (
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
|
# New ports collection makefile for: minivmac
# Date created: 9 November 2002
# Whom: Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= minivmac
PORTVERSION= 0.1.7
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/minivmac/}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A miniature Macintosh emulator
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
# CC,CFLAGS,LD safeness
# X11 base safeness
@${REINPLACE_CMD} -E -e 's,cc,${CC} ${CFLAGS} -I${X11BASE}/include,; \
s,^(LinkLine).*$$,\1="${CC}",; \
s,/usr/X11R6,${X11BASE},' \
${WRKSRC}/tool/bash/build
do-build:
@cd ${WRKSRC}/tool/bash && ${SH} build
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/minivmac
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/minivmac
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|