1999-10-14 01:06:54 -04:00
|
|
|
# New ports collection makefile for: eog
|
|
|
|
# Date created: 5th October 1999
|
|
|
|
# Whom: Ade Lovett <ade@lovett.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 02:28:28 -04:00
|
|
|
PORTNAME= eog
|
2000-04-21 12:08:37 -04:00
|
|
|
PORTVERSION= 0.3
|
1999-10-14 01:06:54 -04:00
|
|
|
CATEGORIES= graphics gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2000-04-21 12:08:37 -04:00
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/eog
|
1999-10-14 01:06:54 -04:00
|
|
|
|
2000-02-07 11:57:44 -05:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-10-14 01:06:54 -04:00
|
|
|
|
2000-06-01 12:25:45 -04:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-04-21 12:08:37 -04:00
|
|
|
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
2000-06-26 12:14:32 -04:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
|
1999-10-14 01:06:54 -04:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-04-21 12:08:37 -04:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-06-09 17:43:10 -04:00
|
|
|
--datadir=${PREFIX}/share/gnome \
|
|
|
|
--without-bonobo
|
1999-10-14 01:06:54 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2000-08-03 21:34:38 -04: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 01:06:54 -04:00
|
|
|
.include <bsd.port.mk>
|