mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update emulators/i386-wine-devel to 1.7.7.
Changes: - Fix the patch-nvidia.sh script's usage of getopt [1] - Fix the patching of the packages for installation on amd64 [2] - Reported by: [1] Nicole Reid <nicole@cooltrainer.org> [2] Piotr Kubaj <pkubaj@riseup.net>
This commit is contained in:
parent
10ed3f609d
commit
10ac0e1be2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335395
4 changed files with 7 additions and 8 deletions
|
@ -79,7 +79,7 @@ post-install-script:
|
||||||
post-package-script:
|
post-package-script:
|
||||||
if [ -n "${WITH_PKGNG}" -a -z "${PACKAGE_BUILDING}" ]; then \
|
if [ -n "${WITH_PKGNG}" -a -z "${PACKAGE_BUILDING}" ]; then \
|
||||||
${XZ_CMD} -dc ${PKGFILE} | \
|
${XZ_CMD} -dc ${PKGFILE} | \
|
||||||
${SED} -e "s/^\(arch: freebsd:.*:x86\):32/\1:64/" | \
|
${SED} -e 's/\(freebsd:.*:x86\):32/\1:64/' -e 's/\(freebsd:.*:x86\):32/\1:64/' | \
|
||||||
${XZ_CMD} > ${WRKDIR}/${PKGNAME}${PKG_SUFX}; \
|
${XZ_CMD} > ${WRKDIR}/${PKGNAME}${PKG_SUFX}; \
|
||||||
${MV} ${WRKDIR}/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
|
${MV} ${WRKDIR}/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= wine
|
PORTNAME= wine
|
||||||
PORTVERSION= 1.7.6
|
PORTVERSION= 1.7.7
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= LOCAL/dbn/repos/wine/${DIST_SUBDIR}/${PORTVERSION}
|
MASTER_SITES= LOCAL/dbn/repos/wine/${DIST_SUBDIR}/${PORTVERSION}
|
||||||
|
@ -65,7 +65,6 @@ do-install:
|
||||||
pkg-plist: extract
|
pkg-plist: extract
|
||||||
${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$' | ${SED} 's|/usr/local/||g' | sort > ${WRKDIR}/pkg-plist
|
${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$' | ${SED} 's|/usr/local/||g' | sort > ${WRKDIR}/pkg-plist
|
||||||
${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} '/$$' | ${SED} 's|/usr/local/\(.*\)/$$|@dirrm \1|g' | sort -r >> ${WRKDIR}/pkg-plist
|
${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} '/$$' | ${SED} 's|/usr/local/\(.*\)/$$|@dirrm \1|g' | sort -r >> ${WRKDIR}/pkg-plist
|
||||||
${REINPLACE_CMD} -e 's|@dirrm share/applications|@dirrmtry share/applications|' -e 's|/$$||g' ${WRKDIR}/pkg-plist
|
|
||||||
${MV} ${WRKDIR}/pkg-plist ${PLIST}
|
${MV} ${WRKDIR}/pkg-plist ${PLIST}
|
||||||
|
|
||||||
port-update:
|
port-update:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SHA256 (freebsd:8:x86:64/i386-wine-devel-1.7.6,1.txz) = 4298b8c13286f8a58add67d36d3ca852dd7428b7206e1d8cd1568777050e746e
|
SHA256 (freebsd:8:x86:64/i386-wine-devel-1.7.7,1.txz) = ade3f2443124c7d838351aaf2e9dd3d88e250ca20b8bb235e397678c4a09d34a
|
||||||
SIZE (freebsd:8:x86:64/i386-wine-devel-1.7.6,1.txz) = 23351464
|
SIZE (freebsd:8:x86:64/i386-wine-devel-1.7.7,1.txz) = 23359144
|
||||||
SHA256 (freebsd:9:x86:64/i386-wine-devel-1.7.6,1.txz) = 5bb0bd3d38aadbff2bd6835f22f59be3f1392a7d24a4a51d1050c7770ae2ee8f
|
SHA256 (freebsd:9:x86:64/i386-wine-devel-1.7.7,1.txz) = e8dba1940f4070a2eef74352bfac1b4d81bef38939d32f2e38966dd5d8e0103f
|
||||||
SIZE (freebsd:9:x86:64/i386-wine-devel-1.7.6,1.txz) = 23513064
|
SIZE (freebsd:9:x86:64/i386-wine-devel-1.7.7,1.txz) = 23501308
|
||||||
|
|
|
@ -86,7 +86,7 @@ terminate() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
args=`getopt -dn $*`
|
args=`getopt dn $*`
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "Usage: $0 [-n]"
|
echo "Usage: $0 [-n]"
|
||||||
|
|
Loading…
Add table
Reference in a new issue