Bug 180810 - [MAINTAINER] x11-fm/pcmanfm: update to 1.1.1, fix NLS
Summary: [MAINTAINER] x11-fm/pcmanfm: update to 1.1.1, fix NLS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 18:20 UTC by nemysis
Modified: 2013-07-24 21:10 UTC (History)
0 users

See Also:


Attachments
pcmanfm-1.1.1.patch (1.71 KB, patch)
2013-07-24 18:20 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-07-24 18:20:00 UTC
- 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/
Comment 1 Pawel Pekala freebsd_committer 2013-07-24 20:09:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer 2013-07-24 21:06:54 UTC
Author: pawel
Date: Wed Jul 24 20:06:46 2013
New Revision: 323616
URL: http://svnweb.freebsd.org/changeset/ports/323616

Log:
  - Update to version 1.1.1
  - Convert to new options macros
  
  PR:		ports/180810
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Modified:
  head/x11-fm/pcmanfm/Makefile
  head/x11-fm/pcmanfm/distinfo   (contents, props changed)
  head/x11-fm/pcmanfm/pkg-plist   (contents, props changed)

Modified: head/x11-fm/pcmanfm/Makefile
==============================================================================
--- head/x11-fm/pcmanfm/Makefile	Wed Jul 24 18:27:40 2013	(r323615)
+++ head/x11-fm/pcmanfm/Makefile	Wed Jul 24 20:06:46 2013	(r323616)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 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 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 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>

Modified: head/x11-fm/pcmanfm/distinfo
==============================================================================
--- head/x11-fm/pcmanfm/distinfo	Wed Jul 24 18:27:40 2013	(r323615)
+++ head/x11-fm/pcmanfm/distinfo	Wed Jul 24 20:06:46 2013	(r323616)
@@ -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

Modified: head/x11-fm/pcmanfm/pkg-plist
==============================================================================
--- head/x11-fm/pcmanfm/pkg-plist	Wed Jul 24 18:27:40 2013	(r323615)
+++ head/x11-fm/pcmanfm/pkg-plist	Wed Jul 24 20:06:46 2013	(r323616)
@@ -61,8 +61,6 @@ share/applications/pcmanfm.desktop
 %%DATADIR%%/ui/pref.ui
 @dirrm %%DATADIR%%/ui
 @dirrm %%DATADIR%%
-@dirrmtry share/locale/km/LC_MESSAGES
-@dirrmtry share/locale/km
 @dirrmtry share/applications
 @dirrmtry etc/xdg/pcmanfm/default
 @dirrmtry etc/xdg/pcmanfm
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer 2013-07-24 21:07:18 UTC
State Changed
From-To: open->closed

Committed. Thanks!