diff options
author | arved <arved@FreeBSD.org> | 2003-02-15 23:51:11 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-02-15 23:51:11 +0800 |
commit | f35f19426c05193b8f82be6d30913bd8d1ad94e3 (patch) | |
tree | 554fc2bd9a9d21df45b381da6ea526d27bca4567 /german/steak | |
parent | 8211d577ec8c6ef59a27222dde37722a7db02853 (diff) | |
download | freebsd-ports-gnome-f35f19426c05193b8f82be6d30913bd8d1ad94e3.tar.gz freebsd-ports-gnome-f35f19426c05193b8f82be6d30913bd8d1ad94e3.tar.zst freebsd-ports-gnome-f35f19426c05193b8f82be6d30913bd8d1ad94e3.zip |
Add steak, another german <-> english dictionary
PR: 46693
Submitted by: Heiner Eichmann <h.eichmann@gmx.de>
Diffstat (limited to 'german/steak')
-rw-r--r-- | german/steak/Makefile | 56 | ||||
-rw-r--r-- | german/steak/distinfo | 1 | ||||
-rw-r--r-- | german/steak/files/patch-Makefile | 15 | ||||
-rw-r--r-- | german/steak/files/patch-Poll:poll.C | 11 | ||||
-rw-r--r-- | german/steak/files/patch-Poll:poll.c | 11 | ||||
-rw-r--r-- | german/steak/pkg-descr | 12 | ||||
-rw-r--r-- | german/steak/pkg-plist | 22 |
7 files changed, 128 insertions, 0 deletions
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 |