aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird-esr/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-08 07:29:33 +0800
committermarcus <marcus@FreeBSD.org>2004-11-08 07:29:33 +0800
commitc981d6fd9b62667bf96307a7b2b3a2261d5b9ff7 (patch)
treec26b0500fd3b9428e7b62b947dc4efc6670ef7ea /mail/thunderbird-esr/Makefile
parent87db70663f19cf712d4aa3a26b3cff13bb8d2348 (diff)
downloadfreebsd-ports-gnome-c981d6fd9b62667bf96307a7b2b3a2261d5b9ff7.tar.gz
freebsd-ports-gnome-c981d6fd9b62667bf96307a7b2b3a2261d5b9ff7.tar.zst
freebsd-ports-gnome-c981d6fd9b62667bf96307a7b2b3a2261d5b9ff7.zip
* Fix Movemail and RSS support
* Install a GNOME desktop icon [1] * Correct installation when root's shell is non-standard (e.g. /usr/local/bin/bash) [2] Submitted by: ahze [1] Clemens Fischer <ino-qc@spotteswoode.de.eu.org> [2]
Diffstat (limited to 'mail/thunderbird-esr/Makefile')
-rw-r--r--mail/thunderbird-esr/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index 1bc92e239d89..11e5c1c0250c 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= thunderbird
PORTVERSION= 0.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= thunderbird/releases/${PORTVERSION}
@@ -34,7 +34,7 @@ HAS_CONFIGURE= yes
NO_MTREE= yes
PLIST= ${WRKDIR}/plist
ALL_TARGET= default
-USE_GNOME= gtk20 libidl
+USE_GNOME= gtk20 libidl gnomehier
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
@@ -46,6 +46,9 @@ LOCAL_SUBDIR= lib/${PORTNAME}
LOCAL_PREFIX= ${PREFIX}/${LOCAL_SUBDIR}
ESD_LIB= libesd.so.2
+THUNDERBIRD_ICON= thunderbird.xpm
+THUNDERBIRD_ICON_SRC= ${WRKSRC}/other-licenses/branding/thunderbird/default.xpm
+
OPTIONS= DEBUG "Build a debugging image" off \
LOGGING "Enable additional log messages" off \
OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
@@ -135,6 +138,8 @@ post-patch:
< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \
< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
+ @${SED} -e 's|@THUNDERBIRD_ICON@|${THUNDERBIRD_ICON}|' \
+ < ${FILESDIR}/thunderbird.desktop.in > ${WRKDIR}/thunderbird.desktop
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
@@ -163,6 +168,8 @@ pre-install:
.for ii in thunderbird thunderbird-config
@${ECHO_CMD} bin/${ii} >> ${PLIST}
.endfor
+ @${CP} -RL ${WRKSRC}/dist/bin/defaults/isp \
+ ${FAKEDIR}/${LOCAL_SUBDIR}/lib/${PORTNAME}-${PORTVERSION}/defaults
@cd ${FAKEDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \
${FIND} * -type d -empty | ${SORT} | ${SED} -e \
"s:^:@exec ${MKDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \
@@ -170,6 +177,9 @@ pre-install:
"s:^:@unexec ${RMDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \
${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm :" | \
${GREP} / >> ${PLIST}
+ ${ECHO_CMD} '@dirrm ${LOCAL_SUBDIR}/defaults/isp' >> ${PLIST}
+ ${ECHO_CMD} 'share/gnome/pixmaps/${THUNDERBIRD_ICON}' >> ${PLIST}
+ ${ECHO_CMD} 'share/gnome/applications/thunderbird.desktop' >> ${PLIST}
do-install:
# This is the actual installation. First, the contents of FAKEDIR are
@@ -198,5 +208,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/thunderbird/mozicon50.xpm \
${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}/chrome/icons/default/messengerWindow16.xpm
.endif # defined(WITH_NEW_ICON)
+ ${INSTALL_DATA} ${THUNDERBIRD_ICON_SRC} ${PREFIX}/share/gnome/pixmaps/${THUNDERBIRD_ICON}
+ ${INSTALL_DATA} ${WRKDIR}/thunderbird.desktop ${PREFIX}/share/gnome/applications
.include <bsd.port.post.mk>