diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2005-04-12 19:42:04 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2005-04-12 19:42:04 +0000 |
commit | a7a73444bec1c834c45922d69a3728091fca859c (patch) | |
tree | 4c7f3e323c1df87f56cee43c59c6cc6629304d38 /mail/moztraybiff | |
parent | fb211568de4b7180fdbe34a38280cbda304379d3 (diff) | |
download | ports-a7a73444bec1c834c45922d69a3728091fca859c.tar.gz ports-a7a73444bec1c834c45922d69a3728091fca859c.zip |
Notes
Diffstat (limited to 'mail/moztraybiff')
-rw-r--r-- | mail/moztraybiff/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile index 22fb26e3bd03..6c01549273d1 100644 --- a/mail/moztraybiff/Makefile +++ b/mail/moztraybiff/Makefile @@ -7,7 +7,7 @@ PORTNAME= moztraybiff PORTVERSION= 1.0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail gnome MASTER_SITES= http://mozdev.oregonstate.edu/moztraybiff/ DISTNAME= mozTrayBiff-${PORTVERSION} @@ -19,7 +19,11 @@ BUILD_DEPENDS= ${X11BASE}/lib/thunderbird/lib/thunderbird-${TBVER}/components/li zip:${PORTSDIR}/archivers/zip RUN_DEPENDS= ${X11BASE}/lib/thunderbird/lib/thunderbird-${TBVER}/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird +.if !exists(../thunderbird/Makefile) +BROKEN= ${PORTNAME} needs the Thunderbird port in order to build +.else TBVER!= cd ../thunderbird && ${MAKE} -V PORTVERSION +.endif USE_X_PREFIX= yes USE_GMAKE= yes @@ -28,8 +32,8 @@ USE_REINPLACE= yes MAKE_ARGS+= MOZILLA_PLATFORM=tbird FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb${TBVER}.xpi -PLIST_FILES= ${DATADIR}/${FILENAME} -PLIST_DIRS= ${DATADIR} +PLIST_FILES= share/${PORTNAME}/${FILENAME} +PLIST_DIRS= share/${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message .include <bsd.port.pre.mk> @@ -43,11 +47,11 @@ post-patch: ${WRKSRC}/components/Makefile post-build: - ${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE} + @${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE} do-install: - ${MKDIR} ${DATADIR} - ${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR} + @${MKDIR} ${DATADIR} + @${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR} post-install: @${CAT} ${PKGMESSAGE} |