pkgsrc/mail/thunderbird/enigmail.mk
tnn 13073dcae1 Update to thunderbird-8.0 and enigmail-1.3.3.
8.0 changes:
    Thunderbird is based on the new Mozilla Gecko 8 engine
    Add-ons installed by third party programs are now disabled by default
    New Search and Find Shortcuts
    Improved accessibility of the attachment list
    Folder switching pane widget has been removed, can be added back with the
      Folder Pane View Switcher Add-on
    Numerous platform fixes to stability
    Fixed several security issues

7.0 changes:
    Thunderbird is based on the new Mozilla Gecko 7 engine
    Several user interface fixes and improvements
    Several fixes to attachment handling
    Ability to print a summary of selected email messages
    Platform improvements to Address Book
    Fixed several security issues
    Numerous platform fixes that improve speed, performance and stability
2011-11-13 16:59:58 +00:00

43 lines
1.5 KiB
Makefile

# $NetBSD: enigmail.mk,v 1.4 2011/11/13 16:59:58 tnn Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
ENIGMAIL_DIST= enigmail-1.3.3.tar.gz
XPI_FILES+= ${WRKDIR}/enigmail.xpi
.if !defined(DISTFILES)
DISTFILES= ${DEFAULT_DISTFILES}
.endif
DISTFILES+= ${ENIGMAIL_DIST}
SITES.${ENIGMAIL_DIST}= http://www.mozilla-enigmail.org/download/source/
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
PLIST_SRC+= PLIST.enigmail
TARGET_XPCOM_ABI= ${MACHINE_ARCH:S/i386/x86/}-gcc3
PLIST_SUBST+= TARGET_XPCOM_ABI=${TARGET_XPCOM_ABI}
post-extract: enigmail-post-extract
.PHONY: enigmail-post-extract
enigmail-post-extract:
${RUN} mv ${WRKDIR}/enigmail ${WRKSRC}/mailnews/extensions/
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure
enigmail-post-configure:
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${SETENV} ${CONFIGURE_ENV} ${PERL5} ./makemake -r
# We need to do a switcheroo of the dist directory while building enigmail;
# otherwise we get extra files contamination in the PLIST.
post-build: enigmail-post-build
.PHONY: enigmail-post-build
enigmail-post-build:
${RUN} cd ${WRKSRC}/mozilla/dist && pax -rwpe . ../dist.save
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi
${CP} ${WRKSRC}/mozilla/dist/bin/enigmail*.xpi \
${WRKDIR}/enigmail.xpi
${RUN} rm -rf ${WRKSRC}/mozilla/dist
${RUN} cd ${WRKSRC}/mozilla/dist.save && pax -rwpe . ../dist