diff options
-rw-r--r-- | net-p2p/nicotine-plus/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/nicotine-plus/pkg-plist | 8 | ||||
-rw-r--r-- | net-p2p/nicotine/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/nicotine/pkg-plist | 8 | ||||
-rw-r--r-- | net/nicotine/Makefile | 5 | ||||
-rw-r--r-- | net/nicotine/pkg-plist | 8 |
6 files changed, 39 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 diff --git a/net/nicotine/Makefile b/net/nicotine/Makefile index 401977285976..cde9a7e492b0 100644 --- a/net/nicotine/Makefile +++ b/net/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/nicotine/pkg-plist b/net/nicotine/pkg-plist index 205f75548aa8..5da2fb22ffa6 100644 --- a/net/nicotine/pkg-plist +++ b/net/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 |