1998-07-12 13:13:25 +02:00
|
|
|
# New ports collection makefile for: vice
|
|
|
|
# Date created: Mar 28, 1998
|
|
|
|
# Whom: dchapes@ddm.on.ca
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1998-07-12 13:13:25 +02:00
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= vice
|
2001-11-23 18:41:54 +01:00
|
|
|
PORTVERSION= 1.7
|
1998-07-12 13:13:25 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/
|
|
|
|
|
2002-08-10 16:09:59 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
1998-07-12 13:13:25 +02:00
|
|
|
|
|
|
|
RESTRICTED= ROMs are copyrighted by Commodore Business Machines
|
1998-07-19 21:32:02 +02:00
|
|
|
NO_CDROM= ${RESTRICTED}
|
1998-07-13 03:25:02 +02:00
|
|
|
NO_PACKAGE= ${RESTRICTED}
|
1998-07-12 13:13:25 +02:00
|
|
|
|
2002-09-01 18:07:59 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-11-23 18:41:54 +01:00
|
|
|
USE_XPM= yes
|
|
|
|
WANT_GNOME= yes
|
1998-08-17 19:30:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-12 13:13:25 +02:00
|
|
|
|
|
|
|
MAN1= vice.1 c1541.1 petcat.1
|
1999-06-06 18:51:45 +02:00
|
|
|
MLINKS= vice.1 x64.1 \
|
|
|
|
vice.1 x128.1 \
|
|
|
|
vice.1 xvic.1 \
|
|
|
|
vice.1 xpet.1 \
|
|
|
|
vice.1 xcbm2.1
|
1998-07-12 13:13:25 +02:00
|
|
|
|
2001-11-23 18:41:54 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_GNOME= yes
|
|
|
|
CONFIGURE_ARGS= --enable-gnomeui
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
CONFIGURE_ARGS= --with-xaw3d
|
|
|
|
.endif
|
|
|
|
|
2002-08-10 16:09:59 +02:00
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
|
|
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
2001-11-23 18:41:54 +01:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/doc/vice.info*
|
|
|
|
|
|
|
|
post-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/man/vice.1
|
2001-11-23 18:41:54 +01:00
|
|
|
|
1998-07-12 13:13:25 +02:00
|
|
|
post-install:
|
2001-11-23 18:41:54 +01:00
|
|
|
@${LN} -sf vice_toc.html ${DOCSDIR}/index.html
|
1998-07-12 13:13:25 +02:00
|
|
|
|
2001-11-23 18:41:54 +01:00
|
|
|
.include <bsd.port.post.mk>
|