aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/darcnes/Makefile
blob: 5b9f4b76a2571c1ace3402314d0372fd1be55a52 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$

PORTNAME=   darcnes
PORTVERSION=    9b0401
PORTREVISION=   6
CATEGORIES= emulators
MASTER_SITES=   http://www.dridus.com/~nyef/darcnes/download/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= grembo
DISTNAME=   dn${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    multi-system emulator

NO_CDROM=   Commercial use is restricted

WRKSRC=     ${WRKDIR}/${PORTNAME}

WANT_GNOME= yes
USES=       gmake tar:tgz
MAKE_ARGS=  CC="${CC}" TARGET_CC="${CC}" CXX="${CXX}" TARGET_CXX="${CXX}" \
        AS="${AS}" TARGET_AS="${CC}" LD="${LD}" TARGET_LD="${CC}"

OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= X11 GTK1 SVGALIB
OPTIONS_DEFAULT=X11
BACKEND_DESC=   GUI backend

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM)
MAKE_ARGS+= C_ONLY=-DC_ONLY
.else
MAKE_ARGS+= MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\"
.endif

.if ${PORT_OPTIONS:MGTK1}
USE_GNOME=  gtk12
MAKE_ARGS+= TARGET=Linux_GTK
PKGNAMESUFFIX=  -gtk
.endif

.if ${PORT_OPTIONS:MSVGALIB}
LIB_DEPENDS+=   libvga.so:${PORTSDIR}/graphics/svgalib
MAKE_ARGS+= TARGET=Linux_svgalib
PKGNAMESUFFIX=  -svgalib
.endif

.if ${PORT_OPTIONS:MX11}
USE_XORG=   x11 xaw xext xmu xt
.endif

post-patch:
    @${CP} ${FILESDIR}/endian.h ${WRKSRC}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>
maho2003-06-111-0/+42 * Honor CFLAGS, CC and so on.maho2003-06-111-0/+8 * 1. using ATLAS, faster blas implementation.maho2003-06-117-60/+45 * upgrade to 2.0.20030221ijliao2003-03-312-2/+2 * De-pkg-comment.knu2003-02-212-1/+1 * Update the checksum (2.0.20021113 -> 2.0.20021126). In this repack,knu2002-12-162-2/+2 * upgrade to 20021113ijliao2002-11-202-2/+2 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * Update to superlu 2.0.20020923 (lots of code changes, no vendorkris2002-10-132-4/+3 * tarball change :ijliao2002-05-102-2/+2 * Chase the checksum. Minor code nits, some doc changes, and additionsteve2001-12-251-1/+1 * - PORTDOCS policepat2001-12-241-2/+2 * Distfile changed - makefile, documentation and code changes. Bumpkris2000-10-163-8/+10 * Convert to PORTNAME/PORTVERSION.asami2000-04-141-3/+3 * Update MD5 checksum: author(s) added 'return 0;' to non-voidjedgar2000-02-172-7/+5 * * Update to version 2.0.steve1999-12-247-52/+55