diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-12 14:58:54 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-12 14:58:54 +0800 |
commit | 9920214eaf05c1c44e0fcbb11716eec962882cd5 (patch) | |
tree | acf49de2f51cfeb400c5ea470d49f14fea2705a5 /mail | |
parent | 0526ce0d19ca44e99a3a2be99bc2327b20896302 (diff) | |
download | marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar.gz marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar.bz2 marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar.lz marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar.xz marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.tar.zst marcuscom-ports-9920214eaf05c1c44e0fcbb11716eec962882cd5.zip |
Use OPTIONS.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2041 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution/Makefile | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 3edefa654..e93de93cd 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -16,14 +16,7 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= An integrated mail, calendar and address book distributed suite LIB_DEPENDS= nss3.1:${PORTSDIR}/security/nss - RUN_DEPENDS= ${X11BASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnomespell -.if defined(WITH_PILOT) -LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnomepilot2 -.endif -.if !defined(WITHOUT_SPAMASSASSIN) -RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin -.endif USE_BZIP2= yes USE_GMAKE= yes @@ -40,38 +33,40 @@ CONFIGURE_ARGS= --enable-nss=yes \ --enable-openssl=no \ --with-sub-version="FreeBSD GNOME Team Port" \ --with-krb5=/usr +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="${PTHREAD_LIBS}" \ + LDFLAGS="-L${LOCALBASE}/lib" EVO_VERSION= 1.5 +PLIST_SUB= VERSION=${EVO_VERSION} -.if !defined(WITHOUT_LDAP) -USE_OPENLDAP= yes -CONFIGURE_ARGS+=--with-openldap=${LOCALBASE} -.else -CONFIGURE_ARGS+=--with-openldap=no -.endif +OPTIONS= PILOT "Enable Palm Pilot sync support" off \ + LDAP "Enable LDAP support" on \ + SPAMASSASSIN "Enable SpamAssassin spam filtering" on + +.include <bsd.port.pre.mk> .if defined(WITH_PILOT) +LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnomepilot2 CONFIGURE_ARGS+= --with-pisock=${LOCALBASE} \ --enable-pilot-conduits=yes PLIST_SUB= PILOT:="" .else PLIST_SUB= PILOT:="@comment " .endif -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="${PTHREAD_LIBS}" \ - LDFLAGS="-L${LOCALBASE}/lib" -PLIST_SUB+= VERSION=${EVO_VERSION} +.if !defined(WITHOUT_LDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+=--with-openldap=${LOCALBASE} +.else +CONFIGURE_ARGS+=--with-openldap=no +.endif -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "evolution has the following configurable option(s):" - @${ECHO_MSG} " WITH_PILOT Build Palm Pilot sync support" - @${ECHO_MSG} " WITHOUT_LDAP Disable LDAP support" - @${ECHO_MSG} " WITHOUT_SPAMASSASSIN Do not add a runtime dependency on SpamAssassin (Evo uses SpamAssassin for spam filtering)" - @${ECHO_MSG} "" +.if !defined(WITHOUT_SPAMASSASSIN) +RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin +.endif post-install: @${CHMOD} u+w ${PREFIX}/share/gnome/evolution/${EVO_VERSION}/default/C/mail/local/Inbox -.include <bsd.port.mk> +.include <bsd.port.post.mk> |