summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorNiki Kovacs <info@microlinux.fr>2012-12-23 09:09:05 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:52 -0500
commit008cc0e84ac23102051b9c01f0958b4ee72910f0 (patch)
tree37372d0322c1cd1aea94af486a2777e6b27593f5 /system
parentbd506eeb9f263b0a7f5fea59901041a7943e27e7 (diff)
downloadslackbuilds-008cc0e84ac23102051b9c01f0958b4ee72910f0.tar.gz
system/man-pages-extras-fr: Added (French system documentation)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/man-pages-extras-fr/README1
-rw-r--r--system/man-pages-extras-fr/man-pages-extras-fr.SlackBuild80
-rw-r--r--system/man-pages-extras-fr/man-pages-extras-fr.info10
-rw-r--r--system/man-pages-extras-fr/slack-desc19
4 files changed, 110 insertions, 0 deletions
diff --git a/system/man-pages-extras-fr/README b/system/man-pages-extras-fr/README
new file mode 100644
index 0000000000..4695daf10f
--- /dev/null
+++ b/system/man-pages-extras-fr/README
@@ -0,0 +1 @@
+Some more french translation files for the man pages.
diff --git a/system/man-pages-extras-fr/man-pages-extras-fr.SlackBuild b/system/man-pages-extras-fr/man-pages-extras-fr.SlackBuild
new file mode 100644
index 0000000000..923deb0fed
--- /dev/null
+++ b/system/man-pages-extras-fr/man-pages-extras-fr.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/sh
+
+# Slackware build script for man-pages-extras-fr
+
+# Copyright 2012 Niki Kovacs Montpezat, France
+# 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=man-pages-extras-fr
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+make DESTDIR=$PKG MANDIR=/usr/man/fr install
+
+# Convert man pages from UTF-8 to Latin-1.
+cd $PKG/usr/man/fr
+for MANPAGE in man*/* ; do
+ echo ":: Converting manpage $MANPAGE from UTF8 to LATIN1."
+ iconv -c -t LATIN1 -f UTF8 < $MANPAGE > tmp
+ mv tmp $MANPAGE
+done
+cd -
+
+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
+
+# This one is included in Slackware.
+rm $PKG/usr/man/fr/man1/chsh.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AFAIRE INSTALL Lisez_moi \
+ $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/system/man-pages-extras-fr/man-pages-extras-fr.info b/system/man-pages-extras-fr/man-pages-extras-fr.info
new file mode 100644
index 0000000000..09c8c2a6ba
--- /dev/null
+++ b/system/man-pages-extras-fr/man-pages-extras-fr.info
@@ -0,0 +1,10 @@
+PRGNAM="man-pages-extras-fr"
+VERSION="0.8.1"
+HOMEPAGE="http://manpagesfr.free.fr/"
+DOWNLOAD="http://manpagesfr.free.fr/download/man-pages-extras-fr-0.8.1.tar.bz2"
+MD5SUM="94b3c7d6a13f6492417d25d3dc92b016"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Niki Kovacs"
+EMAIL="info@microlinux.fr"
diff --git a/system/man-pages-extras-fr/slack-desc b/system/man-pages-extras-fr/slack-desc
new file mode 100644
index 0000000000..2c29fffcc1
--- /dev/null
+++ b/system/man-pages-extras-fr/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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+man-pages-extras-fr: man-pages-extras-fr (more french system documentation)
+man-pages-extras-fr:
+man-pages-extras-fr: Some more french translation files for the man pages.
+man-pages-extras-fr:
+man-pages-extras-fr: Visit the project page: http://manpagesfr.free.fr/
+man-pages-extras-fr:
+man-pages-extras-fr:
+man-pages-extras-fr:
+man-pages-extras-fr:
+man-pages-extras-fr:
+man-pages-extras-fr: