1999-02-02 15:19:19 +01:00
|
|
|
# New ports collection makefile for: gtop
|
|
|
|
# Date created: 28 September 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-10 15:44:01 +02:00
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1998-10-10 15:44:01 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= gtop
|
2001-05-04 23:39:58 +02:00
|
|
|
PORTVERSION= 1.0.13
|
1999-02-02 15:19:19 +01:00
|
|
|
CATEGORIES= sysutils gnome
|
1999-03-09 02:13:40 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 20:08:13 +01:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gtop
|
1998-10-10 15:44:01 +02:00
|
|
|
|
2000-01-07 03:07:00 +01:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-10-10 15:44:01 +02:00
|
|
|
|
2000-10-05 09:17:31 +02:00
|
|
|
LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop
|
1999-05-30 05:46:25 +02:00
|
|
|
|
1998-10-10 15:44:01 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GNOME= yes
|
1999-05-30 05:46:25 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-10-10 15:44:01 +02:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02: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'
|
|
|
|
|
1998-10-10 15:44:01 +02:00
|
|
|
.include <bsd.port.mk>
|