summaryrefslogtreecommitdiffstats
path: root/emulators/basiliskII/Makefile
blob: a1bd4d0b3d1f433d1156124239a8d781c0702cac (plain)
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
# New ports collection makefile for:	BasiliskII
# Date created:				17 April 2000
# Whom:					Maxim Sobolev
#
# $FreeBSD$
#

PORTNAME=		basiliskII
PORTVERSION=		0.8.1
CATEGORIES=		emulators
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	basilisk
DISTNAME=		BasiliskII_src_30012000

MAINTAINER=		sobomax@FreeBSD.org

LIB_DEPENDS=		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
			esd.2:${PORTSDIR}/audio/esound \
			lthread.2:${PORTSDIR}/devel/linuxthreads

WRKSRC=			${WRKDIR}/BasiliskII-0.8/src/Unix

USE_X_PREFIX=		yes
GNU_CONFIGURE=		yes
USE_GMAKE=		yes

GTK_CONFIG?=		${X11BASE}/bin/gtk12-config
GLIB_CONFIG?=		${LOCALBASE}/bin/glib12-config
ESD_CONFIG?=		${LOCALBASE}/bin/esd-config

CONFIGURE_ARGS=		--disable-fbdev-dga
CONFIGURE_ENV=		GTK_CONFIG="${GTK_CONFIG}" \
			GLIB_CONFIG="${GLIB_CONFIG}" \
			ESD_CONFIG="${ESD_CONFIG}" \
			LIBS="-L${LOCALBASE}/lib"

CFLAGS+=		-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads

MAN1=			BasiliskII.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 400012
CFLAGS+=		-fpermissive
.endif

post-install:
			@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud