diff options
author | Yann Mérignac <yann.merignac@laposte.net> | 2010-12-09 19:49:47 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-12 15:47:13 -0600 |
commit | d924ba8371c3ca7f9222340c66a2a14273ab22f6 (patch) | |
tree | c88a7dd9a7b59819e6d5fd40d1351f4bb64e96aa /development/pasdoc | |
parent | 64fb83b53a85ea6fa351a064cac274665346c96e (diff) |
development/pasdoc: Added (documentation tool for ObjectPascal)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/pasdoc')
-rw-r--r-- | development/pasdoc/README | 8 | ||||
-rw-r--r-- | development/pasdoc/pasdoc.SlackBuild | 52 | ||||
-rw-r--r-- | development/pasdoc/pasdoc.info | 10 | ||||
-rw-r--r-- | development/pasdoc/slack-desc | 19 |
4 files changed, 89 insertions, 0 deletions
diff --git a/development/pasdoc/README b/development/pasdoc/README new file mode 100644 index 000000000000..51fa4e3faae8 --- /dev/null +++ b/development/pasdoc/README @@ -0,0 +1,8 @@ +PasDoc is a documentation tool for ObjectPascal source code. + +Documentation is generated from comments found in source code. + +Available output formats are HTML, HtmlHelp, LaTeX, latex2rtf, +simplexml. More output formats may be added in the future. + +This requires fpc [Free pascal].
\ No newline at end of file diff --git a/development/pasdoc/pasdoc.SlackBuild b/development/pasdoc/pasdoc.SlackBuild new file mode 100644 index 000000000000..651218b18c73 --- /dev/null +++ b/development/pasdoc/pasdoc.SlackBuild @@ -0,0 +1,52 @@ +#!/bin/sh + +# Slackware build script for pasdoc + +# Written by Yann Mérignac yann.merignac@laposte.net +# This submission is considered to be in the public domain + +PRGNAM=pasdoc +VERSION=0.11.0 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM +tar -xzvf $CWD/$PRGNAM-$VERSION-src.tar.gz || exit 1 +cd $PRGNAM || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# NO configure file for pasdoc + +mkdir -p $PKG/usr/bin || exit 1 + +make build-fpc-default || exit 1 +strip --strip-unneeded bin/pasdoc + +install -m 0755 bin/pasdoc $PKG/usr/bin + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog LICENSE docs/pasdoc.css docs/pasdoc.html docs/pasdoc.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/pasdoc/pasdoc.info b/development/pasdoc/pasdoc.info new file mode 100644 index 000000000000..908280a6619d --- /dev/null +++ b/development/pasdoc/pasdoc.info @@ -0,0 +1,10 @@ +PRGNAM="pasdoc" +VERSION="0.11.0" +HOMEPAGE="http://pasdoc.sipsolutions.net/" +DOWNLOAD="http://downloads.sourceforge.net/pasdoc/pasdoc-0.11.0-src.tar.gz" +MD5SUM="6c492e6dcc68f7dce76fedacfc0e92cb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Yann Mérignac" +EMAIL="yann.merignac@laposte.net" +APPROVED="Niels Horn" diff --git a/development/pasdoc/slack-desc b/development/pasdoc/slack-desc new file mode 100644 index 000000000000..c452ee89b009 --- /dev/null +++ b/development/pasdoc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +pasdoc: PasDoc is a documentation tool for ObjectPascal source code. +pasdoc: +pasdoc: Documentation is generated from comments found in source code. +pasdoc: +pasdoc: Available output formats are HTML, HtmlHelp, LaTeX, latex2rtf, +pasdoc: simplexml. More output formats may be added in the future. +pasdoc: +pasdoc: +pasdoc: +pasdoc: +pasdoc: |