summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-ht-en
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
commitb5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch)
treefc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-ht-en
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
downloadabslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.gz
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.bz2
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.zip
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-ht-en')
-rw-r--r--pcr/apertium/apertium-ht-en/Makefile.am.patch19
-rw-r--r--pcr/apertium/apertium-ht-en/Makefile.in.patch20
-rw-r--r--pcr/apertium/apertium-ht-en/PKGBUILD5
-rw-r--r--pcr/apertium/apertium-ht-en/t1x.patch14
4 files changed, 58 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-ht-en/Makefile.am.patch b/pcr/apertium/apertium-ht-en/Makefile.am.patch
new file mode 100644
index 000000000..815935806
--- /dev/null
+++ b/pcr/apertium/apertium-ht-en/Makefile.am.patch
@@ -0,0 +1,19 @@
+--- ../apertium-ht-en-0.1.0/Makefile.am 2010-01-24 23:36:34.000000000 +0100
++++ apertium-ht-en-0.1.0/Makefile.am 2010-09-15 14:24:05.000000000 +0200
+@@ -78,11 +78,11 @@
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+ rm -rf modes
+ mv modes.bak modes
+- test -d $(apertium_ht_modesdir) || mkdir $(apertium_ht_modesdir)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_ht_modesdir)
++ test -d $(DESTDIR)$(apertium_ht_modesdir) || mkdir $(DESTDIR)$(apertium_ht_modesdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_ht_modesdir)
+ rm $(PREFIX1).mode
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_ht_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_ht_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_ht_endir)
+
+ CLEANFILES = -rf $(TARGETS_COMMON) modes
diff --git a/pcr/apertium/apertium-ht-en/Makefile.in.patch b/pcr/apertium/apertium-ht-en/Makefile.in.patch
new file mode 100644
index 000000000..5f9f2d6cd
--- /dev/null
+++ b/pcr/apertium/apertium-ht-en/Makefile.in.patch
@@ -0,0 +1,20 @@
+--- ../apertium-ht-en-0.1.0/Makefile.in 2010-01-24 23:37:07.000000000 +0100
++++ apertium-ht-en-0.1.0/Makefile.in 2010-09-15 14:24:23.000000000 +0200
+@@ -567,12 +567,12 @@
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+ rm -rf modes
+ mv modes.bak modes
+- test -d $(apertium_ht_modesdir) || mkdir $(apertium_ht_modesdir)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_ht_modesdir)
++ test -d $(DESTDIR)$(apertium_ht_modesdir) || mkdir $(DESTDIR)$(apertium_ht_modesdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_ht_modesdir)
+ rm $(PREFIX1).mode
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_ht_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_ht_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_ht_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_ht_endir)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/pcr/apertium/apertium-ht-en/PKGBUILD b/pcr/apertium/apertium-ht-en/PKGBUILD
index 6f3e3627e..d700f89b0 100644
--- a/pcr/apertium/apertium-ht-en/PKGBUILD
+++ b/pcr/apertium/apertium-ht-en/PKGBUILD
@@ -31,4 +31,9 @@ build() {
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir/" install || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
} \ No newline at end of file
diff --git a/pcr/apertium/apertium-ht-en/t1x.patch b/pcr/apertium/apertium-ht-en/t1x.patch
new file mode 100644
index 000000000..a60469dfb
--- /dev/null
+++ b/pcr/apertium/apertium-ht-en/t1x.patch
@@ -0,0 +1,14 @@
+--- ../apertium-ht-en-0.1.0/apertium-ht-en.ht-en.t1x 2010-01-24 23:11:45.000000000 +0100
++++ apertium-ht-en-0.1.0/apertium-ht-en.ht-en.t1x 2010-09-15 14:25:40.000000000 +0200
+@@ -228,10 +228,7 @@
+ </section-def-lists>
+ <section-def-macros>
+ <def-macro n="set_temps_chunk" npar="1"
+- c="Guess temps for lone verbs based on stative/dynamic.
+- In the present non-progressive tense, one just uses the basic verb form for
+- stative verbs. Note that when the basic form of action verbs is used without any
+- verb markers, it is generally understood as referring to the past.">
++>
+ <choose>
+ <when>
+ <test>