2000-06-29 21:33:26 +02:00
|
|
|
# New ports collection makefile for: evolution
|
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= evolution
|
2001-10-01 08:40:03 +02:00
|
|
|
PORTVERSION= 0.14
|
2000-06-29 21:33:26 +02:00
|
|
|
CATEGORIES= mail gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/evolution
|
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 21:33:26 +02:00
|
|
|
|
2001-10-01 08:40:03 +02:00
|
|
|
LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf
|
2001-09-04 20:53:13 +02:00
|
|
|
#ldap.1:${PORTSDIR}/net/openldap <- avoid extra dependency until
|
2001-06-19 11:43:08 +02:00
|
|
|
# it actually works
|
2000-12-08 22:12:35 +01:00
|
|
|
|
2001-09-04 20:53:13 +02:00
|
|
|
#BROKEN= "Out of sync with latest gal"
|
2001-07-17 17:54:02 +02:00
|
|
|
|
2000-06-29 21:33:26 +02:00
|
|
|
USE_GMAKE= yes
|
2001-05-16 17:59:21 +02:00
|
|
|
USE_BISON= yes
|
2000-06-29 21:33:26 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GNOME= yes
|
2001-10-01 08:40:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-09-04 20:53:13 +02:00
|
|
|
CONFIGURE_ARGS= --with-db3-libs=${LOCALBASE}/lib \
|
|
|
|
--with-html-dir=${PREFIX}/share/gnome/html
|
|
|
|
# --with-pisock=${LOCALBASE}/pilot --enable-pilot-conduits=yes
|
2000-06-29 21:33:26 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:29:57 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-09-11 20:14:12 +02:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-08-04 03:29:57 +02:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
2001-09-04 20:53:13 +02:00
|
|
|
@find ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l '[^g]iconv.h' | \
|
|
|
|
xargs ${PERL} -pi -e 's|([^g])iconv.h|\1giconv.h|g'
|
|
|
|
@find ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l '<db.h>' | \
|
|
|
|
xargs ${PERL} -pi -e 's|<db.h>|<db3/db.h>|g'
|
|
|
|
@find ${WRKSRC} -type f -name "*.[ch]" | xargs ${GREP} -l 'wrong DB3' | \
|
|
|
|
xargs ${PERL} -pi -e 's|.*wrong DB3.*||'
|
2000-08-04 03:29:57 +02:00
|
|
|
|
2000-06-29 21:33:26 +02:00
|
|
|
.include <bsd.port.mk>
|