summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:53:25 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:53:25 +0200
commitd74bc48387c110d413a61b349bde63b271c13ad6 (patch)
tree41fdbe0a2df20395e416fa038155484145cf0c19
parentca3373129d460fa9f97832741c0fd4f0aa7c1e9d (diff)
downloadnutyx-extra-d74bc48387c110d413a61b349bde63b271c13ad6.tar.gz
nutyx-extra-d74bc48387c110d413a61b349bde63b271c13ad6.tar.bz2
nutyx-extra-d74bc48387c110d413a61b349bde63b271c13ad6.tar.xz
nutyx-extra-d74bc48387c110d413a61b349bde63b271c13ad6.zip
Ajout de txt2tags#2.5-1
-rw-r--r--extra/txt2tags/.footprint29
-rwxr-xr-xextra/txt2tags/.md5sum1
-rwxr-xr-xextra/txt2tags/Pkgfile32
3 files changed, 62 insertions, 0 deletions
diff --git a/extra/txt2tags/.footprint b/extra/txt2tags/.footprint
new file mode 100644
index 000000000..6ff25e198
--- /dev/null
+++ b/extra/txt2tags/.footprint
@@ -0,0 +1,29 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gensite
+-rwxr-xr-x root/root usr/bin/html-update.sh
+-rwxr-xr-x root/root usr/bin/t2tmake.rb
+-rwxr-xr-x root/root usr/bin/txt2tags
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/txt2tags/
+-rw-r--r-- root/root usr/share/doc/txt2tags/manpage.t2t
+-rw-r--r-- root/root usr/share/doc/txt2tags/txt2tags-quickref.pdf
+-rw-r--r-- root/root usr/share/doc/txt2tags/userguide.pdf
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/txt2tags.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/fr/
+drwxr-xr-x root/root usr/share/man/fr/man1/
+-rw-r--r-- root/root usr/share/man/fr/man1/txt2tags.1.gz
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/txt2tags.1.gz
+drwxr-xr-x root/root usr/share/vim/
+drwxr-xr-x root/root usr/share/vim/syntax/
+-rw-r--r-- root/root usr/share/vim/syntax/gvim-menu.vim
+-rw-r--r-- root/root usr/share/vim/syntax/pagemaker.vim
+-rw-r--r-- root/root usr/share/vim/syntax/txt2tags-compiler.vim
+-rw-r--r-- root/root usr/share/vim/syntax/txt2tags.vim
+-rw-r--r-- root/root usr/share/vim/syntax/unhtml.vim
diff --git a/extra/txt2tags/.md5sum b/extra/txt2tags/.md5sum
new file mode 100755
index 000000000..d7325e2a8
--- /dev/null
+++ b/extra/txt2tags/.md5sum
@@ -0,0 +1 @@
+e4d4553651b5be0711263378ca133c43 txt2tags-2.5.tgz
diff --git a/extra/txt2tags/Pkgfile b/extra/txt2tags/Pkgfile
new file mode 100755
index 000000000..14aee45f3
--- /dev/null
+++ b/extra/txt2tags/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Generateur de documents en plusieurs formats de sortie
+# URL: http://txt2tags.sourceforge.net
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on: gettext, python
+
+name=txt2tags
+version=2.5
+release=1
+source=(http://txt2tags.googlecode.com/files/$name-$version.tgz)
+
+build() {
+cd $name-$version
+ mkdir -p $PKG/usr/bin
+ mkdir -p $PKG/usr/share/{man/man1,man/fr/man1,vim/syntax,doc/$name}
+ # bin
+ install -m 755 txt2tags $PKG/usr/bin
+ install -m 755 extras/{t2tmake.rb,gensite,html-update.sh} $PKG/usr/bin
+ # vim
+ install -m 644 extras/*.vim $PKG/usr/share/vim/syntax
+ # page man
+ install -m 644 doc/manpage.man $PKG/usr/share/man/man1/txt2tags.1
+ install -m 644 doc/manpage-fr.man $PKG/usr/share/man/fr/man1/txt2tags.1
+ # doc
+ install -m 644 doc/{*.pdf,*.t2t} $PKG/usr/share/doc/$name
+ # locale fr
+ mkdir -p $PKG/usr/share/locale/fr/LC_MESSAGES/
+ cd po
+ msgfmt -o txt2tags.mo fr.po
+ install -m 644 txt2tags.mo $PKG/usr/share/locale/fr/LC_MESSAGES
+}
+