Date: Tue, 15 Nov 2011 11:26:35 GMT From: dhg <darcsis@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162579: update chinese/pcmanx to 1.0 Message-ID: <201111151126.pAFBQZPR080407@red.freebsd.org> Resent-Message-ID: <201111151130.pAFBU7Ka069059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162579 >Category: ports >Synopsis: update chinese/pcmanx to 1.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 11:30:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: dhg >Release: FreeBSD 9.0-RC2 amd64 >Organization: Pluton >Environment: FreeBSD pluton.xbsd.name 9.0-RC2 FreeBSD 9.0-RC2 #0 r+1105ecc: Mon Nov 14 10:44:56 CST 2011 dhg@pluton.xbsd.name:/opt/obj/sysbld/usr/src/sys/pluton-amd64 amd64 >Description: update port chinese/pcmanx to 1.0 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -anu pcmanx.orig/Makefile pcmanx/Makefile --- pcmanx.orig/Makefile 2011-11-15 19:22:13.874732443 +0800 +++ pcmanx/Makefile 2011-11-15 19:22:05.096733882 +0800 @@ -6,9 +6,11 @@ # PORTNAME= pcmanx -PORTVERSION= 0.3.9 +#PORTVERSION= 0.3.9 +PORTVERSION= 1.0 CATEGORIES= chinese net gnome -MASTER_SITES= http://pcmanx-gtk2.googlecode.com/svn/website/release/ +#MASTER_SITES= http://pcmanx-gtk2.googlecode.com/svn/website/release/ +MASTER_SITES= http://pcmanx-gtk2.googlecode.com/files/ DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} MAINTAINER= ports@FreeBSD.org @@ -20,8 +22,11 @@ USE_ICONV= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes +MAN1= pcmanx.1 -OPTIONS= WGET "enable wget support for download articles" on +OPTIONS= WGET "enable wget support for download articles" on \ + NOTIFY "enable libnotify support" off \ + IPLOOKUP "enable IP lookup (download qqwry.dat for use)" off .include <bsd.port.pre.mk> @@ -30,6 +35,16 @@ CONFIGURE_ARGS+=--enable-wget .endif +.if !defined(WITHOUT_NOTIFY) +LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify +CONFIGURE_ARGS+=--enable-libnotify +.endif + +.if !defined(WITHOUT_IPLOOKUP) +CONFIGURE_ARGS+=--enable-iplookup +PKGMESSAGE= ${WRKDIR}/pkg-message +.endif + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" @@ -50,4 +65,12 @@ @${REINPLACE_CMD} -e '136 s/, \(.*\)/,1\);/' \ ${WRKSRC}/src/view/telnetview.cpp +.if !defined(WITHOUT_IPLOOKUP) +post-patch: + @${CP} -f ${FILESDIR}/pkg-message.in ${PKGMESSAGE} + +post-install: + @${CAT} ${PKGMESSAGE} +.endif + .include <bsd.port.post.mk> diff -anu pcmanx.orig/distinfo pcmanx/distinfo --- pcmanx.orig/distinfo 2011-11-15 19:22:13.874732443 +0800 +++ pcmanx/distinfo 2011-11-15 19:22:05.096733882 +0800 @@ -1,2 +1,2 @@ -SHA256 (pcmanx-gtk2-0.3.9.tar.bz2) = 774fb06b48ac773243ce57b87eba4429f4cb05ef1febb87ee489ea6d7c3937b3 -SIZE (pcmanx-gtk2-0.3.9.tar.bz2) = 485014 +SHA256 (pcmanx-gtk2-1.0.tar.bz2) = e755547e41d7ff6920b27371e06a1e54d94a3ed42d56250cd19f7af2616c690e +SIZE (pcmanx-gtk2-1.0.tar.bz2) = 492864 Common subdirectories: pcmanx.orig/files and pcmanx/files diff -anu pcmanx.orig/pkg-plist pcmanx/pkg-plist --- pcmanx.orig/pkg-plist 2011-11-15 19:22:13.874732443 +0800 +++ pcmanx/pkg-plist 2011-11-15 19:22:05.096733882 +0800 @@ -1,7 +1,4 @@ bin/pcmanx -lib/libpcmanx_core.la -lib/libpcmanx_core.so -lib/libpcmanx_core.so.3 share/applications/pcmanx.desktop share/pixmaps/pcmanx.png %%NLS%%share/locale/zh_CN/LC_MESSAGES/pcmanx.mo >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111151126.pAFBQZPR080407>