summaryrefslogtreecommitdiff
path: root/emulators/quasi88/Makefile
blob: da7e4b8da11dec2581aa7b3f009fa7f66a2fc5b0 (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:	QUASI88
# Version required:	0.3.2
# Date created:		22 May 1999
# Whom:				Nishika <nishika@cheerful.com>
#
# $FreeBSD$
#

DISTNAME=	quasi88-0.3.2
CATEGORIES=	emulators
MASTER_SITES=	http://www.117.ne.jp/~show/pc8801/
EXTRACT_SUFX=   .tgz

MAINTAINER=	nishika@cheerful.com

USE_X_PREFIX=	yes
USE_XLIB=	yes
USE_GMAKE=	yes
DATAFILES=	FAQ FORMAT GET-IMAGE HELP HISTORY LIST MANUAL QUASI88

pre-patch:
.if !defined(USE_SOUND)
	@ ${ECHO} "You can make quasi88 use sound by defining USE_SOUND"
.else
	@ ${CP} ${FILESDIR}/patch-aa ${PATCHDIR}
.endif

post-patch:
.if defined(USE_SOUND)
	@ ${RM} ${PATCHDIR}/patch-aa
.endif

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/quasi88
.for i in ${DATAFILES}
	@ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/quasi88/
.endfor
.endif

.include <bsd.port.mk>