diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-22 03:53:18 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-22 03:53:18 +0800 |
commit | 3ca54a8dd92fd668ab684935a27d919c3c872f7d (patch) | |
tree | a7bbaecfc2fbfa36f6a80efed936d8459a50ffd4 /mail/enigmail-thunderbird/Makefile | |
parent | 62198160c2d9b228a0b7a62a042e1988863165cc (diff) | |
download | marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.gz marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.bz2 marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.lz marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.xz marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.zst marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.zip |
- Chase move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6680 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/enigmail-thunderbird/Makefile')
-rw-r--r-- | mail/enigmail-thunderbird/Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/mail/enigmail-thunderbird/Makefile b/mail/enigmail-thunderbird/Makefile new file mode 100644 index 000000000..b111e3ae6 --- /dev/null +++ b/mail/enigmail-thunderbird/Makefile @@ -0,0 +1,72 @@ +# New ports collection makefile for: enigmail +# Date created: 20 January 2004 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= enigmail +PORTVERSION= 0.94.0 +PORTREVISION= 1 +CATEGORIES= mail security +MASTER_SITES= http://www.mozilla-enigmail.org/downloads/src/ +PKGNAMEPREFIX?= thunderbird- + +MAINTAINER= ale@FreeBSD.org +COMMENT?= A GnuPG extension for the Thunderbird mail client + +EXTRACT_DEPENDS=${GECKO_WRKSRC}/configure:${PORTSDIR}/${GECKO_PORTDIR}:patch +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.5:${PORTSDIR}/graphics/png \ + nspr4:${PORTSDIR}/devel/nspr \ + nss3:${PORTSDIR}/security/nss \ + Xft.2:${PORTSDIR}/x11-fonts/libXft +RUN_DEPENDS= ${GECKO}:${PORTSDIR}/${GECKO_PORTDIR} \ + gpg:${PORTSDIR}/security/gnupg + +GECKO= ${PKGNAMEPREFIX:S/-//} +.if ${GECKO} == "thunderbird" +GECKO_PORTDIR= mail/${GECKO} +.else +GECKO_PORTDIR= www/${GECKO} +.endif +GECKO_WRKSRC= ${WRKDIR}/../../../${GECKO_PORTDIR}/work/mozilla +WRKSRC= ${WRKDIR}/mozilla + +USE_GMAKE= yes +USE_GCC= 3.4+ +USE_GNOME= gtk20 libidl desktopfileutils +HAS_CONFIGURE= yes +CONFIGURE_ENV= LOCALBASE=${LOCALBASE} +CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include + +XPI_FILE= ${DISTNAME}-${GECKO}-freebsd-${ARCH}.xpi +PLIST_FILES= %%DATADIR%%/${XPI_FILE} +PLIST_DIRS= %%DATADIR%% + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + @${CP} -R ${GECKO_WRKSRC} ${WRKSRC} + @for f in ${EXTRACT_ONLY}; do \ + cd ${WRKSRC}/mailnews/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS}; \ + done + +do-build: + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} export) + @(cd ${WRKSRC}/modules/libreg; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}) + @(cd ${WRKSRC}/xpcom/string; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}) + @(cd ${WRKSRC}/xpcom; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}) + @(cd ${WRKSRC}/xpcom/obsolete; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}) + @(cd ${WRKSRC}/mailnews/extensions/enigmail; ./makemake -r; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}); + @(cd ${WRKSRC}/mailnews/extensions/enigmail; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} xpi); + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dist/bin/${DISTNAME}-freebsd-${ARCH}.xpi ${DATADIR}/${XPI_FILE} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |