From bf70f1aaaba45d10bc28702f4a2ce99732182639 Mon Sep 17 00:00:00 2001 From: gerald Date: Thu, 24 Nov 2005 00:15:55 +0000 Subject: 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 --- emulators/wine/Makefile | 15 +++++++-------- emulators/wine/distinfo | 5 +++-- emulators/wine/files/pkg-message.in | 11 +++++++++++ emulators/wine/files/wine.sh | 15 --------------- emulators/wine/files/wine.sh.in | 15 +++++++++++++++ emulators/wine/pkg-message | 11 ----------- emulators/wine/pkg-plist | 1 + 7 files changed, 37 insertions(+), 36 deletions(-) create mode 100644 emulators/wine/files/pkg-message.in delete mode 100644 emulators/wine/files/wine.sh create mode 100644 emulators/wine/files/wine.sh.in delete mode 100644 emulators/wine/pkg-message (limited to 'emulators/wine') 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 .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 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/files/pkg-message.in b/emulators/wine/files/pkg-message.in new file mode 100644 index 000000000000..5a29eb19315e --- /dev/null +++ b/emulators/wine/files/pkg-message.in @@ -0,0 +1,11 @@ +Wine should build on FreeBSD 4.x and FreeBSD 5.x, but versions before +FreeBSD 5.3 will generally not work properly. + +The port also installs some of Wine's doc files which describe additional +things that are not in the manual pages, see: + %%PREFIX%%/share/doc/wine +There are more in the source tree but the others are only useful in +conjunction with the rest of the source tree, and then you can as well +look at them there. (If you just installed this as a package and do not +know how to use the ports system to have it fetch and extract the source, +have a look at .) diff --git a/emulators/wine/files/wine.sh b/emulators/wine/files/wine.sh deleted file mode 100644 index fe67ceb5d4e2..000000000000 --- a/emulators/wine/files/wine.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - /sbin/ldconfig -m %%PREFIX%%/lib/wine - ;; - stop) - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/emulators/wine/files/wine.sh.in b/emulators/wine/files/wine.sh.in new file mode 100644 index 000000000000..fe67ceb5d4e2 --- /dev/null +++ b/emulators/wine/files/wine.sh.in @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in + start) + /sbin/ldconfig -m %%PREFIX%%/lib/wine + ;; + stop) + ;; + *) + echo "" + echo "Usage: `basename $0` { start | stop }" + echo "" + exit 64 + ;; +esac diff --git a/emulators/wine/pkg-message b/emulators/wine/pkg-message deleted file mode 100644 index 5a29eb19315e..000000000000 --- a/emulators/wine/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -Wine should build on FreeBSD 4.x and FreeBSD 5.x, but versions before -FreeBSD 5.3 will generally not work properly. - -The port also installs some of Wine's doc files which describe additional -things that are not in the manual pages, see: - %%PREFIX%%/share/doc/wine -There are more in the source tree but the others are only useful in -conjunction with the rest of the source tree, and then you can as well -look at them there. (If you just installed this as a package and do not -know how to use the ports system to have it fetch and extract the source, -have a look at .) 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 -- cgit