summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2005-11-24 00:15:55 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2005-11-24 00:15:55 +0000
commitce296c18228231cd61a77c05e1c78d63fa38ac5d (patch)
treebb1a497bf86a2e3486d58e3436395ebf2219d2ef
parent[NEW PORT] devel/SPE: Stani's Python Editor (diff)
Update to Wine 0.9.2.
Leverage SUB_FILES instead of literal sed to handle /etc/rc.d/000.wine.sh and pkg-message, which allows us to remove the post-extract target and fixes the long standing issue of showing the correct prefix in pkg-message. PR: 88492 Submitted by: Andrew Pantyukhin <infofarmer@gmail.com>
Notes
Notes: svn path=/head/; revision=149232
-rw-r--r--emulators/wine-devel/Makefile15
-rw-r--r--emulators/wine-devel/distinfo5
-rw-r--r--emulators/wine-devel/files/pkg-message.in (renamed from emulators/wine-devel/pkg-message)0
-rw-r--r--emulators/wine-devel/files/wine.sh.in (renamed from emulators/wine-devel/files/wine.sh)0
-rw-r--r--emulators/wine-devel/pkg-plist1
-rw-r--r--emulators/wine/Makefile15
-rw-r--r--emulators/wine/distinfo5
-rw-r--r--emulators/wine/files/pkg-message.in (renamed from emulators/wine/pkg-message)0
-rw-r--r--emulators/wine/files/wine.sh.in (renamed from emulators/wine/files/wine.sh)0
-rw-r--r--emulators/wine/pkg-plist1
10 files changed, 22 insertions, 20 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 1975292922c9..24a645dd38cd 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-PORTVERSION= 0.9.1
+PORTVERSION= 0.9.2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
@@ -33,16 +33,15 @@ USE_GL= yes
USE_MESA= yes # wine/dlls/glut32/ depends on the presence of libglut.
USE_XPM= yes
+SUB_FILES= pkg-message wine.sh
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support)
.endif
-post-extract:
- @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/wine.sh \
- > ${WRKSRC}/wine.sh
-
pre-build:
cd ${WRKSRC} && make depend
@@ -60,8 +59,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine
- @${INSTALL_SCRIPT} ${WRKSRC}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh
- ${ECHO}
- @${SED} s+%%PREFIX%%+${PREFIX}+g <${PKGMESSAGE}
+ @${INSTALL_SCRIPT} ${WRKDIR}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index accb998f5acf..877e3a788e05 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,2 +1,3 @@
-MD5 (wine-0.9.1.tar.bz2) = c6453803be17088789ebce61aeefc0d1
-SIZE (wine-0.9.1.tar.bz2) = 10165557
+MD5 (wine-0.9.2.tar.bz2) = cda71fc261e415250ea01f2016d1db24
+SHA256 (wine-0.9.2.tar.bz2) = f3b5c9a4d9a68aca89fdf36a83c97710079d3f6ebb2883c8bb6a13a7e382d336
+SIZE (wine-0.9.2.tar.bz2) = 10301088
diff --git a/emulators/wine-devel/pkg-message b/emulators/wine-devel/files/pkg-message.in
index 5a29eb19315e..5a29eb19315e 100644
--- a/emulators/wine-devel/pkg-message
+++ b/emulators/wine-devel/files/pkg-message.in
diff --git a/emulators/wine-devel/files/wine.sh b/emulators/wine-devel/files/wine.sh.in
index fe67ceb5d4e2..fe67ceb5d4e2 100644
--- a/emulators/wine-devel/files/wine.sh
+++ b/emulators/wine-devel/files/wine.sh.in
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 10a8be2da8ed..97e77fb5b641 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -458,6 +458,7 @@ lib/wine/dswave.dll.so
lib/wine/dxdiagn.dll.so
lib/wine/eject.exe.so
lib/wine/expand.exe.so
+lib/wine/explorer.exe.so
lib/wine/gdi.exe.so
lib/wine/gdi32.dll.so
lib/wine/glu32.dll.so
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 1975292922c9..24a645dd38cd 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-PORTVERSION= 0.9.1
+PORTVERSION= 0.9.2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
@@ -33,16 +33,15 @@ USE_GL= yes
USE_MESA= yes # wine/dlls/glut32/ depends on the presence of libglut.
USE_XPM= yes
+SUB_FILES= pkg-message wine.sh
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support)
.endif
-post-extract:
- @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/wine.sh \
- > ${WRKSRC}/wine.sh
-
pre-build:
cd ${WRKSRC} && make depend
@@ -60,8 +59,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine
- @${INSTALL_SCRIPT} ${WRKSRC}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh
- ${ECHO}
- @${SED} s+%%PREFIX%%+${PREFIX}+g <${PKGMESSAGE}
+ @${INSTALL_SCRIPT} ${WRKDIR}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo
index accb998f5acf..877e3a788e05 100644
--- a/emulators/wine/distinfo
+++ b/emulators/wine/distinfo
@@ -1,2 +1,3 @@
-MD5 (wine-0.9.1.tar.bz2) = c6453803be17088789ebce61aeefc0d1
-SIZE (wine-0.9.1.tar.bz2) = 10165557
+MD5 (wine-0.9.2.tar.bz2) = cda71fc261e415250ea01f2016d1db24
+SHA256 (wine-0.9.2.tar.bz2) = f3b5c9a4d9a68aca89fdf36a83c97710079d3f6ebb2883c8bb6a13a7e382d336
+SIZE (wine-0.9.2.tar.bz2) = 10301088
diff --git a/emulators/wine/pkg-message b/emulators/wine/files/pkg-message.in
index 5a29eb19315e..5a29eb19315e 100644
--- a/emulators/wine/pkg-message
+++ b/emulators/wine/files/pkg-message.in
diff --git a/emulators/wine/files/wine.sh b/emulators/wine/files/wine.sh.in
index fe67ceb5d4e2..fe67ceb5d4e2 100644
--- a/emulators/wine/files/wine.sh
+++ b/emulators/wine/files/wine.sh.in
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index 10a8be2da8ed..97e77fb5b641 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -458,6 +458,7 @@ lib/wine/dswave.dll.so
lib/wine/dxdiagn.dll.so
lib/wine/eject.exe.so
lib/wine/expand.exe.so
+lib/wine/explorer.exe.so
lib/wine/gdi.exe.so
lib/wine/gdi32.dll.so
lib/wine/glu32.dll.so