summaryrefslogblamecommitdiffstats
path: root/sysutils/battfink/Makefile
blob: f4147411beda3bfb7b275edf5e3c6ecba259bc1b (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                      
                   




















                                                                           
# New ports collection makefile for:    battfink
# Date created:         12 April 2003
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   battfink
PORTVERSION=    0.4
CATEGORIES= sysutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    An energy saving preferences app for GNOME

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 <bsd.port.mk>