diff options
author | wiz <wiz@pkgsrc.org> | 2019-09-13 17:20:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-09-13 17:20:41 +0000 |
commit | 120639192341eba36340a20790a37eca64e75c59 (patch) | |
tree | 61dc2601ab841d77b1c96bc2bde38049e896eb6d /mail | |
parent | 3ca5db7480715752fb84050cd5cd3a761a5518af (diff) | |
download | pkgsrc-120639192341eba36340a20790a37eca64e75c59.tar.gz |
thunderbird-enigmail: merge Makefile.common into Makefile
No other user of Makefile.common left.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird-enigmail/Makefile | 49 | ||||
-rw-r--r-- | mail/thunderbird-enigmail/Makefile.common | 51 |
2 files changed, 45 insertions, 55 deletions
diff --git a/mail/thunderbird-enigmail/Makefile b/mail/thunderbird-enigmail/Makefile index 573b6a62a4e..410246100fe 100644 --- a/mail/thunderbird-enigmail/Makefile +++ b/mail/thunderbird-enigmail/Makefile @@ -1,11 +1,15 @@ -# $NetBSD: Makefile,v 1.10 2019/08/11 13:21:42 wiz Exp $ - -PKGREVISION= 1 -.include "Makefile.common" +# $NetBSD: Makefile,v 1.11 2019/09/13 17:20:41 wiz Exp $ +DISTNAME= enigmail-2.0.12 PKGNAME= thunderbird-${DISTNAME} +PKGREVISION= 1 +CATEGORIES= mail security +MASTER_SITES= http://www.enigmail.net/download/source/ + MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.enigmail.net/ COMMENT= GnuPG support for mail/thunderbird +LICENSE= (mpl-1.1 OR gnu-gpl-v2 OR gnu-lgpl-v2.1) AND mpl-2.0 # Minimal requirements are here: https://www.enigmail.net/download/source.php DEPENDS+= thunderbird>=38:../../mail/thunderbird @@ -13,4 +17,41 @@ DEPENDS+= thunderbird>=38:../../mail/thunderbird # Path used during the install stage XPIDIR= ${PREFIX}/lib/thunderbird/extensions +USE_TOOLS+= gmake perl sed unzip zip + +# It doesn't work -- noted also here: +# https://aur.archlinux.org/packages/th/thunderbird-enigmail/PKGBUILD +MAKE_JOBS_SAFE= no + +DEPENDS+= gnupg2>=2.0.7:../../security/gnupg2 +DEPENDS+= pinentry-gtk2-[0-9]*:../../security/pinentry-gtk2 + +REPLACE_PERL+= util/fixlang.pl +REPLACE_PERL+= util/make-lang-xpi.pl + +PYTHON_VERSIONS_ACCEPTED= 27 # as of 1.8.2 +REPLACE_PYTHON+= util/checkFiles.py +REPLACE_PYTHON+= util/header.py +REPLACE_PYTHON+= util/typelib.py +REPLACE_PYTHON+= util/header.py +REPLACE_PYTHON+= util/xpidl.py +REPLACE_PYTHON+= util/xpt.py + +WRKSRC= ${WRKDIR}/enigmail +GNU_CONFIGURE= yes + +ENIGMAILXPI= enigmail-${PKGVERSION_NOREV}.xpi +XPIFILE= ${WRKSRC}/build/${ENIGMAILXPI} + +# Build instructions: https://www.enigmail.net/download/build_instructions.php +# Installation of extensions: http://kb.mozillazine.org/Installing_extensions +# Model installation: https://aur.archlinux.org/packages/th/thunderbird-enigmail/PKGBUILD +do-install: + ${RUN} EMID=`${SED} -n '/.*<em:id>\\(.*\\)<\\/em:id>.*/{s//\\1/p;q;}' \ + ${WRKSRC}/package/install.rdf` && \ + ${INSTALL_DATA_DIR} ${DESTDIR}${XPIDIR}/"$$EMID" && \ + unzip -d ${DESTDIR}${XPIDIR}/"$$EMID" \ + ${XPIFILE} + +.include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/thunderbird-enigmail/Makefile.common b/mail/thunderbird-enigmail/Makefile.common deleted file mode 100644 index 1a923d68271..00000000000 --- a/mail/thunderbird-enigmail/Makefile.common +++ /dev/null @@ -1,51 +0,0 @@ -# $NetBSD: Makefile.common,v 1.27 2019/09/13 12:57:54 nia Exp $ -# -# used by mail/thunderbird-enigmail/Makefile - -DISTNAME= enigmail-2.0.12 -CATEGORIES= mail security -MASTER_SITES= http://www.enigmail.net/download/source/ - -HOMEPAGE= https://www.enigmail.net/ -LICENSE= (mpl-1.1 OR gnu-gpl-v2 OR gnu-lgpl-v2.1) AND mpl-2.0 - -USE_TOOLS+= gmake perl sed unzip zip - -# It doesn't work -- noted also here: -# https://aur.archlinux.org/packages/th/thunderbird-enigmail/PKGBUILD -MAKE_JOBS_SAFE= no - -DEPENDS+= gnupg2>=2.0.7:../../security/gnupg2 -DEPENDS+= pinentry-gtk2-[0-9]*:../../security/pinentry-gtk2 - -DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird-enigmail/distinfo -#PATCHDIR= ${.CURDIR}/../../mail/thunderbird-enigmail/patches - -REPLACE_PERL+= util/fixlang.pl -REPLACE_PERL+= util/make-lang-xpi.pl - -PYTHON_VERSIONS_ACCEPTED= 27 # as of 1.8.2 -REPLACE_PYTHON+= util/checkFiles.py -REPLACE_PYTHON+= util/header.py -REPLACE_PYTHON+= util/typelib.py -REPLACE_PYTHON+= util/header.py -REPLACE_PYTHON+= util/xpidl.py -REPLACE_PYTHON+= util/xpt.py - -WRKSRC= ${WRKDIR}/enigmail -GNU_CONFIGURE= yes - -ENIGMAILXPI= enigmail-${PKGVERSION_NOREV}.xpi -XPIFILE= ${WRKSRC}/build/${ENIGMAILXPI} - -# Build instructions: https://www.enigmail.net/download/build_instructions.php -# Installation of extensions: http://kb.mozillazine.org/Installing_extensions -# Model installation: https://aur.archlinux.org/packages/th/thunderbird-enigmail/PKGBUILD -do-install: - ${RUN} EMID=`${SED} -n '/.*<em:id>\\(.*\\)<\\/em:id>.*/{s//\\1/p;q;}' \ - ${WRKSRC}/package/install.rdf` && \ - ${INSTALL_DATA_DIR} ${DESTDIR}${XPIDIR}/"$$EMID" && \ - unzip -d ${DESTDIR}${XPIDIR}/"$$EMID" \ - ${XPIFILE} - -.include "../../lang/python/application.mk" |