2000-06-10 07:04:21 +02:00
|
|
|
# ex:ts=8
|
1995-02-06 10:58:07 +01:00
|
|
|
# New ports collection makefile for: wine
|
1996-11-09 00:57:24 +01:00
|
|
|
# Date created: Sa 9 Nov 1996 00:52:22 MET
|
1995-10-07 01:25:10 +01:00
|
|
|
# Whom: se
|
1995-04-15 05:46:07 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-02-06 10:58:07 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= wine
|
2007-12-29 13:11:54 +01:00
|
|
|
PORTVERSION= 0.9.52
|
2005-11-06 23:22:16 +01:00
|
|
|
PORTEPOCH= 1
|
1998-07-28 01:25:33 +02:00
|
|
|
CATEGORIES= emulators
|
2006-08-14 08:04:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
|
|
|
|
http://ibiblio.org/pub/linux/system/emulators/wine/
|
2005-11-06 23:22:16 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-15 05:46:07 +02:00
|
|
|
|
2002-07-10 10:05:11 +02:00
|
|
|
MAINTAINER= gerald@FreeBSD.org
|
2004-02-16 11:59:54 +01:00
|
|
|
COMMENT= Microsoft Windows compatibility layer for Unix-like systems
|
1995-05-18 20:46:04 +02:00
|
|
|
|
2007-07-29 01:18:53 +02:00
|
|
|
BUILD_DEPENDS= fontforge:${PORTSDIR}/print/fontforge
|
|
|
|
LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
|
2006-05-31 00:43:06 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
2007-07-29 01:18:53 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
lcms.1:${PORTSDIR}/graphics/lcms \
|
2007-01-02 04:06:55 +01:00
|
|
|
xml2:${PORTSDIR}/textproc/libxml2
|
2005-07-26 12:33:35 +02:00
|
|
|
|
1995-10-05 21:50:32 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-08-07 06:33:40 +02:00
|
|
|
CONFIGURE_ARGS= --datadir=${DATADIR} --verbose
|
2007-07-15 19:09:08 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-09-15 03:41:53 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-09-13 02:18:35 +02:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/wine
|
2005-10-03 20:51:15 +02:00
|
|
|
MAN1= widl.1 wine.1 winebuild.1 winedbg.1 winedump.1 winegcc.1 \
|
2006-08-25 09:43:18 +02:00
|
|
|
winemaker.1 wineprefixcreate.1 wineserver.1 wmc.1 wrc.1
|
2007-07-15 19:09:08 +02:00
|
|
|
MLINKS= winegcc.1 wineg++.1
|
1999-03-30 22:09:53 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2005-11-10 16:29:12 +01:00
|
|
|
USE_BZIP2= yes
|
2000-12-23 04:18:33 +01:00
|
|
|
USE_GMAKE= yes
|
2007-06-23 18:49:01 +02:00
|
|
|
USE_GL= glut
|
2004-02-22 23:55:05 +01:00
|
|
|
USE_XPM= yes
|
1995-10-07 01:25:10 +01:00
|
|
|
|
2006-04-16 22:09:35 +02:00
|
|
|
SUB_FILES= pkg-message
|
2005-11-24 01:15:55 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2001-02-02 23:52:03 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-09-15 03:41:53 +02:00
|
|
|
.if ${OSVERSION} < 602000
|
|
|
|
IGNORE= fails to properly work on versions of FreeBSD before 6.2 (due to problems with threading support)
|
2004-12-21 00:17:50 +01:00
|
|
|
.endif
|
|
|
|
|
2007-08-07 06:33:40 +02:00
|
|
|
post-patch:
|
|
|
|
.if ${OSVERSION} < 700041
|
|
|
|
${REINPLACE_CMD} 's/-lpthread/-lthr/g' ${WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
|
2005-11-15 01:27:48 +01:00
|
|
|
pre-build:
|
1999-12-10 18:36:22 +01:00
|
|
|
cd ${WRKSRC} && make depend
|
|
|
|
|
2006-06-22 23:49:40 +02:00
|
|
|
post-install:
|
2007-12-29 13:11:54 +01:00
|
|
|
${RM} -f ${MAN1PREFIX}/man/de.UTF-8/man1/wine.1
|
2006-08-14 08:04:08 +02:00
|
|
|
${MV} -f ${PREFIX}/lib/libwine.so.1.0 ${PREFIX}/lib/libwine.so.1
|
2007-07-15 19:09:08 +02:00
|
|
|
${LN} -sf libwine.so.1 ${PREFIX}/lib/libwine.so
|
2000-11-26 19:09:41 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-29 23:45:09 +01:00
|
|
|
-@${MKDIR} ${DOCSDIR}
|
2002-10-08 12:17:39 +02:00
|
|
|
.for i in README ANNOUNCE AUTHORS LICENSE
|
2004-02-29 23:45:09 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
2000-11-02 16:05:14 +01:00
|
|
|
.endfor
|
2006-09-15 14:33:52 +02:00
|
|
|
.for i in progman uninstaller winedbg winemine
|
2007-12-29 13:11:54 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/programs/${i}/README ${DOCSDIR}/README.${i}
|
2003-04-27 13:19:57 +02:00
|
|
|
.endfor
|
2007-12-29 13:11:54 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
|
2000-11-02 16:05:14 +01:00
|
|
|
.endif
|
2005-11-15 01:27:48 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine
|
2007-12-29 13:11:54 +01:00
|
|
|
@${MKDIR} ${DESKTOPDIR}
|
|
|
|
@${MV} ${DATADIR}/applications/wine.desktop ${DESKTOPDIR}/
|
2005-11-24 01:15:55 +01:00
|
|
|
@${ECHO}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1995-02-06 10:58:07 +01:00
|
|
|
|
2001-02-02 23:52:03 +01:00
|
|
|
.include <bsd.port.post.mk>
|