2001-04-07 07:39:16 +02:00
|
|
|
# New ports collection makefile for: etherape
|
|
|
|
# Date created: 4 April 2001
|
|
|
|
# Whom: Holger Lamm <holger@eit.uni-kl.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= etherape
|
2001-08-13 14:48:44 +02:00
|
|
|
PORTVERSION= 0.8.2
|
2002-05-13 14:25:27 +02:00
|
|
|
PORTREVISION= 2
|
2001-04-07 07:39:16 +02:00
|
|
|
CATEGORIES= net gnome
|
2001-07-22 06:39:26 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-04-07 07:39:16 +02:00
|
|
|
|
2001-08-23 01:07:23 +02:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2001-04-07 07:39:16 +02:00
|
|
|
|
2002-04-12 19:10:20 +02:00
|
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
2001-07-22 06:39:26 +02:00
|
|
|
|
2001-05-04 23:41:30 +02:00
|
|
|
USE_GNOME= yes
|
2001-07-22 06:39:26 +02:00
|
|
|
USE_X_PREFIX= yes
|
2002-05-13 14:25:27 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-07-22 06:39:26 +02:00
|
|
|
|
|
|
|
MAN1= etherape.1
|
2001-04-07 07:39:16 +02:00
|
|
|
|
2002-03-26 08:35:08 +01:00
|
|
|
CFLAGS+= `${X11BASE}/bin/libglade-config --cflags`
|
|
|
|
|
2002-05-13 14:25:27 +02:00
|
|
|
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'
|
2001-07-22 06:39:26 +02:00
|
|
|
@${PERL} -pi -e 's!^confdir = .*!confdir = ${PREFIX}/share/etherape!' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2001-04-07 07:39:16 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|