Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 07:21:58 +0000 (UTC)
From:      Po-Chien Lin <pclin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312799 - in head/chinese/pcmanx: . files
Message-ID:  <201302230721.r1N7LwfU001544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pclin
Date: Sat Feb 23 07:21:57 2013
New Revision: 312799
URL: http://svnweb.freebsd.org/changeset/ports/312799

Log:
  - Update to 1.2
  - Remove unused USE_LDCONFIG knob
  
  Approved by:	swills (mentor)

Added:
  head/chinese/pcmanx/files/patch-configure   (contents, props changed)
Deleted:
  head/chinese/pcmanx/files/patch-src-mainframe.cpp
Modified:
  head/chinese/pcmanx/Makefile   (contents, props changed)
  head/chinese/pcmanx/distinfo   (contents, props changed)
  head/chinese/pcmanx/files/patch-src-core-proxy.c   (contents, props changed)
  head/chinese/pcmanx/files/patch-src-view-telnetcon.cpp   (contents, props changed)
  head/chinese/pcmanx/pkg-plist   (contents, props changed)

Modified: head/chinese/pcmanx/Makefile
==============================================================================
--- head/chinese/pcmanx/Makefile	Sat Feb 23 04:50:48 2013	(r312798)
+++ head/chinese/pcmanx/Makefile	Sat Feb 23 07:21:57 2013	(r312799)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pcmanx
-PORTVERSION=	1.1
-PORTREVISION=	1
+PORTVERSION=	1.2
 CATEGORIES=	chinese net gnome
 MASTER_SITES=	http://pcmanx-gtk2.googlecode.com/files/
 DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}
@@ -18,7 +17,6 @@ USE_GNOME=	gtk20 intlhack
 USE_GMAKE=	yes
 USE_ICONV=	yes
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	NLS DEBUG DOCKLET NOTIFIER LIBNOTIFY NANCY MOUSE EXTERNAL IPLOOKUP PROXY
 OPTIONS_DEFAULT=	DOCKLET NOTIFIER NANCY MOUSE EXTERNAL
@@ -60,7 +58,7 @@ CONFIGURE_ARGS+=--disable-notifier
 
 .if ${PORT_OPTIONS:MLIBNOTIFY}
 CONFIGURE_ARGS+=--enable-libnotify
-BUILD_DEPENDS=	libnotify>0:${PORTSDIR}/devel/libnotify
+LIB_DEPENDS+=	notify:${PORTSDIR}/devel/libnotify
 .endif
 
 .if empty(PORT_OPTIONS:MNANCY)
@@ -83,4 +81,8 @@ CONFIGURE_ARGS+=--enable-iplookup
 CONFIGURE_ARGS+=--enable-proxy
 .endif
 
+post-install:
+	@# create directory for user friendly
+	${MKDIR} ${DATADIR}/script/
+
 .include <bsd.port.mk>

Modified: head/chinese/pcmanx/distinfo
==============================================================================
--- head/chinese/pcmanx/distinfo	Sat Feb 23 04:50:48 2013	(r312798)
+++ head/chinese/pcmanx/distinfo	Sat Feb 23 07:21:57 2013	(r312799)
@@ -1,2 +1,2 @@
-SHA256 (pcmanx-gtk2-1.1.tar.xz) = 377cccdd9e71ffbe434016f7ed93d8b82771f33398ce6804a0bf5926d2a4acd0
-SIZE (pcmanx-gtk2-1.1.tar.xz) = 527164
+SHA256 (pcmanx-gtk2-1.2.tar.xz) = 2463652d9b75ba1bea7420069e28d66f6e8064cfcfea2a697f06c1d491ec774a
+SIZE (pcmanx-gtk2-1.2.tar.xz) = 534684

Added: head/chinese/pcmanx/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/pcmanx/files/patch-configure	Sat Feb 23 07:21:57 2013	(r312799)
@@ -0,0 +1,10 @@
+--- configure.orig	2013-02-23 12:34:26.239318500 +0800
++++ configure	2013-02-23 12:34:47.839542597 +0800
+@@ -17189,7 +17189,6 @@
+ 
+     fi
+   fi
+-     USE_NLS=yes
+ 
+ 
+     gt_cv_have_gettext=no

Modified: head/chinese/pcmanx/files/patch-src-core-proxy.c
==============================================================================
--- head/chinese/pcmanx/files/patch-src-core-proxy.c	Sat Feb 23 04:50:48 2013	(r312798)
+++ head/chinese/pcmanx/files/patch-src-core-proxy.c	Sat Feb 23 07:21:57 2013	(r312799)
@@ -1,11 +1,12 @@
 --- src/core/proxy.c.orig	2011-12-28 19:59:03.000000000 +0800
 +++ src/core/proxy.c	2012-05-01 10:42:46.000000000 +0800
-@@ -23,6 +23,8 @@
+@@ -22,6 +22,9 @@
+ #include <string.h>
  #include <unistd.h>
  #include <errno.h>
- 
++#if defined(__FreeBSD__)
 +#include <sys/socket.h>
-+
++#endif
+ 
  #include "proxy.h"
  
- #define SOCKS_CMD_CONNECT        0x01

Modified: head/chinese/pcmanx/files/patch-src-view-telnetcon.cpp
==============================================================================
--- head/chinese/pcmanx/files/patch-src-view-telnetcon.cpp	Sat Feb 23 04:50:48 2013	(r312798)
+++ head/chinese/pcmanx/files/patch-src-view-telnetcon.cpp	Sat Feb 23 07:21:57 2013	(r312799)
@@ -1,6 +1,6 @@
 --- src/view/telnetcon.cpp.orig	2010-10-12 21:12:03.000000000 +0800
 +++ src/view/telnetcon.cpp	2010-10-12 21:12:09.000000000 +0800
-@@ -72,7 +72,6 @@
+@@ -77,7 +77,6 @@
  #ifdef USING_LINUX
  #include <pty.h>
  #endif

Modified: head/chinese/pcmanx/pkg-plist
==============================================================================
--- head/chinese/pcmanx/pkg-plist	Sat Feb 23 04:50:48 2013	(r312798)
+++ head/chinese/pcmanx/pkg-plist	Sat Feb 23 07:21:57 2013	(r312799)
@@ -11,10 +11,7 @@ share/pixmaps/pcmanx.svg
 %%DATADIR%%/nancy_bot/example_msg.data
 %%DATADIR%%/nancy_bot/example_usages.data
 %%DATADIR%%/sitelist
-@dirrmtry %%DATADIR%%/script
 @dirrmtry %%DATADIR%%/nancy_bot
+@dirrmtry %%DATADIR%%/script
 @dirrmtry %%DATADIR%%
 @dirrmtry share/applications
-@dirrmtry %%JAVAJARDIR%%
-@exec mkdir -p %D/%%DATADIR%%/script
-@exec mkdir -p %D/%%JAVAJARDIR%%



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