Date: Mon, 28 Jul 2014 18:34:13 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363219 - head/emulators/darcnes Message-ID: <201407281834.s6SIYD2i017807@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Jul 28 18:34:13 2014 New Revision: 363219 URL: http://svnweb.freebsd.org/changeset/ports/363219 QAT: https://qat.redports.org/buildarchive/r363219/ Log: Use OPTIONS instead of WITH_* and checking whether dependencies are already installed. Modified: head/emulators/darcnes/Makefile Modified: head/emulators/darcnes/Makefile ============================================================================== --- head/emulators/darcnes/Makefile Mon Jul 28 18:31:50 2014 (r363218) +++ head/emulators/darcnes/Makefile Mon Jul 28 18:34:13 2014 (r363219) @@ -9,7 +9,6 @@ MASTER_SITES= http://www.dridus.com/~nye ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= grembo DISTNAME= dn${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= multi-system emulator @@ -19,11 +18,15 @@ NO_CDROM= Commercial use is restricted WRKSRC= ${WRKDIR}/${PORTNAME} WANT_GNOME= yes -USES= gmake +USES= gmake tar:tgz MAKE_ARGS= CC="${CC}" TARGET_CC="${CC}" CXX="${CXX}" TARGET_CXX="${CXX}" \ AS="${AS}" TARGET_AS="${CC}" LD="${LD}" TARGET_LD="${CC}" OPTIONS_DEFINE= DOCS +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= X11 GTK1 SVGALIB +OPTIONS_DEFAULT=X11 +BACKEND_DESC= GUI backend .include <bsd.port.pre.mk> @@ -33,18 +36,20 @@ MAKE_ARGS+= C_ONLY=-DC_ONLY MAKE_ARGS+= MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\" .endif -.if ${HAVE_GNOME:Mgtk12}!="" +.if ${PORT_OPTIONS:MGTK1} USE_GNOME= gtk12 MAKE_ARGS+= TARGET=Linux_GTK PKGNAMESUFFIX= -gtk -.else -.if defined(WITH_SVGALIB) +.endif + +.if ${PORT_OPTIONS:MSVGALIB} LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib MAKE_ARGS+= TARGET=Linux_svgalib PKGNAMESUFFIX= -svgalib -.else -USE_XORG= x11 xaw xext xmu xt .endif + +.if ${PORT_OPTIONS:MX11} +USE_XORG= x11 xaw xext xmu xt .endif post-patch:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407281834.s6SIYD2i017807>