mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
* Fix the plist.
* Error out in the corner case that the thunderbird port dir is not sitting in ../thunderbird * Quiet the installation phase so the pkg-message is more legible * Bump PORTREVISION for the plist change. Hopefully I've gotten it right this time *shakes head*
This commit is contained in:
parent
fb211568de
commit
a7a73444be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133167
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user