aboutsummaryrefslogtreecommitdiff
path: root/academic/plasmidomics
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-12-20 00:29:09 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-20 00:29:09 -0600
commitb1a0885b39abe24f9ce7b4926c9c5ae75f583185 (patch)
tree7c20f65e4236d40a4e49c67edf73f335d3da1eca /academic/plasmidomics
parentadbc3285dbb039d2db65ea0e628ba8299c4255cb (diff)
academic/plasmidomics: Include manual page and better icon
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/plasmidomics')
-rw-r--r--academic/plasmidomics/plasmidomics.139
-rw-r--r--academic/plasmidomics/plasmidomics.SlackBuild41
-rw-r--r--academic/plasmidomics/plasmidomics.desktop2
-rw-r--r--academic/plasmidomics/plasmidomics.info2
-rw-r--r--academic/plasmidomics/plasmidomics.pngbin3861 -> 3378 bytes
-rw-r--r--academic/plasmidomics/slack-desc2
6 files changed, 70 insertions, 16 deletions
diff --git a/academic/plasmidomics/plasmidomics.1 b/academic/plasmidomics/plasmidomics.1
new file mode 100644
index 0000000000000..5523ffd257f52
--- /dev/null
+++ b/academic/plasmidomics/plasmidomics.1
@@ -0,0 +1,39 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PLASMIDOMICS 1 "November 24, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+Plasmidomics \- draw plasmids and vector maps with PostScript export
+.SH SYNOPSIS
+plasmidomics
+.br
+python /usr/bin/plasmidomics
+.SH DESCRIPTION
+This manual page briefly describes Plasmidomics.
+.PP
+Plasmidomics is written for easy drawing of plasmids and vector maps to use them in theses, presentations or other forms of publications. It natively supports PostScript as output format.
+.SH OPTIONS
+There are no options!
+.PP
+.SH SEE ALSO
+The program is documented fully in the README,
+available in /usr/doc/plasmidomics-$VERSION folder.
+.SH AUTHOR
+Plasmidomics was written by Robert Winkler <robert.winkler@bioprocess.org>.
+.PP
+This manual page was written by Robert Winkler <robert.winkler@bioprocess.org>,
+for the Debian project (but may be used by others). It was adapted for Slackware,
+with minor modifications by Petar Petrov <ppetrov@paju.oulu.fi> (2011) \ No newline at end of file
diff --git a/academic/plasmidomics/plasmidomics.SlackBuild b/academic/plasmidomics/plasmidomics.SlackBuild
index a553c5b93bfda..8c06ffacf937c 100644
--- a/academic/plasmidomics/plasmidomics.SlackBuild
+++ b/academic/plasmidomics/plasmidomics.SlackBuild
@@ -1,19 +1,34 @@
#!/bin/sh
# Slackware build script for plasmidomics
-# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
-# hereby submitted to the public domain
-# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
-# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
-# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
+# Copyright 2011 Petar Petrov, ppetrov@paju.oulu.fi
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plasmidomics
VERSION=${VERSION:-0.2}
-ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+ARCH=noarch
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -25,20 +40,20 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-install -D -m755 plasmid $PKG/usr/bin/plasmidomics
+install -D -m755 plasmid $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-# Menu item and icon
mkdir -p $PKG/usr/share/{applications,pixmaps}
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYRIGHT README \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a AUTHORS COPYRIGHT README $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/academic/plasmidomics/plasmidomics.desktop b/academic/plasmidomics/plasmidomics.desktop
index 74ede845f3aca..f2f160ebd9dce 100644
--- a/academic/plasmidomics/plasmidomics.desktop
+++ b/academic/plasmidomics/plasmidomics.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Categories=Education;
Exec=plasmidomics
-Icon=plasmidomics.png
+Icon=plasmidomics
Name=Plasmidomics
StartupNotify=false
Type=Application
diff --git a/academic/plasmidomics/plasmidomics.info b/academic/plasmidomics/plasmidomics.info
index 07b855ab6ed0d..68501643dc3f9 100644
--- a/academic/plasmidomics/plasmidomics.info
+++ b/academic/plasmidomics/plasmidomics.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
-APPROVED="Niels Horn"
+APPROVED="rworkman"
diff --git a/academic/plasmidomics/plasmidomics.png b/academic/plasmidomics/plasmidomics.png
index 1b3aa028a2609..4562548343c5c 100644
--- a/academic/plasmidomics/plasmidomics.png
+++ b/academic/plasmidomics/plasmidomics.png
Binary files differ
diff --git a/academic/plasmidomics/slack-desc b/academic/plasmidomics/slack-desc
index 21403420df1e4..e2e37bed81154 100644
--- a/academic/plasmidomics/slack-desc
+++ b/academic/plasmidomics/slack-desc
@@ -11,9 +11,9 @@ plasmidomics:
plasmidomics: Plasmidomics is an open source program for easy drawing of plasmids
plasmidomics: and vector maps with high-quality graphics export.
plasmidomics:
+plasmidomics: Home: http://www.bioprocess.org/plasmid
plasmidomics:
plasmidomics:
plasmidomics:
plasmidomics:
plasmidomics:
-plasmidomics: Home: http://www.bioprocess.org/plasmid