mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: translator
|
|
# Date created: 24 Oct 2004
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= translator
|
|
PORTVERSION= 0.1.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://jodrell.net/files/attic/translator/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GTK+ frontend to the Babelfish translation service
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
|
|
${SITE_PERL}/${PERL_ARCH}/Gtk2/GladeXML.pm:${PORTSDIR}/x11-toolkits/p5-Glade2 \
|
|
${SITE_PERL}/${PERL_ARCH}/Gnome2/GConf.pm:${PORTSDIR}/devel/p5-Gnome2-GConf \
|
|
${SITE_PERL}/WWW/Babelfish.pm:${PORTSDIR}/www/p5-WWW-Babelfish
|
|
|
|
USE_PERL5= 5.8.0+
|
|
NO_BUILD= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
HAVE_THREADS!= ${PERL} -mthreads -e '' >/dev/null 2>&1 && ${ECHO_CMD} 'yes' || true
|
|
|
|
.if empty(HAVE_THREADS)
|
|
IGNORE= needs threaded perl
|
|
.endif
|
|
|
|
post-patch:
|
|
@${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/translator.pl > ${WRKSRC}/translator
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/translator ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/translator.png ${PREFIX}/share/pixmaps
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/translator.glade ${DATADIR}
|
|
|
|
.include <bsd.port.post.mk>
|