aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/quasi88/Makefile
blob: 76e614c618198beefbd53f66e567aa683235ba58 (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
# 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

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>