diff options
Diffstat (limited to 'mail/sylpheed3/Makefile')
-rw-r--r-- | mail/sylpheed3/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile index 840d0b4d297a..787fa7ab8742 100644 --- a/mail/sylpheed3/Makefile +++ b/mail/sylpheed3/Makefile @@ -7,6 +7,7 @@ PORTNAME= sylpheed PORTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= http://sylpheed.good-day.net/sylpheed/ @@ -20,8 +21,34 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-compface --disable-gdk-pixbuf --enable-ipv6 +.if defined(WITH_GPGME) +LIB_DEPENDS+= gpgme.3:${PORTSDIR}/security/gpgme +RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg +CONFIGURE_ARGS+=--enable-gpgme +.endif +.if !defined(WITHOUT_SSL) +USE_OPENSSL= yes +CONFIGURE_ARGS+=--enable-ssl +.endif + PORTDOCS= ChangeLog INSTALL README TODO +pre-extract: +.if defined(WITH_GPGME) + @${ECHO_MSG} + @${ECHO_MSG} "WARNING: GnuPG support using GPGME is still experimental." +.else + @${ECHO_MSG} + @${ECHO_MSG} "You can enable GnuPG support using GPGME by defining WITH_GPGME." + @${ECHO_MSG} "WARNING: GnuPG support is still experimental." +.endif +.if !defined(WITHOUT_SSL) + @${ECHO_MSG} + @${ECHO_MSG} "You can disable OpenSSL support by defining WITHOUT_SSL." +.endif + @${ECHO_MSG} + + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/sylpheed |