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
|
2005-11-10 16:29:12 +01:00
|
|
|
PORTVERSION= 0.9.1
|
2005-11-06 23:22:16 +01:00
|
|
|
PORTEPOCH= 1
|
1998-07-28 01:25:33 +02:00
|
|
|
CATEGORIES= emulators
|
2005-11-06 23:22:16 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
|
|
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
|
|
|
|
2005-07-26 12:33:35 +02:00
|
|
|
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
|
|
|
|
|
1995-10-05 21:50:32 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-02-11 23:37:32 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib LIBS=-Wl,-rpath,${PREFIX}/lib/wine
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-15 18:44:16 +02:00
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/wine
|
2005-10-03 20:51:15 +02:00
|
|
|
MAN1= widl.1 wine.1 winebuild.1 winedbg.1 winedump.1 winegcc.1 \
|
|
|
|
winemaker.1 wineserver.1 wmc.1 wrc.1
|
1999-03-30 22:09:53 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-08-22 23:19:33 +02:00
|
|
|
USE_BISON= yes
|
2005-11-10 16:29:12 +01:00
|
|
|
USE_BZIP2= yes
|
2000-12-23 04:18:33 +01:00
|
|
|
USE_GMAKE= yes
|
2004-02-22 23:55:05 +01:00
|
|
|
USE_GL= yes
|
2004-03-07 13:08:15 +01:00
|
|
|
USE_MESA= yes # wine/dlls/glut32/ depends on the presence of libglut.
|
2004-02-22 23:55:05 +01:00
|
|
|
USE_XPM= yes
|
1995-10-07 01:25:10 +01:00
|
|
|
|
2001-02-02 23:52:03 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-12-21 00:17:50 +01:00
|
|
|
.if ${OSVERSION} < 503000
|
2005-01-09 20:27:41 +01:00
|
|
|
IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support)
|
2004-12-21 00:17:50 +01:00
|
|
|
.endif
|
|
|
|
|
2003-05-19 12:07:37 +02:00
|
|
|
post-extract:
|
|
|
|
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/wine.sh \
|
|
|
|
> ${WRKSRC}/wine.sh
|
|
|
|
|
2005-11-15 01:27:48 +01:00
|
|
|
pre-build:
|
1999-12-10 18:36:22 +01:00
|
|
|
cd ${WRKSRC} && make depend
|
|
|
|
|
2005-11-15 01:27:48 +01:00
|
|
|
post-install:
|
2004-04-14 21:54:02 +02:00
|
|
|
-@${MKDIR} ${PREFIX}/etc/rc.d
|
2005-02-11 23:37:32 +01:00
|
|
|
${RM} ${PREFIX}/man/man1/wineg++.1
|
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
|
2005-11-23 00:41:47 +01:00
|
|
|
.for i in progman uninstaller wcmd winedbg winemine
|
2004-02-29 23:45:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/programs/${i}/README ${DOCSDIR}/README.${i}
|
2003-04-27 13:19:57 +02:00
|
|
|
.endfor
|
2004-02-29 23:45:09 +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
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh
|
1999-11-14 21:49:34 +01:00
|
|
|
${ECHO}
|
|
|
|
@${SED} s+%%PREFIX%%+${PREFIX}+g <${PKGMESSAGE}
|
1995-02-06 10:58:07 +01:00
|
|
|
|
2001-02-02 23:52:03 +01:00
|
|
|
.include <bsd.port.post.mk>
|