aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-02 20:30:58 +0800
committerpav <pav@FreeBSD.org>2004-03-02 20:30:58 +0800
commit09c0b1a01309e9f01ae429ee2f904bc0255d236d (patch)
tree4fd81356d63eb90fed449007ccfa3b17f5553630 /net
parent0c28be2b19d12a2eddb6599a82b330d459603d40 (diff)
downloadfreebsd-ports-gnome-09c0b1a01309e9f01ae429ee2f904bc0255d236d.tar.gz
freebsd-ports-gnome-09c0b1a01309e9f01ae429ee2f904bc0255d236d.tar.zst
freebsd-ports-gnome-09c0b1a01309e9f01ae429ee2f904bc0255d236d.zip
- Add translations to pkg-plist
- Make them respect ${PREFIX} - Raise portrevision PR: ports/63638 Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/nicotine/Makefile5
-rw-r--r--net/nicotine/pkg-plist8
2 files changed, 13 insertions, 0 deletions
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