1998-09-30 13:49:17 +00:00
|
|
|
# New ports collection makefile for: libgtop
|
|
|
|
# Date Created: 26 Sep 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1998-09-30 13:49:17 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-09-30 13:49:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= libgtop
|
2000-11-20 17:29:05 +00:00
|
|
|
PORTVERSION= 1.0.10
|
2000-12-28 02:35:34 +00:00
|
|
|
PORTREVISION= 3
|
1999-01-31 19:03:49 +00:00
|
|
|
CATEGORIES= devel gnome
|
1999-02-25 01:17:23 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/libgtop
|
1998-09-30 13:49:17 +00:00
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-09-30 13:49:17 +00:00
|
|
|
|
2000-10-05 07:10:50 +00:00
|
|
|
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
|
1999-01-31 19:03:49 +00:00
|
|
|
|
1999-03-09 01:13:40 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
USE_GNOMELIBS= yes
|
1999-05-30 03:45:40 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-16 08:48:22 +00:00
|
|
|
|
1999-05-30 03:45:40 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-30 13:49:17 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:19:21 +00:00
|
|
|
@${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'
|
|
|
|
|
2000-06-01 16:10:38 +00: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 13:49:17 +00:00
|
|
|
.include <bsd.port.mk>
|