1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Add files/patch-bin_vmd.csh, files/patch-bin_vmd.sh

to fix a runtime error (the "ARCH" value is not set)
- Bump PORTREVISION
- Remove MD5 checksum from distinfo
- Set ONLY_FOR_ARCHS (i386 and amd64)

PR:		ports/152955
Submitted by:	Benjamin Kaduk <kaduk-fbsd at mit.edu> (maintainer)
This commit is contained in:
Nicola Vitale 2010-12-18 09:24:21 +00:00
parent 7bcb7b5573
commit c98c2222bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266546
4 changed files with 32 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= vmd
PORTVERSION= 1.8.7
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science graphics python tcl tk
MASTER_SITES= http://jedi.ks.uiuc.edu/~johns/raytracer/files/0.98.7/:tachyon \
http://www.ks.uiuc.edu/Research/vmd/extsrcs/:stride
@ -31,6 +31,8 @@ USE_GMAKE= yes
USE_GL= glu
USE_PYTHON= yes
ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= License has restrictions
VMD_DIST= ${PORTNAME}-${PORTVERSION}.src.tar.gz

View File

@ -1,9 +1,6 @@
MD5 (vmd-1.8.7.src.tar.gz) = e8da2f2a5ffd5b4b2562eec77bbea8a3
SHA256 (vmd-1.8.7.src.tar.gz) = 72fe2fb7eff4c805a886ea929c7e143a3a1be57cc817b5d1719d29e591d80316
SIZE (vmd-1.8.7.src.tar.gz) = 23853864
MD5 (tachyon-0.98.7.tar.gz) = 17b41c7042a2d3a75531a4979f643d15
SHA256 (tachyon-0.98.7.tar.gz) = f22b86ed8c85bb12abc20c703f01238bce676c097dae66c81a6bbb7c08a60341
SIZE (tachyon-0.98.7.tar.gz) = 3269840
MD5 (Stride_src.tar.Z) = 96507c2bdc16d4b152278ad7a0cb0389
SHA256 (Stride_src.tar.Z) = c40f7de64947ebab7ec49511c0d264b08bc0fcbc703014bdc85d83a7389be230
SIZE (Stride_src.tar.Z) = 100329

View File

@ -0,0 +1,14 @@
--- bin/vmd.csh.orig 2010-12-08 20:55:17.000000000 -0500
+++ bin/vmd.csh 2010-12-08 21:10:21.000000000 -0500
@@ -218,6 +218,11 @@
# The standard options
if (`uname -m` == "i386") then
set ARCH=FREEBSD
+ else if (`uname -m` == "amd64") then
+ set ARCH=FREEBSDAMD64
+ else
+ echo "Error: unsupported FreeBSD version $MACHVER"
+ exit 1
endif
set VMD_WINTERM=xterm
set VMD_WINOPTS='-sb -sl 1000 -e'

View File

@ -0,0 +1,15 @@
--- bin/vmd.sh.orig 2010-12-08 21:07:16.000000000 -0500
+++ bin/vmd.sh 2010-12-08 21:15:46.000000000 -0500
@@ -256,6 +256,12 @@
if [ `uname -m` = "i386" ]
then
ARCH=FREEBSD
+ elif [ `uname -m` = "amd64" ]
+ then
+ ARCH=FREEBSDAMD64
+ else
+ echo "Error: unsupported FreeBSD version $MACHVER"
+ exit 1
fi
VMD_WINTERM=xterm
VMD_WINOPTS='-sb -sl 1000 -e'