2000-07-25 04:40:59 -04:00
|
|
|
# Ports collection Makefile for: gtm
|
|
|
|
# Date created: 05/28/1999
|
|
|
|
# Whom: nectar@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtm
|
2001-04-17 12:30:01 -04:00
|
|
|
PORTVERSION= 0.4.9
|
2000-07-25 04:40:59 -04:00
|
|
|
CATEGORIES= ftp gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
2000-10-05 03:10:50 -04:00
|
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
2000-07-25 04:40:59 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
2000-07-25 04:40:59 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-07-25 04:40:59 -04:00
|
|
|
|
2001-04-17 12:30:01 -04:00
|
|
|
MAN1= gtm.1 gtm_applet.1
|
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-07-25 04:40:59 -04:00
|
|
|
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>
|