summaryrefslogtreecommitdiffstats
path: root/emulators/vice/Makefile
blob: 8bcfced379c66cd1426b1ffe0bdb7847671d395d (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
# New ports collection makefile for:	vice
# Version required:	0.14.1
# Date created:		Mar 28, 1998
# Whom:			dchapes@ddm.on.ca
#
# $Id: Makefile,v 1.8 1998/09/19 00:41:10 hoek Exp $

DISTNAME=	vice-0.14.1
CATEGORIES=	emulators
MASTER_SITES=	ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/

MAINTAINER=	dchapes@ddm.on.ca

LIB_DEPENDS=	Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
USE_XLIB=	yes

WRKSRC=		${WRKDIR}/vice-0.14.1/src

RESTRICTED=	ROMs are copyrighted by Commodore Business Machines
NO_CDROM=	${RESTRICTED}
NO_PACKAGE=	${RESTRICTED}

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -O3 -Wall -fomit-frame-pointer \
		-funroll-loops -finline-functions -fno-strength-reduce"
CONFIGURE_ARGS=	--with-xaw3d

MAN1=		vice.1 c1541.1 petcat.1
MLINKS=		vice.1 x64.1	vice.1 xvic.1	vice.1 xpet.1 \
		vice.1 recomment.1

pre-build:
	@${ECHO} "NOTE:  When compiling on FreeBSD some source files cause\
		gcc to go over the default memory limits.  Either fix\
		/etc/login.conf or temporarily adjust the limits with your\
		shell's limit command (\"unlimit\" works in [t]csh)." | fmt

post-install:
.for m in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/../man/${m:S/.1$/.man/} ${PREFIX}/man/man1/$m
.endfor

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