diff options
author | marcus <marcus@FreeBSD.org> | 2005-12-19 07:39:27 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-12-19 07:39:27 +0800 |
commit | e0c3088bf117e875f17d5fae9f6b7e6743df7482 (patch) | |
tree | c6a39e08cae9bbd00cc4e250bf4ea189f2dddab4 /mail/thunderbird-esr | |
parent | 188be99c4946a92e916b480c74f45329492ceb0c (diff) | |
download | freebsd-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/Makefile | 11 |
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} |