aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-06-17 08:12:37 +0800
committerjkim <jkim@FreeBSD.org>2014-06-17 08:12:37 +0800
commit23e54f81c44597d268176c1b4f1e024d41eef86e (patch)
tree7d5282cf4c9f888b1159ea81829545365bc918e4 /editors
parentfa82956eddd5f9f8751266094cb318244e013fc1 (diff)
downloadfreebsd-ports-gnome-23e54f81c44597d268176c1b4f1e024d41eef86e.tar.gz
freebsd-ports-gnome-23e54f81c44597d268176c1b4f1e024d41eef86e.tar.zst
freebsd-ports-gnome-23e54f81c44597d268176c1b4f1e024d41eef86e.zip
Shut up check-orphans.
Reported by: swills
Diffstat (limited to 'editors')
-rw-r--r--editors/libreoffice/Makefile4
-rw-r--r--editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh14
2 files changed, 11 insertions, 7 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 01b8f4bcf98b..8a8a5f9cddfd 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -381,7 +381,9 @@ post-install:
-exec ${ECHO_CMD} "@dirrm {}" \; >> ${PLISTD}
@${ECHO_CMD} "@dirrmtry etc/bash_completion.d" >> ${PLISTD}
-.for subdir in applications icons mime mimelnk
+ @cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s share/applications \
+ \( -type f -o -type l \) -print >> ${PLISTF}
+.for subdir in icons mime mimelnk
@cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s share/${subdir} \
\( -type f -o -type l \) -print >> ${PLISTF}
@cd ${STAGEDIR}${PREFIX} && ${FIND} -d share/${subdir} -type d \
diff --git a/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh b/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
index 82b282a7d9a7..cafdbe6a7f46 100644
--- a/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
+++ b/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
@@ -1,5 +1,5 @@
---- sysui/desktop/share/create_tree.sh.orig 2014-04-30 21:49:45.000000000 +0200
-+++ sysui/desktop/share/create_tree.sh 2014-06-11 00:20:55.539133736 +0200
+--- sysui/desktop/share/create_tree.sh.orig 2014-04-30 15:49:45.000000000 -0400
++++ sysui/desktop/share/create_tree.sh 2014-06-16 19:55:56.000000000 -0400
@@ -57,37 +57,37 @@
chmod 0644 "${DESTDIR}/${GNOMEDIR}/share/application-registry/${PREFIX}".*
fi
@@ -45,9 +45,11 @@
done
-mkdir -p "${DESTDIR}/usr/share/appdata"
-+mkdir -p "${DESTDIR}/${PREFIXDIR}/share/appdata"
- for i in base calc draw impress writer; do
+-for i in base calc draw impress writer; do
- cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/usr/share/appdata/${PREFIX}-${i}.appdata.xml"
-+ cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/${PREFIX}-${i}.appdata.xml"
- done
+-done
++#mkdir -p "${DESTDIR}/${PREFIXDIR}/share/appdata"
++#for i in base calc draw impress writer; do
++# cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/${PREFIX}-${i}.appdata.xml"
++#done