1998-07-12 11:13:25 +00:00
|
|
|
# New ports collection makefile for: vice
|
|
|
|
# Version required: 0.14.1
|
|
|
|
# Date created: Mar 28, 1998
|
|
|
|
# Whom: dchapes@ddm.on.ca
|
|
|
|
#
|
1998-08-17 17:30:35 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/08/07 23:56:19 asami Exp $
|
1998-07-12 11:13:25 +00:00
|
|
|
|
|
|
|
DISTNAME= vice-0.14.1
|
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/
|
|
|
|
|
|
|
|
MAINTAINER= dchapes@ddm.on.ca
|
|
|
|
|
1998-08-07 23:56:56 +00:00
|
|
|
LIB_DEPENDS= Xaw3d\\.6\\.:${PORTSDIR}/x11-toolkits/Xaw3d
|
1998-08-17 17:30:35 +00:00
|
|
|
USE_XLIB= yes
|
1998-07-13 20:02:39 +00:00
|
|
|
|
1998-07-12 11:13:25 +00:00
|
|
|
WRKSRC= ${WRKDIR}/vice-0.14.1/src
|
|
|
|
|
|
|
|
RESTRICTED= ROMs are copyrighted by Commodore Business Machines
|
1998-07-19 19:32:02 +00:00
|
|
|
NO_CDROM= ${RESTRICTED}
|
1998-07-13 01:25:02 +00:00
|
|
|
NO_PACKAGE= ${RESTRICTED}
|
1998-07-12 11:13:25 +00:00
|
|
|
|
1998-08-17 17:30:35 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -O3 -Wall -fomit-frame-pointer \
|
|
|
|
-funroll-loops -finline-functions -fno-strength-reduce"
|
1998-07-12 11:13:25 +00:00
|
|
|
CONFIGURE_ARGS= --with-xaw3d
|
|
|
|
|
|
|
|
MAN1= vice.1 c1541.1 petcat.1
|
|
|
|
|
|
|
|
pre-build:
|
1998-08-17 17:30:35 +00:00
|
|
|
@${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
|
1998-07-12 11:13:25 +00:00
|
|
|
|
|
|
|
post-install:
|
1998-08-17 17:30:35 +00:00
|
|
|
.for m in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../man/${m:S/.1$/.man/} ${PREFIX}/man/man1/$m
|
|
|
|
.endfor
|
1998-07-12 11:13:25 +00:00
|
|
|
.if defined(NOMANCOMPRESS)
|
|
|
|
${LN} -sf vice.1 ${PREFIX}/man/man1/x64.1
|
|
|
|
${LN} -sf vice.1 ${PREFIX}/man/man1/xvic.1
|
|
|
|
${LN} -sf vice.1 ${PREFIX}/man/man1/xpet.1
|
|
|
|
${LN} -sf vice.1 ${PREFIX}/man/man1/recomment.1
|
|
|
|
.else
|
|
|
|
${LN} -sf vice.1.gz ${PREFIX}/man/man1/x64.1.gz
|
|
|
|
${LN} -sf vice.1.gz ${PREFIX}/man/man1/xvic.1.gz
|
|
|
|
${LN} -sf vice.1.gz ${PREFIX}/man/man1/xpet.1.gz
|
|
|
|
${LN} -sf vice.1.gz ${PREFIX}/man/man1/recomment.1.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|