Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Mar 2004 13:22:37 +0100 (CET)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Pav Lucistnik <pav@FreeBSD.org>
Subject:   ports/63638: [MAINTAINER] net/nicotine: fix pkg-plist and installation of gettext catalogues
Message-ID:  <20040302122237.556313B7D@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200403021230.i22CUD3k091747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63638
>Category:       ports
>Synopsis:       [MAINTAINER] net/nicotine: fix pkg-plist and installation of gettext catalogues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 04:30:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Feb 14 20:59:15 CET 2004
>Description:
- Add missing files to pkg-plist (pointed out by
  Pav Lucistnik <pav@FreeBSD.org>)
- setup.py installs those files into /usr/local. Make it honor $PREFIX.
- Bump PORTREVISION

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- nicotine-1.0.7_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/nicotine.old/Makefile /usr/ports/net/nicotine/Makefile
--- /usr/ports/net/nicotine.old/Makefile	Tue Mar  2 12:38:42 2004
+++ /usr/ports/net/nicotine/Makefile	Tue Mar  2 13:04:05 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	nicotine
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://nicotine.thegraveyard.org/
 
@@ -19,6 +20,7 @@
 USE_BZIP2=		yes
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
+USE_REINPLACE=		yes
 
 .include <bsd.port.pre.mk>
 
@@ -53,6 +55,9 @@
 .endif
 	@${ECHO_MSG} ""
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|sys\.prefix|\"${PREFIX}\"|g" ${WRKSRC}/setup.py
 
 .if !defined(NOPORTDOCS)
 post-install:
diff -ruN --exclude=CVS /usr/ports/net/nicotine.old/pkg-plist /usr/ports/net/nicotine/pkg-plist
--- /usr/ports/net/nicotine.old/pkg-plist	Tue Mar  2 12:38:42 2004
+++ /usr/ports/net/nicotine/pkg-plist	Tue Mar  2 13:06:50 2004
@@ -98,6 +98,14 @@
 %%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
--- nicotine-1.0.7_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040302122237.556313B7D>