aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird-esr
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-12-19 07:39:27 +0800
committermarcus <marcus@FreeBSD.org>2005-12-19 07:39:27 +0800
commite0c3088bf117e875f17d5fae9f6b7e6743df7482 (patch)
treec6a39e08cae9bbd00cc4e250bf4ea189f2dddab4 /mail/thunderbird-esr
parent188be99c4946a92e916b480c74f45329492ceb0c (diff)
downloadfreebsd-ports-gnome-e0c3088bf117e875f17d5fae9f6b7e6743df7482.tar.gz
freebsd-ports-gnome-e0c3088bf117e875f17d5fae9f6b7e6743df7482.tar.zst
freebsd-ports-gnome-e0c3088bf117e875f17d5fae9f6b7e6743df7482.zip
Fix packaging by forcing the isp files into the plist.
Reported by: pointyhat via kris
Diffstat (limited to 'mail/thunderbird-esr')
-rw-r--r--mail/thunderbird-esr/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index 11fbb4d83d3c..ef481bf43656 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -8,7 +8,7 @@
PORTNAME= thunderbird
PORTVERSION= 1.0.7
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/source
@@ -69,6 +69,15 @@ pre-install:
${MKDIR} ${FAKEDIR}/lib/${PORTNAME}/defaults
${CP} -RL ${WRKSRC}/dist/bin/defaults/isp \
${FAKEDIR}/lib/${PORTNAME}/defaults
+ @cd ${FAKEDIR}/lib/${PORTNAME}/defaults/isp && \
+ ${FIND} -s * -type f -o -type l | \
+ ${SED} -e 's|^|lib/${PORTNAME}/defaults/isp/|' >> ${PLIST} && \
+ ${FIND} -d * -type d | \
+ ${SED} -e 's|^|@dirrm lib/${PORTNAME}/defaults/isp/|' \
+ >> ${PLIST}
+ @${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/defaults/isp 2>/dev/null || ${TRUE}" >> ${PLIST}
+ @${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/defaults 2>/dev/null || ${TRUE}" >> ${PLIST}
+ @${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/ 2>/dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}