1998-09-30 09:49:17 -04:00
|
|
|
# New ports collection makefile for: libgtop
|
|
|
|
# Date Created: 26 Sep 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1998-09-30 09:49:17 -04:00
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1998-09-30 09:49:17 -04:00
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= libgtop
|
2001-05-04 17:39:58 -04:00
|
|
|
PORTVERSION= 1.0.12
|
1999-01-31 14:03:49 -05:00
|
|
|
CATEGORIES= devel gnome
|
1999-02-24 20:17:23 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 14:08:13 -05:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/libgtop
|
1998-09-30 09:49:17 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-09-30 09:49:17 -04:00
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
|
1999-01-31 14:03:49 -05:00
|
|
|
|
1999-03-08 20:13:40 -05:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOMELIBS= yes
|
1999-05-29 23:45:40 -04:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-16 04:48:22 -04:00
|
|
|
|
1999-05-29 23:45:40 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-30 09:49:17 -04:00
|
|
|
|
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-08-03 21:19:21 -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'
|
|
|
|
|
2000-06-01 12:10:38 -04:00
|
|
|
post-install:
|
|
|
|
install-info --section="Programming \& development tools" \
|
|
|
|
--entry="* libgtop: (libgtop). libgtop programming manual" \
|
|
|
|
${PREFIX}/info/libgtop.info ${PREFIX}/info/dir
|
|
|
|
|
1998-09-30 09:49:17 -04:00
|
|
|
.include <bsd.port.mk>
|