summaryrefslogtreecommitdiff
path: root/net-p2p
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
parentFix installation (a bit of perl was still there). (diff)
- Add translations to pkg-plist
- Make them respect ${PREFIX} - Raise portrevision PR: ports/63638 Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
Notes
Notes: svn path=/head/; revision=102729
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/nicotine-plus/Makefile5
-rw-r--r--net-p2p/nicotine-plus/pkg-plist8
-rw-r--r--net-p2p/nicotine/Makefile5
-rw-r--r--net-p2p/nicotine/pkg-plist8
4 files changed, 26 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
diff --git a/net-p2p/nicotine/Makefile b/net-p2p/nicotine/Makefile
index 401977285976..cde9a7e492b0 100644
--- a/net-p2p/nicotine/Makefile
+++ b/net-p2p/nicotine/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/pkg-plist b/net-p2p/nicotine/pkg-plist
index 205f75548aa8..5da2fb22ffa6 100644
--- a/net-p2p/nicotine/pkg-plist
+++ b/net-p2p/nicotine/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