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
|
2000-10-21 15:49:34 +00:00
|
|
|
PORTVERSION= 0.30
|
2000-09-16 14:17:19 +00:00
|
|
|
CATEGORIES= devel gnome
|
2000-10-21 15:49:34 +00:00
|
|
|
MASTER_SITES= http://gtranslator.sourceforge.net/${PORTVERSION}/tarbz2/ \
|
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 \
|
|
|
|
gconf-1.1:${PORTSDIR}/devel/gconf
|
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
|
|
|
|
|
|
|
|
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>
|