aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2010-12-27 11:59:44 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:58 -0200
commit3da5420c07de3646f052f5c86081c11bd8e3ec8b (patch)
treed38a9c5b24363b0b4adbcdb45524ed587a40134d
parentcd22153d906751fa78cac73408a85dfe3c6d00ed (diff)
academic/wxmacmolplt: Updated for version 7.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--academic/wxmacmolplt/README2
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.SlackBuild9
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.info8
3 files changed, 8 insertions, 11 deletions
diff --git a/academic/wxmacmolplt/README b/academic/wxmacmolplt/README
index 05cbd3082601..75a7315230f7 100644
--- a/academic/wxmacmolplt/README
+++ b/academic/wxmacmolplt/README
@@ -4,4 +4,4 @@ MacMolPlt is designed to display the input and output of the GAMESS(US)
and PCGAMESS quantum chemistry packages. It produces animations and/or
publication quality output from a variety of input file formats.
-This requires wxGTK built with OpenGL support.
+This requires wxGTK built with OpenGL support and ming.
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
index efdc39172602..b0d865f8e377 100644
--- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild
+++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
@@ -5,7 +5,7 @@
# Written by Daniil Bratashov <dn2010@gmail.com>
PRGNAM=wxmacmolplt
-VERSION=${VERSION:-7.4.1}
+VERSION=${VERSION:-7.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,13 +54,13 @@ find . \
# Fix for PCGAMESS new raman activities format
patch -p1 < $CWD/wxmacmolplt-7.2.1-raman.patch
+
# Fix for Firefly format autodetection
patch -p1 < $CWD/wxmacmolplt-7.4-firefly.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --without-ming \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -68,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-#libming support is broken in current version
make
make install DESTDIR=$PKG
@@ -77,7 +76,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
cp resources/wxmacmolplt.png $PKG/usr/share/icons/hicolor/128x128/apps
@@ -87,8 +85,7 @@ cp resources/wxmacmolplt.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/$PRGNAM/MacMolPlt_Manual.html $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/Manual_pages $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s ../../share/$PRGNAM misc )
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/academic/wxmacmolplt/wxmacmolplt.info b/academic/wxmacmolplt/wxmacmolplt.info
index b3d0d3134e0f..ad3ac5b3e9cc 100644
--- a/academic/wxmacmolplt/wxmacmolplt.info
+++ b/academic/wxmacmolplt/wxmacmolplt.info
@@ -1,10 +1,10 @@
PRGNAM="wxmacmolplt"
-VERSION="7.4.1"
+VERSION="7.4.2"
HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
-DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.1.tar.gz"
-MD5SUM="ea8d64ee3572ca22f87f12bbc3d1ea47"
+DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.2.tar.gz"
+MD5SUM="493d96d7bc9fe0e82feeade75bb30fd1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Daniil Bratashov"
EMAIL="dn2010@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"