freebsd-ports/mail/davmail/Makefile
Dmitry Marakasov e76d4ae958 - Update to 4.7.3
from releasenotes.txt:

** DavMail 4.7.3 released **
Another bugfix release, mostly from user feedback. Also improve Windows installer to let users
choose whether they want to run DavMail automatically at logon.

Enhancement:
- Improve windows installer, make auto start at logon optional
- Update release guide with opensuse build env
- update icon cache
- Update winrun4j wrappers icon to 128x128

EWS:
- EWS: workaround for invalid cookie domain on Office365

DAV:
- DAV: merge patch from #232 Outlook-created appt does not go through. OWA-created one does

IMAP:
- IMAP: additional fix for #626, workaround for from: header not searchable over EWS
- IMAP: fix for #626, workaround for to: header not searchable over EWS

SMTP:
- SMTP: Merge patch 627 by Peter Chubb, server returns incorrect code on authentication failure

PR:             214900
Submitted by:   z7dr6ut7gs@snkmail.com
Approved by:    john.c.prather@gmail.com (maintainer)
2016-12-19 09:50:20 +00:00

61 lines
1.7 KiB
Makefile

# Created by: John Prather
# $FreeBSD$
PORTNAME= davmail
PORTVERSION= 4.7.3
CATEGORIES= mail java
MASTER_SITES= SF/davmail/davmail/${PORTVERSION}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-${REVISION}
MAINTAINER= john.c.prather@gmail.com
COMMENT= POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
LICENSE= GPLv2
USES= dos2unix tar:tgz
DOS2UNIX_FILES= build.xml
NO_ARCH= yes
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
ALL_TARGET= release
REVISION= 2438 # 4.7.3
# port build number, same as on DISTNAME
MAKE_ARGS= -Drevision=${REVISION}
MAKE_ENV+= "ANT_OPTS=-Dfile.encoding=UTF-8"
USERS= davmail
GROUPS= davmail
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
USE_RC_SUBR= davmail
SUB_FILES= davmail.sh
post-patch:
@${REINPLACE_CMD} -e 's#exec=\"davmail\"#exec=\"${PREFIX}/bin/davmail\"#' \
-e 's#icon=\"/usr/share/davmail/davmail.png\"#icon=\"${DATADIR}/davmail.png\"#' \
${WRKSRC}/build.xml
do-install:
@cd ${WRKSRC}/dist && ${FIND} . -type d \
-exec ${MKDIR} ${STAGEDIR}${DATADIR}/\{} \;
@cd ${WRKSRC}/dist && ${FIND} . -type f \
-not -name "*.deb" \
-not -name "*.md5" \
-not -name "*.MD5" \
-not -name "*.tgz" \
-not -name "*.exe" \
-not -name "swt-*.jar" \
-not -name "*.zip" \
-not -name "*.war" \
-not -name "*.rpm" \
-not -name "*.desktop" \
-exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \;
@${FIND} ${STAGEDIR}/${DATADIR} -depth -empty -type d -delete
${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${STAGEDIR}${PREFIX}/bin/davmail
${INSTALL_DATA} ${WRKSRC}/src/etc/davmail.properties \
${STAGEDIR}${PREFIX}/etc/davmail.properties.sample
${INSTALL_DATA} ${WRKSRC}/dist/davmail.desktop ${STAGEDIR}${PREFIX}/share/applications/
.include <bsd.port.mk>