mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
3e4ed01146
- 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)
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# New ports collection makefile for: steak
|
|
# Date created: 2003/01/02
|
|
# Whom: Heiner <h.eichmann@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= steak
|
|
PORTVERSION= 1.7.3
|
|
PORTREVISION= 5
|
|
CATEGORIES= german
|
|
MASTER_SITES= SF \
|
|
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
|
|
|
|
USE_XORG= xt
|
|
|
|
.if defined(WITHOUT_XSTEAK)
|
|
USE_XORG= x11
|
|
.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
|
|
|
|
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
|
|
${REINPLACE_CMD} -e "s,/usr/X11R6/,${LOCALBASE}/,g" ${WRKSRC}/Printbuffer/Makefile
|
|
|
|
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>
|