aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/quasi88/Makefile
blob: 873198921b4cee8bfc8883e37494ab2af177f49a (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
44
45
# New ports collection makefile for:    QUASI88
# Date created:     22 May 1999
# Whom:             Nishika <nishika@cheerful.com>
#
# $FreeBSD$
#

PORTNAME=   quasi88
PORTVERSION=    0.4.5
CATEGORIES= emulators
MASTER_SITES=   http://www.117.ne.jp/~show/pc8801/
EXTRACT_SUFX=   .tgz

MAINTAINER= nishika@manbow.com
COMMENT=    PC-8801 emulator for X

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

.if !defined(WITH_SOUND)
pre-everything::
    @ ${ECHO_MSG} "===> If you want to enable sound, use \"make WITH_SOUND=yes\"."
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aa
.endif

.if !defined(WITH_DGA)
pre-everything::
    @ ${ECHO_MSG} "===> If you want to enable sound, use \"make WITH_DGA=yes\"."
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ab
.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>