ports/180810: [MAINTAINER] x11-fm/pcmanfm: update to 1.1.1, fix NLS

nemysis nemysis at gmx.ch
Wed Jul 24 17:20:01 UTC 2013


>Number:         180810
>Category:       ports
>Synopsis:       [MAINTAINER] x11-fm/pcmanfm: update to 1.1.1, fix NLS
>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:   Wed Jul 24 17:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p10 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Fri Jun 28 19:52:22 UTC 2013
>Description:

- Update to 1.1.1
- Fix NLS
- Trim pkg-plist

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130724153201-327/

>Fix:

--- pcmanfm-1.1.1.patch begins here ---
diff -ruN /usr/ports/x11-fm/pcmanfm/Makefile ./Makefile
--- /usr/ports/x11-fm/pcmanfm/Makefile	2013-06-19 12:33:48.000000000 +0200
+++ ./Makefile	2013-07-24 17:19:28.000000000 +0200
@@ -2,7 +2,7 @@
 # $FreeBSD: head/x11-fm/pcmanfm/Makefile 321226 2013-06-19 00:11:07Z wen $
 
 PORTNAME=	pcmanfm
-PORTVERSION=	1.1.0
+PORTVERSION=	1.1.1
 CATEGORIES=	x11-fm
 MASTER_SITES=	SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
 
@@ -24,15 +24,16 @@
 MAN1=		pcmanfm.1
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=	gettext
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
+post-patch:
+.if ! ${PORT_OPTIONS:MNLS}
+	@${REINPLACE_CMD} -e 's|src po|src|' \
+		${WRKSRC}/Makefile.in
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/x11-fm/pcmanfm/distinfo ./distinfo
--- /usr/ports/x11-fm/pcmanfm/distinfo	2013-06-02 18:54:01.000000000 +0200
+++ ./distinfo	2013-07-24 17:23:42.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (pcmanfm-1.1.0.tar.gz) = 1f6301f330ad648f3322708ec6c0f680a8695a9453932fe19653bab6731e5582
-SIZE (pcmanfm-1.1.0.tar.gz) = 496895
+SHA256 (pcmanfm-1.1.1.tar.gz) = b81fb3ff8dc7c28a6bae795f6f76bcbc5324e8ac02e5f346aa2466896a11c2bc
+SIZE (pcmanfm-1.1.1.tar.gz) = 418023
diff -ruN /usr/ports/x11-fm/pcmanfm/pkg-plist ./pkg-plist
--- /usr/ports/x11-fm/pcmanfm/pkg-plist	2013-06-02 18:54:01.000000000 +0200
+++ ./pkg-plist	2013-07-24 17:27:20.000000000 +0200
@@ -61,8 +61,6 @@
 %%DATADIR%%/ui/pref.ui
 @dirrm %%DATADIR%%/ui
 @dirrm %%DATADIR%%
- at dirrmtry share/locale/km/LC_MESSAGES
- at dirrmtry share/locale/km
 @dirrmtry share/applications
 @dirrmtry etc/xdg/pcmanfm/default
 @dirrmtry etc/xdg/pcmanfm
--- pcmanfm-1.1.1.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list