2000-08-10 01:29:47 +02:00
|
|
|
# New ports collection makefile for: battstat_applet
|
|
|
|
# Date created: 17 July 2000
|
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= battstat-applet
|
|
|
|
PORTVERSION= 2.0.4
|
2000-08-10 01:29:47 +02:00
|
|
|
CATEGORIES= sysutils gnome
|
|
|
|
MASTER_SITES= http://spektr.eu.org/~jp/battstat/
|
|
|
|
DISTNAME= battstat_applet-${PORTVERSION}
|
|
|
|
|
2001-04-16 19:25:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-08-10 01:29:47 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2000-10-05 09:17:31 +02:00
|
|
|
|
2000-08-10 01:29:47 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-10-05 09:17:31 +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'
|
2000-08-10 01:29:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|