2002-05-09 00:19:41 +02:00
|
|
|
# New ports collection makefile for: libgtop2
|
|
|
|
# Date Created: 29 April 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1998-09-30 15:49:17 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1998-09-30 15:49:17 +02:00
|
|
|
#
|
|
|
|
|
2002-05-09 00:19:41 +02:00
|
|
|
PORTNAME= libgtop2
|
2002-06-15 11:05:13 +02:00
|
|
|
PORTVERSION= 2.0.0
|
2002-08-26 17:36:59 +02:00
|
|
|
PORTREVISION= 1
|
1999-01-31 20:03:49 +01:00
|
|
|
CATEGORIES= devel gnome
|
1999-02-25 02:17:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-07-01 00:20:44 +02:00
|
|
|
MASTER_SITE_SUBDIR= 2.0.0/releases/gnome-2.0-desktop-final
|
2002-05-09 00:19:41 +02:00
|
|
|
DISTNAME= libgtop-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= gnome2
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2002-05-09 00:19:41 +02:00
|
|
|
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20
|
1999-01-31 20:03:49 +01:00
|
|
|
|
2002-05-09 00:19:41 +02:00
|
|
|
USE_BZIP2= yes
|
1999-03-09 02:13:40 +01:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
2002-07-11 17:11:42 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-05-09 00:19:41 +02:00
|
|
|
USE_LIBTOOL= yes
|
1999-05-30 05:45:40 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2002-05-09 00:19:41 +02:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2002-07-11 17:11:42 +02:00
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
|
|
|
|
's|[(]datadir[)]/gnome/|(datadir)/|g ; \
|
|
|
|
s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
|
|
|
|
s|[(]datadir[)]/locale|(prefix)/share/locale|g'
|
2000-08-04 03:19:21 +02:00
|
|
|
|
2000-06-01 18:10:38 +02:00
|
|
|
post-install:
|
|
|
|
install-info --section="Programming \& development tools" \
|
2002-05-09 00:19:41 +02:00
|
|
|
--entry="* libgtop2: (libgtop2). libgtop2 programming manual" \
|
|
|
|
${PREFIX}/info/libgtop2.info ${PREFIX}/info/dir
|
2002-05-09 07:52:01 +02:00
|
|
|
@${CHGRP} kmem ${PREFIX}/bin/libgtop_server2
|
|
|
|
@${CHMOD} 2555 ${PREFIX}/bin/libgtop_server2
|
2000-06-01 18:10:38 +02:00
|
|
|
|
1998-09-30 15:49:17 +02:00
|
|
|
.include <bsd.port.mk>
|