aboutsummaryrefslogtreecommitdiff
path: root/emulators/vice
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-01-04 20:40:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-01-04 20:40:18 +0000
commit876ad9821e5203d0d0c0493ba297dddfea054f7b (patch)
treea21ca5eceaa49290777abd905f1bcee35daec3b7 /emulators/vice
parenta645240cb0ebac038826e52188e288a2758631a7 (diff)
downloadports-876ad9821e5203d0d0c0493ba297dddfea054f7b.tar.gz
ports-876ad9821e5203d0d0c0493ba297dddfea054f7b.zip
Notes
Diffstat (limited to 'emulators/vice')
-rw-r--r--emulators/vice/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 1149ce709212..bc93c6eb849d 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -6,19 +6,34 @@
PORTNAME= vice
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/
+.if defined(VICE_WITH_GNOME)
+PKGNAMESUFFIX= -gnome
+.endif
MAINTAINER= dinoex@FreeBSD.org
+.if !defined(VICE_WITH_GNOME)
+LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
+.endif
+
RESTRICTED= ROMs are copyrighted by Commodore Business Machines
NO_CDROM= ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}
USE_XPM= yes
-WANT_GNOME= yes
GNU_CONFIGURE= yes
+.if defined(VICE_WITH_GNOME)
+USE_GNOMENG= yes
+USE_GNOME= gnomelibs
+CONFIGURE_ARGS= --enable-gnomeui
+.else
+CONFIGURE_ARGS= --with-xaw3d
+.endif
+
MAN1= vice.1 c1541.1 petcat.1
MLINKS= vice.1 x64.1 \
vice.1 x128.1 \
@@ -29,14 +44,6 @@ MLINKS= vice.1 x64.1 \
.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
-
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
.endif