2013-09-20 20:30:00 +02:00
|
|
|
# Created by: Heiner <h.eichmann@gmx.de>
|
2003-02-15 16:51:11 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= steak
|
|
|
|
PORTVERSION= 1.7.3
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 6
|
2003-02-15 16:51:11 +01:00
|
|
|
CATEGORIES= german
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Steak%20${PORTVERSION} \
|
2003-02-15 16:51:11 +01:00
|
|
|
http://www.tm.informatik.uni-frankfurt.de/%7Erazi/steak/program/
|
|
|
|
DISTNAME= Steak.${PORTVERSION}
|
|
|
|
|
2011-09-10 08:23:35 +02:00
|
|
|
MAINTAINER= conrads@cox.net
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= English <-> German dictionary under the GPL
|
2003-02-15 16:51:11 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xt
|
2009-11-19 23:07:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
|
2003-02-15 16:51:11 +01:00
|
|
|
.if defined(WITHOUT_XSTEAK)
|
2008-03-23 17:44:09 +01:00
|
|
|
USE_XORG= x11
|
2003-02-15 16:51:11 +01:00
|
|
|
.else
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
MAKE_ARGS= -D xsteak
|
|
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}/Steak
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
.if defined(WITHOUT_XSTEAK)
|
|
|
|
PLIST_SUB+= NOXSTEAK:="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NOXSTEAK:=""
|
|
|
|
.endif
|
|
|
|
|
2013-09-20 20:30:00 +02:00
|
|
|
NO_STAGE= yes
|
2003-02-15 16:51:11 +01:00
|
|
|
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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
${REINPLACE_CMD} -e "s,/usr/X11R6/,${LOCALBASE}/,g" ${WRKSRC}/Printbuffer/Makefile
|
2003-02-15 16:51:11 +01:00
|
|
|
|
|
|
|
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>
|