aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-02-15 15:51:11 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-02-15 15:51:11 +0000
commit83bbb6dde19967fc586233b01068a295e64ddac9 (patch)
tree4e801ccffe30fa45563fbbbac098edef3378c0fc /german
parent17fbe882eff7580c21d6b24da0f55942213d7654 (diff)
downloadports-83bbb6dde19967fc586233b01068a295e64ddac9.tar.gz
ports-83bbb6dde19967fc586233b01068a295e64ddac9.zip
Notes
Diffstat (limited to 'german')
-rw-r--r--german/Makefile1
-rw-r--r--german/steak/Makefile56
-rw-r--r--german/steak/distinfo1
-rw-r--r--german/steak/files/patch-Makefile15
-rw-r--r--german/steak/files/patch-Poll:poll.C11
-rw-r--r--german/steak/files/patch-Poll:poll.c11
-rw-r--r--german/steak/pkg-descr12
-rw-r--r--german/steak/pkg-plist22
8 files changed, 129 insertions, 0 deletions
diff --git a/german/Makefile b/german/Makefile
index 88d38c11b57c..7c0bd21b1de7 100644
--- a/german/Makefile
+++ b/german/Makefile
@@ -21,6 +21,7 @@
SUBDIR += php_doc
SUBDIR += staroffice5
SUBDIR += staroffice52
+ SUBDIR += steak
SUBDIR += unix-connect
SUBDIR += webalizer2
diff --git a/german/steak/Makefile b/german/steak/Makefile
new file mode 100644
index 000000000000..ffd581347ea3
--- /dev/null
+++ b/german/steak/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: steak
+# Date created: 2003/01/02
+# Whom: Heiner <h.eichmann@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= steak
+PORTVERSION= 1.7.3
+CATEGORIES= german
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.tm.informatik.uni-frankfurt.de/%7Erazi/steak/program/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= Steak.${PORTVERSION}
+
+MAINTAINER= h.eichmann@gmx.de
+COMMENT= "An english <-> german dictionary under the GPL"
+
+RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+
+.if defined(WITHOUT_XSTEAK)
+USE_XLIB= yes
+.else
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+MAKE_ARGS= -D xsteak
+.endif
+WRKSRC= ${WRKDIR}/Steak
+USE_BZIP2= yes
+USE_REINPLACE= yes
+
+.if defined(WITHOUT_XSTEAK)
+PLIST_SUB+= NOXSTEAK:="@comment "
+.else
+PLIST_SUB+= NOXSTEAK:=""
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,\$$HOME/bin/Steak/Datensatz,${PREFIX}/share/steak/Datensatz,; \
+ s,BINDIR=\$$HOME/bin/Steak,BINDIR=${DATADIR},; \
+ s,$$BINDIR/help.txt,${DATADIR}/help.txt,g" ${WRKSRC}/woerterbuch
+
+do-install:
+.if !defined(WITHOUT_XSTEAK)
+ ${INSTALL_PROGRAM} ${WRKSRC}/Xsteak/xsteak ${PREFIX}/bin/
+.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/woerterbuch ${PREFIX}/bin/steak
+ ${MKDIR} ${DATADIR}/Datensatz
+ ${INSTALL_DATA} ${WRKSRC}/Datensatz/* ${DATADIR}/Datensatz
+ cd ${WRKSRC}; ${INSTALL_DATA} README README.eng help.txt \
+ mini_steak_icon.xpm pinguin_steak_icon.xpm \
+ .Steakconfig ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/Xpm/* ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/iso2txt ${DATADIR}
+ cd ${WRKSRC}; ${INSTALL_PROGRAM} poll printbuffer spacefilter ${DATADIR}
+.include <bsd.port.mk>
diff --git a/german/steak/distinfo b/german/steak/distinfo
new file mode 100644
index 000000000000..d9549bf142d9
--- /dev/null
+++ b/german/steak/distinfo
@@ -0,0 +1 @@
+MD5 (Steak.1.7.3.tar.bz2) = 907b1d320c34b578faa45b9a2dfb147d
diff --git a/german/steak/files/patch-Makefile b/german/steak/files/patch-Makefile
new file mode 100644
index 000000000000..31ad29544063
--- /dev/null
+++ b/german/steak/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Tue Jan 4 03:37:16 2000
++++ Makefile Sun Jan 26 10:57:39 2003
+@@ -18,8 +18,10 @@
+ cp SpaceFilter/spacefilter .
+ cd Datensatz/ ; \
+ ./datenbankaktualisieren.sh
+-
+-
++.ifdef(xsteak)
++ cd Xsteak/ ; \
++ ${MAKE} -f Makefile_gtk_1.2
++.endif
+
+ clean:
+ rm -f *~ .*~ Datensatz/*~
diff --git a/german/steak/files/patch-Poll:poll.C b/german/steak/files/patch-Poll:poll.C
new file mode 100644
index 000000000000..fdb066c073a7
--- /dev/null
+++ b/german/steak/files/patch-Poll:poll.C
@@ -0,0 +1,11 @@
+--- Poll/poll.C.orig Tue Jan 4 03:11:05 2000
++++ Poll/poll.C Sun Jan 26 11:00:13 2003
+@@ -27,7 +27,7 @@
+
+
+ //signal(SIGCLD, SIG_IGN);
+- signal(SIGCLD, parent_terminate);
++ signal(SIGCHLD, parent_terminate);
+
+ //printf("pid des Prozesses = %d, Parent-pid des Prozesses = %d\n\n",getpid(), getppid());
+
diff --git a/german/steak/files/patch-Poll:poll.c b/german/steak/files/patch-Poll:poll.c
new file mode 100644
index 000000000000..f244d7c574ca
--- /dev/null
+++ b/german/steak/files/patch-Poll:poll.c
@@ -0,0 +1,11 @@
+--- Poll/poll.c.orig Mon Jul 29 01:35:10 2002
++++ Poll/poll.c Sun Jan 26 10:59:31 2003
+@@ -26,7 +26,7 @@
+
+
+ /*signal(SIGCLD, SIG_IGN);*/
+- signal(SIGCLD, parent_terminate);
++ signal(SIGCHLD, parent_terminate);
+
+ /*printf("pid des Prozesses = %d, Parent-pid des Prozesses = %d\n\n",getpid(), getppid());*/
+
diff --git a/german/steak/pkg-descr b/german/steak/pkg-descr
new file mode 100644
index 000000000000..1461d133a081
--- /dev/null
+++ b/german/steak/pkg-descr
@@ -0,0 +1,12 @@
+Steak is a german <-> english translator under GPL.
+A command line tool allows the translation of words in
+both directions. Additionally steak can call ispell
+to correct mistyped words.
+
+If build with make -D xsteak ... a small xwindows
+programm allows the translation of words interactively
+
+WWW: http://www.tm.informatik.uni-frankfurt.de/%7Erazi/steak/steak.html
+
+--
+h.eichmann@gmx.de
diff --git a/german/steak/pkg-plist b/german/steak/pkg-plist
new file mode 100644
index 000000000000..064ed51889ea
--- /dev/null
+++ b/german/steak/pkg-plist
@@ -0,0 +1,22 @@
+bin/steak
+%%NOXSTEAK:%%bin/xsteak
+share/steak/iso2txt
+share/steak/poll
+share/steak/printbuffer
+share/steak/spacefilter
+share/steak/Datensatz/README
+share/steak/Datensatz/datenbankaktualisieren.sh
+share/steak/Datensatz/ger-eng.txt
+share/steak/Datensatz/insert_my_words.txt
+share/steak/README
+share/steak/README.eng
+share/steak/help.txt
+share/steak/ksteak.xpm
+share/steak/mini-ksteak.xpm
+share/steak/pinguin_steak_icon_old.xpm
+share/steak/mini_steak_icon.xpm
+share/steak/pinguin_steak_icon.xpm
+share/steak/.Steakconfig
+share/steak/steak.xpm
+@dirrm share/steak/Datensatz
+@dirrm share/steak