2000-09-16 14:17:19 +00:00
|
|
|
# New ports collection makefile for: gtranslator
|
|
|
|
# Date created: 16 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtranslator
|
2001-02-25 21:17:08 +00:00
|
|
|
PORTVERSION= 0.35
|
2000-09-16 14:17:19 +00:00
|
|
|
CATEGORIES= devel gnome
|
2001-02-25 21:17:08 +00:00
|
|
|
MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/tarballs/ \
|
2000-09-16 14:17:19 +00:00
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2000-10-21 15:49:34 +00:00
|
|
|
LIB_DEPENDS= oaf.0:${PORTSDIR}/devel/oaf \
|
2001-02-10 20:48:16 +00:00
|
|
|
gconf-1.1:${PORTSDIR}/devel/gconf \
|
2001-02-25 21:17:08 +00:00
|
|
|
gnomevfs.0:${PORTSDIR}/devel/gnomevfs \
|
|
|
|
gal.4:${PORTSDIR}/x11-toolkits/gal
|
2000-09-16 14:17:19 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
USE_GNOME= yes
|
2000-09-16 14:17:19 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-10-21 15:49:34 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
2000-09-16 14:17:19 +00:00
|
|
|
|
|
|
|
MAN1= gtranslator.1
|
2001-02-25 21:17:08 +00:00
|
|
|
MANCOMPRESSED= yes
|
2000-09-16 14:17:19 +00:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|