Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2013 18:13:11 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324603 - in head/emulators: wine wine-devel
Message-ID:  <201308111813.r7BIDBMn065520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Sun Aug 11 18:13:10 2013
New Revision: 324603
URL: http://svnweb.freebsd.org/changeset/ports/324603

Log:
  Backport changes from emulators/wine-devel and add CONFLICTS_INSTALL.
  
  The backported changes allow the i386-wine(-devel) ports to install wine
  in such a manor that it can run on FreeBSD/amd64.
  
  The CONFLICTS_INSTALL conflict with the i386-wine packages and the correct
  stable/devel packages (including the upcoming stable wine).
  
  Approved by:	gerald@ (implicit)

Modified:
  head/emulators/wine-devel/Makefile
  head/emulators/wine/Makefile

Modified: head/emulators/wine-devel/Makefile
==============================================================================
--- head/emulators/wine-devel/Makefile	Sun Aug 11 17:27:22 2013	(r324602)
+++ head/emulators/wine-devel/Makefile	Sun Aug 11 18:13:10 2013	(r324603)
@@ -23,7 +23,7 @@ LIB_DEPENDS=	fontconfig:${PORTSDIR}/x11-
 		png15:${PORTSDIR}/graphics/png \
 		xml2:${PORTSDIR}/textproc/libxml2
 
-CONFLICTS_INSTALL=	wine-1.4*
+CONFLICTS_INSTALL=	i386-wine-* wine-1.4* wine-1.6*
 
 LATEST_LINK?=	wine-devel
 CPPFLAGS+=	-I${LOCALBASE}/include

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Sun Aug 11 17:27:22 2013	(r324602)
+++ head/emulators/wine/Makefile	Sun Aug 11 18:13:10 2013	(r324603)
@@ -1,3 +1,4 @@
+# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	wine
@@ -8,8 +9,8 @@ CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}/Source \
 		http://ibiblio.org/pub/linux/system/emulators/wine/
 
-MAINTAINER=	gerald@FreeBSD.org
-COMMENT=	Microsoft Windows compatibility environment
+MAINTAINER?=	gerald@FreeBSD.org
+COMMENT?=	Microsoft Windows compatibility environment
 
 LICENSE=	LGPL21 LGPL3
 LICENSE_COMB=	dual
@@ -23,10 +24,11 @@ LIB_DEPENDS=	fontconfig:${PORTSDIR}/x11-
 		png15:${PORTSDIR}/graphics/png \
 		xml2:${PORTSDIR}/textproc/libxml2
 
-CONFLICTS_INSTALL=	wine-1.5.*
+CONFLICTS_INSTALL=	i386-wine-* wine-1.5* wine-1.7*
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+USE_GCC=	any
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--verbose --disable-tests \
 		--without-alsa --without-capi --without-dbus \
@@ -41,7 +43,6 @@ WINELIBDIR?=	${PREFIX}/lib
 .if !defined(USE_LDCONFIG32)
 USE_LDCONFIG=	${WINELIBDIR} ${WINELIBDIR}/wine
 .endif
-MAKE_JOBS_SAFE=	yes
 MAN1=		msiexec.1 notepad.1 regedit.1 regsvr32.1 widl.1 wine.1 \
 		wineboot.1 winebuild.1 winecfg.1 wineconsole.1 winedbg.1 \
 		winedump.1 winefile.1 winegcc.1 winemaker.1 winemine.1 \
@@ -58,11 +59,12 @@ USE_XORG=	xcursor xi xpm xrandr xrender
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-OPTIONS_DEFINE=	CUPS DOSBOX GNUTLS HAL LDAP LIBXSLT OPENAL WINEMAKER
-
+OPTIONS_DEFINE=	CUPS DOSBOX GNUTLS HAL LDAP LIBXSLT OPENAL WINEMAKER GECKO MONO
 DOSBOX_DESC=	Use DOSBox to run MS-DOS programs
 LIBXSLT_DESC=	Use libxslt (only used by msxml3.dll)
 WINEMAKER_DESC=	Fully support winemaker (requires Perl)
+GECKO_DESC=	Bundle Gecko MSI package for Wine
+MONO_DESC=	Bundle Mono MSI package for Wine
 
 PORTDATA=	fonts/ generic.ppd l_intl.nls wine.inf
 
@@ -122,6 +124,14 @@ PLIST_SUB+=		OPENAL="@comment "
 RUN_DEPENDS+=	p5-XML-LibXML>0:${PORTSDIR}/textproc/p5-XML-LibXML
 .endif
 
+.if ${PORT_OPTIONS:MGECKO}
+RUN_DEPENDS+=	${DATADIR}/gecko/wine_gecko-2.21-x86.msi:${PORTSDIR}/emulators/wine-gecko
+.endif
+
+.if ${PORT_OPTIONS:MMONO}
+RUN_DEPENDS+=	${DATADIR}/mono/wine-mono-0.0.8.msi:${PORTSDIR}/emulators/wine-mono
+.endif
+
 .if ${OSVERSION} < 800000
 IGNORE=		lacks required sound support on FreeBSD before 8.0
 .endif
@@ -140,8 +150,8 @@ post-install:
 	@-${RMDIR} -p ${MAN1PREFIX}/man/de.UTF-8/man1 \
 	              ${MAN1PREFIX}/man/fr.UTF-8/man1 \
 	              ${MAN1PREFIX}/man/pl.UTF-8/man1
-	${MV} -f ${WINELIBDIR}/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1
-	${LN} -sf libwine.so.1 ${WINELIBDIR}/libwine.so
+	@${MV} -f ${WINELIBDIR}/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1
+	@${LN} -sf libwine.so.1 ${WINELIBDIR}/libwine.so
 .if !defined(NOPORTDOCS)
 	-@${MKDIR} ${DOCSDIR}
 .for i in README ANNOUNCE AUTHORS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308111813.r7BIDBMn065520>