# New ports collection makefile for: etherape # Date created: 4 April 2001 # Whom: Holger Lamm # # $FreeBSD$ # PORTNAME= etherape PORTVERSION= 0.8.2 PORTREVISION= 2 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= petef@FreeBSD.org LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext USE_GNOME= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAN1= etherape.1 CFLAGS+= `${X11BASE}/bin/libglade-config --cflags` pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ 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' @${PERL} -pi -e 's!^confdir = .*!confdir = ${PREFIX}/share/etherape!' \ ${WRKSRC}/Makefile.in .include