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$
|
2006-04-30 02:47:21 +02:00
|
|
|
# $MCom: ports/devel/libgtop2/Makefile,v 1.70 2006/04/15 05:49:08 marcus Exp $
|
1998-09-30 15:49:17 +02:00
|
|
|
#
|
|
|
|
|
2006-05-28 07:04:56 +02:00
|
|
|
PORTNAME= libgtop
|
2006-07-28 08:41:30 +02:00
|
|
|
PORTVERSION= 2.14.2
|
1999-01-31 20:03:49 +01:00
|
|
|
CATEGORIES= devel gnome
|
1999-02-25 02:17:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-05-28 07:04:56 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
2002-05-09 00:19:41 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-05-16 07:46:01 +02:00
|
|
|
COMMENT= GNOME 2 top library
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2003-10-23 21:41:20 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
2002-05-09 00:19:41 +02:00
|
|
|
USE_BZIP2= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_PERL5_BUILD=yes
|
|
|
|
USE_GETTEXT= yes
|
2004-04-05 05:11:39 +02:00
|
|
|
USE_X_PREFIX= yes
|
1999-03-09 02:13:40 +01:00
|
|
|
USE_GMAKE= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_GNOME= gnomehack glib20 ltverhack
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
1999-05-30 05:45:40 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-05-16 07:46:01 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2003-08-14 00:59:24 +02:00
|
|
|
INFO= libgtop2
|
|
|
|
|
2005-06-10 05:17:18 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 600000
|
|
|
|
PKGMESSAGE= ${FILESDIR}/pkg-message
|
2005-11-05 05:53:48 +01:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-67-patch-sysdeps_freebsd_Makefile.in
|
2005-06-10 05:17:18 +02:00
|
|
|
.endif
|
|
|
|
|
2004-07-14 16:09:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|int64_t|gint64|g' \
|
|
|
|
${WRKSRC}/include/glibtop/command.h \
|
|
|
|
${WRKSRC}/include/glibtop/proclist.h \
|
|
|
|
${WRKSRC}/lib/lib.pl
|
|
|
|
|
2000-06-01 18:10:38 +02:00
|
|
|
post-install:
|
2002-05-09 07:52:01 +02:00
|
|
|
@${CHGRP} kmem ${PREFIX}/bin/libgtop_server2
|
|
|
|
@${CHMOD} 2555 ${PREFIX}/bin/libgtop_server2
|
2005-06-10 05:17:18 +02:00
|
|
|
.if ${OSVERSION} >= 600000
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2000-06-01 18:10:38 +02:00
|
|
|
|
2005-06-10 05:17:18 +02:00
|
|
|
.include <bsd.port.post.mk>
|