aboutsummaryrefslogtreecommitdiff
path: root/german/steak/Makefile
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/steak/Makefile
parent17fbe882eff7580c21d6b24da0f55942213d7654 (diff)
downloadports-83bbb6dde19967fc586233b01068a295e64ddac9.tar.gz
ports-83bbb6dde19967fc586233b01068a295e64ddac9.zip
Notes
Diffstat (limited to 'german/steak/Makefile')
-rw-r--r--german/steak/Makefile56
1 files changed, 56 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>