aboutsummaryrefslogtreecommitdiff
path: root/mail/moztraybiff
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2010-06-03 14:06:11 +0000
committerAndriy Gapon <avg@FreeBSD.org>2010-06-03 14:06:11 +0000
commit51d4bba0fcd8c095cfe2f86fcedf4982c702a7ce (patch)
tree691fe4020b3cc9b1c78b7490371e69b8c8afab08 /mail/moztraybiff
parente3aede5bc2449c6668fa3e6484b9d8975ef34dc4 (diff)
downloadports-51d4bba0fcd8c095cfe2f86fcedf4982c702a7ce.tar.gz
ports-51d4bba0fcd8c095cfe2f86fcedf4982c702a7ce.zip
Notes
Diffstat (limited to 'mail/moztraybiff')
-rw-r--r--mail/moztraybiff/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
index 05462315acc5..cb4ca6efc90f 100644
--- a/mail/moztraybiff/Makefile
+++ b/mail/moztraybiff/Makefile
@@ -20,14 +20,17 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTS
zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS= ${LOCALBASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird
-.if !exists(../thunderbird/Makefile)
+USE_GMAKE= yes
+USE_GNOME= libgnome
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${PORTSDIR}/mail/thunderbird/Makefile)
BROKEN= ${PORTNAME} needs the Thunderbird port in order to build
.else
-TBVER!= cd ../thunderbird && ${MAKE} -V PORTVERSION
+TBVER!= (cd ${PORTSDIR}/mail/thunderbird && ${MAKE} -V PORTVERSION)
.endif
-USE_GMAKE= yes
-USE_GNOME= libgnome
MAKE_ARGS+= MOZILLA_PLATFORM=tbird TBVER=${TBVER} MOZ_TRUNK=0
FILENAME= mozTrayBiff-${PORTVERSION}-tb${TBVER}.xpi
@@ -50,4 +53,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>