summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-17 18:59:50 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-17 18:59:50 +0800
commit1fafebec6115b4115614d05b01a528349618b638 (patch)
treed91aca94c3aad3120cef2160ad83adfb3b91d3fe
parent1de5cbf4babc3f8de21495d5f411259e06c486d0 (diff)
downloadmarcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar.gz
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar.bz2
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar.lz
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar.xz
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.tar.zst
marcuscom-ports-1fafebec6115b4115614d05b01a528349618b638.zip
Fix a conflict ith x11-fm/nautilus. While here strip a lib installed by the port [1] and remove a .bak file that was getting installed and went unnoticed [2].
[1], [2] Reported by poudriere git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18894 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-fm/nemo/Makefile9
-rw-r--r--x11-fm/nemo/pkg-plist3
2 files changed, 9 insertions, 3 deletions
diff --git a/x11-fm/nemo/Makefile b/x11-fm/nemo/Makefile
index 92eff8e5a..72ccd3f54 100644
--- a/x11-fm/nemo/Makefile
+++ b/x11-fm/nemo/Makefile
@@ -51,10 +51,17 @@ post-patch:
s|@INTROSPECTION_GIRDIR@|$$(datadir)/gir-1.0|g' \
${WRKSRC}/libnemo-extension/Makefile.am
+ @${REINPLACE_CMD} -e 's|x-gnome-saved-search|x-nemo-saved-search|g' \
+ ${WRKSRC}/data/nemo.xml.in \
+ ${WRKSRC}/libnemo-private/nemo-file-utilities.h
+
@${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \
- ${XARGS} ${REINPLACE_CMD} -e "s|#!.*python.*|#!/usr/bin/env python|g"
+ ${XARGS} ${REINPLACE_CMD} -I "" -e "s|#!.*python.*|#!/usr/bin/env python|g"
pre-configure:
cd ${WRKSRC} && NOCONFIGURE=yes ${SH} ./autogen.sh
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnemo-extension.so.5
+
.include <bsd.port.mk>
diff --git a/x11-fm/nemo/pkg-plist b/x11-fm/nemo/pkg-plist
index 638447a30..5d3f30a8f 100644
--- a/x11-fm/nemo/pkg-plist
+++ b/x11-fm/nemo/pkg-plist
@@ -97,10 +97,9 @@ share/locale/vi/LC_MESSAGES/nemo.mo
share/locale/zh_CN/LC_MESSAGES/nemo.mo
share/locale/zh_TW/LC_MESSAGES/nemo.mo
share/mime/application/nemo-action.xml
-share/mime/application/x-gnome-saved-search.xml
+share/mime/application/x-nemo-saved-search.xml
share/mime/packages/nemo.xml
%%DATADIR%%/actions/myaction.py
-%%DATADIR%%/actions/myaction.py.bak
%%DATADIR%%/actions/sample.nemo_action
%%DATADIR%%/icons/hicolor/16x16/emblems/emblem-note.png
%%DATADIR%%/icons/hicolor/24x24/emblems/emblem-note.png