summaryrefslogtreecommitdiff
path: root/mail/evolution
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-12-17 11:34:52 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-12-17 11:34:52 +0000
commit7b632d55dd4cc4349fa2382a67208df33c56930b (patch)
treea607220317f57b1f14c8053f2aee7a0ef9f12cbf /mail/evolution
parentMake Pilot support "on" by default, so that package build on bento will (diff)
Make pilot support optional (controllable via WITHOUT_PILOT make(1) variable).
Submitted by: roam
Notes
Notes: svn path=/head/; revision=51657
Diffstat (limited to 'mail/evolution')
-rw-r--r--mail/evolution/Makefile16
-rw-r--r--mail/evolution/pkg-plist18
2 files changed, 21 insertions, 13 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 2cdcccd564e9..1d4c29671251 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -17,11 +17,13 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER= gnome@FreeBSD.org
-BUILD_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf
#ldap.1:${PORTSDIR}/net/openldap <- avoid extra dependency until
# it actually works
+.if !defined(WITHOUT_PILOT)
+BUILD_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
RUN_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
+.endif
#BROKEN= "Out of sync with latest gal"
@@ -35,12 +37,18 @@ CONFIGURE_ARGS= --with-db3-libs=${DB3_WRKSRC} \
--with-db3-includes=${DB3_WRKSRC} \
--with-html-dir=${PREFIX}/share/gnome/html \
--with-openssl-includes=${OPENSSLBASE}/include \
- --with-openssl-libs=${OPENSSLBASE}/lib \
- --with-pisock=${LOCALBASE}/pilot --enable-pilot-conduits=yes
+ --with-openssl-libs=${OPENSSLBASE}/lib
+.if !defined(WITHOUT_PILOT)
+CONFIGURE_ARGS+= --with-pisock=${LOCALBASE}/pilot \
+ --enable-pilot-conduits=yes
+PLIST_SUB= PILOT:=""
+.else
+PLIST_SUB= PILOT:="@comment "
+.endif
CONFIGURE_ENV= CPPFLAGS="-I${DB3_WRKSRC} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-PLIST_SUB= VERSION=${PORTVERSION}
+PLIST_SUB+= VERSION=${PORTVERSION}
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
diff --git a/mail/evolution/pkg-plist b/mail/evolution/pkg-plist
index e85d67f3b44a..49db87dd3586 100644
--- a/mail/evolution/pkg-plist
+++ b/mail/evolution/pkg-plist
@@ -198,12 +198,12 @@ lib/evolution/evolution-mail-importers/%%VERSION%%/libmbox.so.0
lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.a
lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.so
lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.so.0
-lib/gnome-pilot/conduits/libeaddress_conduit.a
-lib/gnome-pilot/conduits/libeaddress_conduit.so
-lib/gnome-pilot/conduits/libecalendar_conduit.a
-lib/gnome-pilot/conduits/libecalendar_conduit.so
-lib/gnome-pilot/conduits/libetodo_conduit.a
-lib/gnome-pilot/conduits/libetodo_conduit.so
+%%PILOT:%%lib/gnome-pilot/conduits/libeaddress_conduit.a
+%%PILOT:%%lib/gnome-pilot/conduits/libeaddress_conduit.so
+%%PILOT:%%lib/gnome-pilot/conduits/libecalendar_conduit.a
+%%PILOT:%%lib/gnome-pilot/conduits/libecalendar_conduit.so
+%%PILOT:%%lib/gnome-pilot/conduits/libetodo_conduit.a
+%%PILOT:%%lib/gnome-pilot/conduits/libetodo_conduit.so
lib/libcal-client.a
lib/libcal-client.so
lib/libcal-client.so.0
@@ -322,9 +322,9 @@ share/gnome/evolution/views/mail/galview.xml
share/gnome/evolution/views/tasks/Tasks.galview
share/gnome/evolution/views/tasks/With_Category.galview
share/gnome/evolution/views/tasks/galview.xml
-share/gnome/gnome-pilot/conduits/e-address.conduit
-share/gnome/gnome-pilot/conduits/e-calendar.conduit
-share/gnome/gnome-pilot/conduits/e-todo.conduit
+%%PILOT:%%share/gnome/gnome-pilot/conduits/e-address.conduit
+%%PILOT:%%share/gnome/gnome-pilot/conduits/e-calendar.conduit
+%%PILOT:%%share/gnome/gnome-pilot/conduits/e-todo.conduit
share/gnome/help/evolution/C/apx-gloss.html
share/gnome/help/evolution/C/authors.html
share/gnome/help/evolution/C/bugs.html