From c175fc20989494346c945b2136a453f3e5be7cad Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 2 Mar 2004 12:30:58 +0000 Subject: - Add translations to pkg-plist - Make them respect ${PREFIX} - Raise portrevision PR: ports/63638 Submitted by: Stefan Walter (maintainer) --- net/nicotine/Makefile | 5 +++++ net/nicotine/pkg-plist | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'net/nicotine') 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 @@ -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 -- cgit v1.2.3