diff options
author | ale <ale@FreeBSD.org> | 2012-08-09 16:27:12 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2012-08-09 16:27:12 +0800 |
commit | ef590c884b3a6bb6b83123657a0b8c8ddf2bb73c (patch) | |
tree | f168d6f5292fb6c96136976cbdcd175cb411abc5 /mail | |
parent | 7e46da337552ec1ef47332cb8b926b9cc98e3aa2 (diff) | |
download | freebsd-ports-gnome-ef590c884b3a6bb6b83123657a0b8c8ddf2bb73c.tar.gz freebsd-ports-gnome-ef590c884b3a6bb6b83123657a0b8c8ddf2bb73c.tar.zst freebsd-ports-gnome-ef590c884b3a6bb6b83123657a0b8c8ddf2bb73c.zip |
Update to unified 1.4.3 release and greatly simplify the port.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/enigmail-thunderbird-esr/Makefile | 1 | ||||
-rw-r--r-- | mail/enigmail/Makefile | 70 | ||||
-rw-r--r-- | mail/enigmail/distinfo | 8 |
3 files changed, 25 insertions, 54 deletions
diff --git a/mail/enigmail-thunderbird-esr/Makefile b/mail/enigmail-thunderbird-esr/Makefile index 293e3daf02d8..ff72e3ffd191 100644 --- a/mail/enigmail-thunderbird-esr/Makefile +++ b/mail/enigmail-thunderbird-esr/Makefile @@ -5,7 +5,6 @@ # $FreeBSD$ # -PORTVERSION= 1.4 PKGNAMEPREFIX= ${GECKO}-esr- COMMENT= A GnuPG extension for the Thunderbird mail client diff --git a/mail/enigmail/Makefile b/mail/enigmail/Makefile index 350133df50dd..5246fcb6c718 100644 --- a/mail/enigmail/Makefile +++ b/mail/enigmail/Makefile @@ -6,7 +6,7 @@ # PORTNAME= enigmail -PORTVERSION?= 1.4.2 +PORTVERSION?= 1.4.3 PORTREVISION?= 0 CATEGORIES= mail security MASTER_SITES= http://www.mozilla-enigmail.org/download/source/ @@ -29,49 +29,34 @@ GECKO_PORTDIR= www/${GECKO} IGNORE= is an abstract port: use one of the slave ports .endif -GECKO_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${GECKO_PORTDIR}:${GECKO_TARGET} \ +GECKO_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${GECKO_PORTDIR}:build \ ${GECKO}:${PORTSDIR}/${GECKO_PORTDIR} \ autoconf-2.13:${PORTSDIR}/devel/autoconf213 \ gmake:${PORTSDIR}/devel/gmake \ intltool-extract:${PORTSDIR}/textproc/intltool \ - ${LOCALBASE}/libdata/pkgconfig/printproto.pc:${PORTSDIR}/x11/printproto - -.if ${PORTVERSION} == "1.1.2" -GECKO_TARGET= configure -.else -GECKO_TARGET= build -GECKO_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip \ + ${LOCALBASE}/libdata/pkgconfig/printproto.pc:${PORTSDIR}/x11/printproto \ + unzip:${PORTSDIR}/archivers/unzip \ yasm:${PORTSDIR}/devel/yasm -.endif -.if defined(GECKO_EXTDIR) GECKO_WRKSRC= ${WRKDIR}/../../../${GECKO_PORTDIR}/work/${GECKO_EXTDIR} WRKSRC= ${WRKDIR}/${GECKO_EXTDIR} -. if ${GECKO_PORTDIR:N*-esr} -MOZSRC= ${WRKSRC}/obj-${CONFIGURE_TARGET:S/amd64/x86_64/}/mozilla -. else -MOZSRC= ${WRKSRC}/mozilla -. endif +.if ${GECKO_PORTDIR:N*-esr} +MOZOBJ= ${WRKSRC}/obj-${CONFIGURE_TARGET:S/amd64/x86_64/} .else -GECKO_WRKSRC= ${WRKDIR}/../../../${GECKO_PORTDIR}/work/mozilla -WRKSRC= ${WRKDIR}/mozilla -MOZSRC= ${WRKSRC} +MOZOBJ= ${WRKSRC} .endif USE_GMAKE= yes .include <bsd.port.pre.mk> -XPI_FILE= ${MOZSRC}/dist/bin/${DISTNAME}-freebsd-${ARCH:S/amd64/x86_64/}.xpi +XPI_FILE= ${MOZOBJ}/mozilla/dist/bin/${DISTNAME}-freebsd-${ARCH:S/amd64/x86_64/}.xpi XPI_LIBDIR= ${PREFIX}/lib/xpi XPI_ORIG_ID= {847b3a00-7ab1-11d4-8f02-006008948af5} XPI_ID= ${GECKO}@mozilla-enigmail.org -XPI_ID_RFILES= ${XPI_LIBDIR}/${XPI_ID}/install.rdf -.if ${PORTVERSION} == "1.1.2" -XPI_ID_RFILES+= ${XPI_LIBDIR}/${XPI_ID}/components/enigmail.js -.else -XPI_ID_RFILES+= ${XPI_LIBDIR}/${XPI_ID}/components/enigmail.js ${XPI_LIBDIR}/${XPI_ID}/modules/enigmailCommon.jsm -.endif +XPI_ID_RFILES= ${XPI_LIBDIR}/${XPI_ID}/install.rdf \ + ${XPI_LIBDIR}/${XPI_ID}/components/enigmail.js \ + ${XPI_LIBDIR}/${XPI_ID}/modules/enigmailCommon.jsm do-extract: @${RM} -rf ${WRKDIR} @@ -88,29 +73,20 @@ pre-patch: post-patch: ${REINPLACE_CMD} "s/^XPI_MODULE_VERS = [0-9.]*/XPI_MODULE_VERS = ${PORTVERSION}/" \ ${WRKSRC}/mailnews/extensions/enigmail/Makefile.in + ${REINPLACE_CMD} "s,<em:version>[0-9.a-z]*</em:version>,<em:version>${PORTVERSION}</em:version>," \ + ${WRKSRC}/mailnews/extensions/enigmail/package/install.rdf +.if ${GECKO_PORTDIR:M*-esr} + ${REINPLACE_CMD} "s,<em:minVersion>12.0</em:minVersion>,<em:minVersion>10.0</em:minVersion>," \ + ${WRKSRC}/mailnews/extensions/enigmail/package/install.rdf +.endif do-build: -.if ${GECKO_TARGET} == "configure" - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC} tier_base - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC} tier_nspr - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC} tier_js - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC}/.. export - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC}/modules/libreg - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC}/xpcom/string - ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${MOZSRC}/xpcom -.endif -.if ${GECKO_PORTDIR:N*-esr} - cd ${WRKSRC}/mailnews/extensions/enigmail; \ - ./makemake -r -o $${objdir=${WRKSRC}/obj-${CONFIGURE_TARGET:S/amd64/x86_64/}}; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \ - -C $$objdir/mailnews/extensions/enigmail; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} xpi \ - -C $$objdir/mailnews/extensions/enigmail -.else - cd ${WRKSRC}/mailnews/extensions/enigmail && ./makemake -r - cd ${WRKSRC}/mailnews/extensions/enigmail && ${SETENV} ${MAKE_ENV} ${GMAKE} - cd ${WRKSRC}/mailnews/extensions/enigmail && ${SETENV} ${MAKE_ENV} ${GMAKE} xpi -.endif + cd ${WRKSRC}/mailnews/extensions/enigmail && \ + ./makemake -r -o ${MOZOBJ} && \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \ + -C ${MOZOBJ}/mailnews/extensions/enigmail && \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} xpi \ + -C ${MOZOBJ}/mailnews/extensions/enigmail do-install: @${MKDIR} ${XPI_LIBDIR}/${XPI_ID} ${XPI_LIBDIR}/symlinks/${GECKO} diff --git a/mail/enigmail/distinfo b/mail/enigmail/distinfo index ff7f59a6c5a8..6ff43a391b3e 100644 --- a/mail/enigmail/distinfo +++ b/mail/enigmail/distinfo @@ -1,6 +1,2 @@ -SHA256 (enigmail-1.1.2.tar.gz) = dd6206f6622081b595d7bde7aaa8f63ca2c3f9db2acd13c751c7dd941def9e41 -SIZE (enigmail-1.1.2.tar.gz) = 1280923 -SHA256 (enigmail-1.4.tar.gz) = c63990dad45d6bce3e691f75aa226a203f6fbbc2397415df72b289230e2c982a -SIZE (enigmail-1.4.tar.gz) = 1323467 -SHA256 (enigmail-1.4.2.tar.gz) = df463620f47a30d2a0e1634793b41a285e1a2c861b024e1a57c9d91cf6bf3581 -SIZE (enigmail-1.4.2.tar.gz) = 1319995 +SHA256 (enigmail-1.4.3.tar.gz) = 440035f19a22e8e234c530a0e78fb9ee74bb934fcf721777868de79324636d27 +SIZE (enigmail-1.4.3.tar.gz) = 1337811 |