aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2011-10-19 22:12:04 +0000
committerPawel Pekala <pawel@FreeBSD.org>2011-10-19 22:12:04 +0000
commit114bc8cbc8fbd012beb925dbd067ac01e1e59250 (patch)
tree1f910ee2826ddd88e98ff4ab7810ea4ef479d214 /net-p2p
parent1229aefc3df7f304327aee5c4f00b5cd9f5872b4 (diff)
downloadports-114bc8cbc8fbd012beb925dbd067ac01e1e59250.tar.gz
ports-114bc8cbc8fbd012beb925dbd067ac01e1e59250.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/deluge/Makefile13
-rw-r--r--net-p2p/deluge/pkg-plist3
2 files changed, 9 insertions, 7 deletions
diff --git a/net-p2p/deluge/Makefile b/net-p2p/deluge/Makefile
index 73d6fa9a81f0..a51ae86b9739 100644
--- a/net-p2p/deluge/Makefile
+++ b/net-p2p/deluge/Makefile
@@ -86,8 +86,11 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:${PORTSDIR}/devel/py-notify \
xdg-utils>=1.0.2:${PORTSDIR}/devel/xdg-utils
+PLIST_SUB+= PYGTK=""
USE_GNOME+= desktopfileutils librsvg2 pygtk2
INSTALLS_ICONS= yes
+.else
+PLIST_SUB+= PYGTK="@comment "
.endif
post-patch:
@@ -114,11 +117,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/deluge/data/icons/hicolor/${size}x${size}/apps/deluge.png \
${PREFIX}/share/icons/hicolor/${size}x${size}/apps
.endfor
- if [ ! -d ${PREFIX}/share/applications ]; then \
- ${MKDIR} ${PREFIX}/share/applications ; \
- fi
- ${INSTALL_DATA} ${WRKSRC}/deluge/data/share/applications/deluge.desktop \
- ${PREFIX}/share/applications
if [ ! -d ${PREFIX}/share/pixmaps ]; then \
${MKDIR} ${PREFIX}/share/pixmaps ; \
fi
@@ -127,6 +125,11 @@ post-install:
${PREFIX}/share/pixmaps
.endfor
.if !defined(WITHOUT_PYGTK)
+ if [ ! -d ${PREFIX}/share/applications ]; then \
+ ${MKDIR} ${PREFIX}/share/applications ; \
+ fi
+ ${INSTALL_DATA} ${WRKSRC}/deluge/data/share/applications/deluge.desktop \
+ ${PREFIX}/share/applications
@-update-desktop-database
.endif
.if !defined(NOPORTDOCS)
diff --git a/net-p2p/deluge/pkg-plist b/net-p2p/deluge/pkg-plist
index 45728884a51b..e34590532c61 100644
--- a/net-p2p/deluge/pkg-plist
+++ b/net-p2p/deluge/pkg-plist
@@ -1394,7 +1394,7 @@ bin/deluged
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/deluge/ui/web/web.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/deluge/ui/web/web.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/deluge/ui/web/web.pyo
-share/applications/deluge.desktop
+%%PYGTK%%share/applications/deluge.desktop
share/icons/hicolor/128x128/apps/deluge.png
share/icons/hicolor/16x16/apps/deluge.png
share/icons/hicolor/192x192/apps/deluge.png
@@ -1410,7 +1410,6 @@ share/icons/hicolor/96x96/apps/deluge.png
share/icons/hicolor/scalable/apps/deluge.svg
share/pixmaps/deluge.png
share/pixmaps/deluge.xpm
-@dirrmtry share/pixmaps
@dirrmtry share/icons/hicolor/scalable/apps
@dirrmtry share/icons/hicolor/scalable
@dirrmtry share/icons/hicolor/96x96/apps