summaryrefslogtreecommitdiff
path: root/academic/wxmacmolplt/wxmacmolplt.SlackBuild
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 /academic/wxmacmolplt/wxmacmolplt.SlackBuild
parentcd22153d906751fa78cac73408a85dfe3c6d00ed (diff)
downloadslackbuilds-3da5420c07de3646f052f5c86081c11bd8e3ec8b.tar.gz
academic/wxmacmolplt: Updated for version 7.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt.SlackBuild')
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
index efdc391726..b0d865f8e3 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