# New ports collection makefile for: battfink # Date created: 12 April 2003 # Whom: Joe Marcus Clarke # # $FreeBSD$ # PORTNAME= battfink PORTVERSION= 0.5 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= An energy saving preferences app for GNOME USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= gnomehack gnomeprefix libgnomeui USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure .include