summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xtrkcad/README11
-rw-r--r--graphics/xtrkcad/slack-desc19
-rw-r--r--graphics/xtrkcad/xtrkcad.SlackBuild64
-rw-r--r--graphics/xtrkcad/xtrkcad.info10
4 files changed, 0 insertions, 104 deletions
diff --git a/graphics/xtrkcad/README b/graphics/xtrkcad/README
deleted file mode 100644
index d2e088035f..0000000000
--- a/graphics/xtrkcad/README
+++ /dev/null
@@ -1,11 +0,0 @@
-XTrkCAD is a CAD program for designing model railroad layouts.
-You can design layouts in any scale and gauge. XTrkCAD has
-predefined libraries for many popular brands of track. You can
-test your design by running trains, and you can print the
-design in a scale of your choice. When printed in 1:1 scale
-the printout can be used as a template for track laying.
-
-Beginner's Tutorial: http://www.xtrkcad.org/Wikka/BeginnerTutorial
-User Guide: http://www.xtrkcad.org/Wikka/UserGuide
-
-graphviz is an optional dependency.
diff --git a/graphics/xtrkcad/slack-desc b/graphics/xtrkcad/slack-desc
deleted file mode 100644
index 428b1f100b..0000000000
--- a/graphics/xtrkcad/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-xtrkcad: xtrkcad (CAD program for designing model railroad layouts)
-xtrkcad:
-xtrkcad: XTrkCAD is a CAD program for designing model railroad layouts.
-xtrkcad: You can design layouts in any scale and gauge. XTrkCAD has
-xtrkcad: predefined libraries for many popular brands of track. You
-xtrkcad: can test your design by running trains, and you can print the
-xtrkcad: design in a scale of your choice. When printed in 1:1 scale
-xtrkcad: the printout can be used as a template for track laying.
-xtrkcad:
-xtrkcad: Homepage: http://www.xtrkcad.org/
-xtrkcad:
diff --git a/graphics/xtrkcad/xtrkcad.SlackBuild b/graphics/xtrkcad/xtrkcad.SlackBuild
deleted file mode 100644
index 34b3f6b0c9..0000000000
--- a/graphics/xtrkcad/xtrkcad.SlackBuild
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for xtrkcad
-# Written by David Spencer <nobbutl@yahoo.co.uk>
-# This script is dedicated to the public domain
-
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-
-PRGNAM=xtrkcad
-SRCNAM=xtrkcad-source
-VERSION=4.0.3a
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DXTRKCAD_USE_GTK=ON \
- -DXTRKCAD_USE_GTK_CAIRO=ON \
- .
-
-make
-make install DESTDIR=$PKG
-
-strip --strip-unneeded $PKG/usr/bin/xtrkcad
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a app/COPYING app/doc/ChangeLog app/lib/Readme.txt \
- $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/graphics/xtrkcad/xtrkcad.info b/graphics/xtrkcad/xtrkcad.info
deleted file mode 100644
index 1bf44070ec..0000000000
--- a/graphics/xtrkcad/xtrkcad.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="xtrkcad"
-VERSION="4.0.3a"
-HOMEPAGE="http://www.xtrkcad.org/"
-DOWNLOAD="http://downloads.sourceforge.net/xtrkcad-fork/xtrkcad-source-4.0.3a.tar.gz"
-MD5SUM="d4e281781b9695f96f48ce0dde98ec9e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="David Spencer"
-EMAIL="nobbutl@yahoo.co.uk"
-APPROVED="rworkman"