1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/mail/sylpheed2/Makefile
David W. Chapman Jr. 1ae17e5d0e Update to 0.6.5
PR:		31833
Submitted by:	maintainer
2001-11-24 18:38:46 +00:00

70 lines
1.8 KiB
Makefile

# New ports collection makefile for: sylpheed
# Date created: 15 June 2000
# Whom: shigeri <shigeri@m10.alpha-net.ne.jp>
#
# $FreeBSD$
#
PORTNAME= sylpheed
PORTVERSION= 0.6.5
CATEGORIES= mail ipv6
MASTER_SITES= http://sylpheed.good-day.net/sylpheed/
MAINTAINER= lehmann@ans-netz.de
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
USE_X_PREFIX= yes
USE_IMLIB= yes
USE_LIBTOOL= yes
CONFIGURE_SCRIPT= autogen.sh
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-compface --disable-gdk-pixbuf --enable-ipv6 --prefix=${PREFIX} --with-included-gettext
.if defined(WITH_GPGME)
LIB_DEPENDS+= gpgme.4:${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}
pre-configure:
${PERL} -pi -e "s|AM_PROG_INSTALL|AC_PROG_INSTALL|g" ${WRKSRC}/aclocal.m4
if ([ ${WITH_GPGME} ] || [ -f "${LOCALBASE}/share/aclocal/gpgme.m4" ]) ; then \
${RM} -f ${WRKSRC}/ac/gpgme.m4 ; \
fi
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/sylpheed
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/sylpheed
${INSTALL_DATA} ${WRKSRC}/${i}.jp ${PREFIX}/share/doc/sylpheed
.endfor
.endif
.include <bsd.port.mk>