aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/nicotine-plus
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-02 12:30:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-02 12:30:58 +0000
commitc175fc20989494346c945b2136a453f3e5be7cad (patch)
tree6963fec0bdae39caf228bcb2e64f5e50c636fc96 /net-p2p/nicotine-plus
parent9cd2122897820c4e5db27c8ea23f932c6ce91013 (diff)
downloadports-c175fc20989494346c945b2136a453f3e5be7cad.tar.gz
ports-c175fc20989494346c945b2136a453f3e5be7cad.zip
Notes
Diffstat (limited to 'net-p2p/nicotine-plus')
-rw-r--r--net-p2p/nicotine-plus/Makefile5
-rw-r--r--net-p2p/nicotine-plus/pkg-plist8
2 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/nicotine-plus/Makefile b/net-p2p/nicotine-plus/Makefile
index 401977285976..cde9a7e492b0 100644
--- a/net-p2p/nicotine-plus/Makefile
+++ b/net-p2p/nicotine-plus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nicotine
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://nicotine.thegraveyard.org/
@@ -19,6 +20,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolki
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -54,6 +56,9 @@ pre-everything::
@${ECHO_MSG} ""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s|sys\.prefix|\"${PREFIX}\"|g" ${WRKSRC}/setup.py
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
diff --git a/net-p2p/nicotine-plus/pkg-plist b/net-p2p/nicotine-plus/pkg-plist
index 205f75548aa8..5da2fb22ffa6 100644
--- a/net-p2p/nicotine-plus/pkg-plist
+++ b/net-p2p/nicotine-plus/pkg-plist
@@ -98,6 +98,14 @@ bin/nicotine-import-winconfig
%%PYTHON_SITELIBDIR%%/pynicotine/utils.pyo
%%PORTDOCS%%%%DOCSDIR%%/README.import-winconfig
%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/de/LC_MESSAGES/nicotine.mo
+share/locale/dk/LC_MESSAGES/nicotine.mo
+share/locale/es/LC_MESSAGES/nicotine.mo
+share/locale/fr/LC_MESSAGES/nicotine.mo
+share/locale/it/LC_MESSAGES/nicotine.mo
+share/locale/nl/LC_MESSAGES/nicotine.mo
+share/locale/pl/LC_MESSAGES/nicotine.mo
+share/locale/sv/LC_MESSAGES/nicotine.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/pynicotine/gtkgui
@dirrm %%PYTHON_SITELIBDIR%%/pynicotine