1999-10-14 05:06:54 +00:00
|
|
|
# New ports collection makefile for: eog
|
|
|
|
# Date created: 5th October 1999
|
|
|
|
# Whom: Ade Lovett <ade@lovett.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 06:28:28 +00:00
|
|
|
PORTNAME= eog
|
2000-09-05 17:21:46 +00:00
|
|
|
PORTVERSION= 0.5
|
1999-10-14 05:06:54 +00:00
|
|
|
CATEGORIES= graphics gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2000-04-21 16:08:37 +00:00
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/eog
|
1999-10-14 05:06:54 +00:00
|
|
|
|
2000-02-07 16:57:44 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-10-14 05:06:54 +00:00
|
|
|
|
2000-08-21 14:59:36 +00:00
|
|
|
LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \
|
|
|
|
glade.4:${PORTSDIR}/devel/libglade \
|
|
|
|
bonobo.2:${PORTSDIR}/devel/bonobo \
|
|
|
|
gconf-1.0:${PORTSDIR}/devel/gconf
|
1999-10-14 05:06:54 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-04-21 16:08:37 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-08-21 14:59:36 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome
|
1999-10-14 05:06:54 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|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'
|
|
|
|
|
1999-10-14 05:06:54 +00:00
|
|
|
.include <bsd.port.mk>
|