2009-05-21 10:46:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2009/05/21 14:46:36 sthen Exp $
|
2001-05-05 20:34:40 -04:00
|
|
|
|
2009-05-21 10:46:36 -04:00
|
|
|
SHARED_ONLY = Yes
|
2009-05-21 10:11:51 -04:00
|
|
|
ONLY_FOR_ARCHS = i386 amd64
|
1997-11-30 03:31:06 -05:00
|
|
|
|
2009-05-21 10:46:36 -04:00
|
|
|
COMMENT = wine enables you to run windows binaries
|
1997-11-30 03:31:06 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
DISTNAME = wine-1.1.21
|
1997-11-30 03:31:06 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
SHARED_LIBS = wine 0.0
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
CATEGORIES = x11 emulators
|
1997-11-30 03:31:06 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
HOMEPAGE = http://winehq.org/
|
1999-04-01 01:20:02 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
MAINTAINER = Ariane van der Steldt <ariane@stack.nl>
|
2005-04-14 17:29:28 -04:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
1997-11-30 03:31:06 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
WANTLIB = c m z pthread ssl GL GLU crypto ossaudio ncurses \
|
|
|
|
ICE SM X11 Xext Xpm Xxf86dga Xxf86vm gphoto2 \
|
|
|
|
gphoto2_port jpeg lcms png sane xslt iconv drm
|
2002-10-26 08:52:48 -04:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
MASTER_SITES = http://ibiblio.org/pub/linux/system/emulators/wine/ \
|
|
|
|
http://prdownloads.sourceforge.net/wine/
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
|
|
|
BUILD_DEPENDS = :bison-*:devel/bison
|
|
|
|
LIB_DEPENDS = xslt.>=3::textproc/libxslt \
|
|
|
|
jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=4::graphics/png \
|
|
|
|
gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2 \
|
|
|
|
sane.>=1::graphics/sane-backends \
|
|
|
|
lcms.>=1::graphics/lcms \
|
|
|
|
iconv.>=1::converters/libiconv
|
|
|
|
RUN_DEPENDS = ::devel/desktop-file-utils
|
|
|
|
|
|
|
|
USE_X11 = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFIGURE_STYLE = gnu autoconf
|
|
|
|
|
|
|
|
CPPFLAGS = -I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng \
|
|
|
|
-I${X11BASE}/include
|
|
|
|
|
|
|
|
LDFLAGS = -L${LOCALBASE}/lib \
|
|
|
|
-L${X11BASE}/lib \
|
|
|
|
-lz -lm -lcrypto -liconv -pthread
|
|
|
|
|
|
|
|
X_EXTRA_LIBS = -L${X11BASE}/lib \
|
|
|
|
-lXau -lXdmcp -ldrm -lGL -lGLU -lXxf86vm -lXdamage
|
1999-02-12 13:29:06 -05:00
|
|
|
|
2009-05-21 10:11:51 -04:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}" \
|
|
|
|
X_EXTRA_LIBS="${X_EXTRA_LIBS}"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += --without-hal --without-ldap --without-capi
|
|
|
|
|
|
|
|
AUTOCONF_VERSION = 2.62
|
|
|
|
|
|
|
|
FLAVORS = cups esd
|
|
|
|
FLAVOR ?=
|
|
|
|
.if ${FLAVOR:L:Mcups}
|
|
|
|
CONFIGURE_ARGS += --with-cups
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS += --without-cups
|
|
|
|
.endif
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS += --with-esd
|
|
|
|
LIB_DEPENDS = esd.>=2::sound/esound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS += --without-esd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
CONFIGURE_ARGS += --enable-win64
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC} && ${MAKE} depend
|
1997-11-30 03:31:06 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|