diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2010-09-30 10:37:25 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2010-09-30 10:37:25 +0000 |
commit | 25b7136f822689930f675ec1a5a2cbc4df720f0a (patch) | |
tree | 2473e14e664e41de68adc94783c86441fa7ada6f /net-p2p/deluge | |
parent | 87a2d547f1f58412ce139092780f5a132be510ac (diff) | |
download | ports-25b7136f822689930f675ec1a5a2cbc4df720f0a.tar.gz ports-25b7136f822689930f675ec1a5a2cbc4df720f0a.zip |
- Fix PLIST: do not remove files we did not install when
(PREFIX != LOCALBASE).
- Bump PORTREVISION.
Submitted by: pointyhat
Notes
Notes:
svn path=/head/; revision=262158
Diffstat (limited to 'net-p2p/deluge')
-rw-r--r-- | net-p2p/deluge/Makefile | 16 | ||||
-rw-r--r-- | net-p2p/deluge/pkg-plist | 3 |
2 files changed, 14 insertions, 5 deletions
diff --git a/net-p2p/deluge/Makefile b/net-p2p/deluge/Makefile index 005368e11d94..a52b1c37ee10 100644 --- a/net-p2p/deluge/Makefile +++ b/net-p2p/deluge/Makefile @@ -7,6 +7,7 @@ PORTNAME= deluge DISTVERSION= 1.3.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-p2p python MASTER_SITES= http://download.deluge-torrent.org/source/ @@ -60,10 +61,21 @@ DESKTOP_ENTRIES= "Deluge" \ WITHOUT_PSYCO= yes .endif -# only touch easy-install.pth if we installed it ourselves which -# happens when PREFIX differs from LOCALBASE +# things that happen when PREFIX differs from LOCALBASE .if ${PREFIX} != ${LOCALBASE} + +# only touch easy-install.pth if we installed it ourselves +. if !exists(${PYTHONPREFIX_SITELIBDIR}/easy-install.pth) PLIST_FILES+= ${PYTHON_SITELIBDIR:S;${LOCALBASE}/;;}/easy-install.pth +. endif + +# only touch site.py{,c,o} if we installed it ourselves +. for file in site.py site.pyc site.pyo +. if !exists(${PYTHONPREFIX_SITELIBDIR}/${file}) +PLIST_FILES+= ${PYTHON_SITELIBDIR:S;${LOCALBASE}/;;}/${file} +. endif +. endfor + .endif .if defined(WITH_PSYCO) diff --git a/net-p2p/deluge/pkg-plist b/net-p2p/deluge/pkg-plist index 4bde62ebdd43..c780bd1055e9 100644 --- a/net-p2p/deluge/pkg-plist +++ b/net-p2p/deluge/pkg-plist @@ -1395,9 +1395,6 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/scalable/apps/deluge.svg %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/pixmaps/deluge.png %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/pixmaps/deluge.xpm -%%PYTHON_SITELIBDIR%%/site.py -%%PYTHON_SITELIBDIR%%/site.pyc -%%PYTHON_SITELIBDIR%%/site.pyo bin/deluge bin/deluge-console bin/deluge-gtk |