From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 14:18:12 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03749865; Fri, 20 Dec 2013 14:18:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E33E41844; Fri, 20 Dec 2013 14:18:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKEIBDS083499; Fri, 20 Dec 2013 14:18:11 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKEIBLd083497; Fri, 20 Dec 2013 14:18:11 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201312201418.rBKEIBLd083497@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Fri, 20 Dec 2013 14:18:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337014 - in head/graphics/pqiv: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 14:18:12 -0000 Author: danilo Date: Fri Dec 20 14:18:11 2013 New Revision: 337014 URL: http://svnweb.freebsd.org/changeset/ports/337014 Log: - Update from 0.12 to 2.1 - Take maintainership - Remove all deprecated options - Add shebangfix to USES - Add GTK2 and GTK3 options - Add stage support Deleted: head/graphics/pqiv/files/ Modified: head/graphics/pqiv/Makefile head/graphics/pqiv/distinfo Modified: head/graphics/pqiv/Makefile ============================================================================== --- head/graphics/pqiv/Makefile Fri Dec 20 14:16:06 2013 (r337013) +++ head/graphics/pqiv/Makefile Fri Dec 20 14:18:11 2013 (r337014) @@ -2,83 +2,46 @@ # $FreeBSD$ PORTNAME= pqiv -PORTVERSION= 0.12 -PORTREVISION= 1 +PORTVERSION= 2.1 CATEGORIES= graphics -MASTER_SITES= GHC -EXTRACT_SUFX= .tbz +MASTER_SITES= GH -MAINTAINER= ports@FreeBSD.org +DISTNAME= ${PORTVERSION} + +MAINTAINER= danilo@FreeBSD.org COMMENT= Pretty Quick Image Viewer LICENSE= GPLv2 -OPTIONS_DEFINE= SORTING COMPOSITE FADING COMMANDS CONFIG ANIMATIONS DOCS -OPTIONS_DEFAULT=SORTING COMPOSITE FADING COMMANDS CONFIG ANIMATIONS -SORTING_DESC= Enable sorting of loaded files -COMPOSITE_DESC= Enable support for transparent windows -FADING_DESC= Enable support for fading images -COMMANDS_DESC= Enable support for external command execution -CONFIG_DESC= Enable support for a configuration file -ANIMATIONS_DESC=Enable support for animations +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= phillipberndt -WRKSRC= ${WRKDIR}/${DISTNAME} +WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-184ef87 -USES= pkgconfig -USE_BZIP2= yes -USE_GNOME= gtk20 -USE_CSTD= gnu89 -CFLAGS+= -DNO_INOTIFY -DBINARY_NAME=\"${PORTNAME}\" +OPTIONS_SINGLE= GTK +OPTIONS_SINGLE_GTK= GTK2 GTK3 +OPTIONS_DEFAULT= GTK2 -MAN1= pqiv.1 -PORTDOCS= README.markdown -PLIST_FILES= bin/pqiv +USES= gmake pkgconfig shebangfix +SHEBANG_FILES= configure +USE_BZIP2= yes +HAS_CONFIGURE= yes -CPPFLAGS+= `pkg-config --cflags gtk+-2.0 gthread-2.0` -LDFLAGS+= `pkg-config --libs gtk+-2.0 gthread-2.0` +GTK2_CONFIGURE_ON= --gtk-version=2 +GTK2_USE= GNOME=gtk20 -NO_STAGE= yes -.include +GTK3_CONFIGURE_ON= --gtk-version=3 +GTK3_USE= GNOME=gtk30 -.if empty(PORT_OPTIONS:MSORTING) -CFLAGS+= -DNO_SORTING -SORTFILE= # Empty -.else -SORTFILE= lib/strnatcmp.c -.endif -.if empty(PORT_OPTIONS:MCOMPOSITE) -CFLAGS+= -DNO_COMPOSITING -.endif -.if empty(PORT_OPTIONS:MFADING) -CFLAGS+= -DNO_FADING -.endif -.if empty(PORT_OPTIONS:MCOMMANDS) -CFLAGS+= -DNO_COMMANDS -.endif -.if empty(PORT_OPTIONS:MCONFIG) -CFLAGS+= -DNO_CONFIG_FILE -.endif -.if empty(PORT_OPTIONS:MANIMATIONS) -CFLAGS+= -DNO_ANIMATIONS -.endif - -post-patch: - @(cd ${PATCH_WRKSRC} && ${SED} 's|$$PACKAGE_VERSION|${PORTVERSION}| ; \ - s|$$BINARY_NAME|${PORTNAME}|' < pqiv.1.template > pqiv.1) - -do-build: - (cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${SORTFILE} pqiv.c \ - -o pqiv ${LDFLAGS}) +PORTDOCS= README.markdown +PLIST_FILES= bin/pqiv man/man1/pqiv.1.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.markdown ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} .include Modified: head/graphics/pqiv/distinfo ============================================================================== --- head/graphics/pqiv/distinfo Fri Dec 20 14:16:06 2013 (r337013) +++ head/graphics/pqiv/distinfo Fri Dec 20 14:18:11 2013 (r337014) @@ -1,2 +1,2 @@ -SHA256 (pqiv-0.12.tbz) = 646c69f2f4e7289913f6b8e8ae984befba9debf0d2b4cc8af9955504a1fccf1e -SIZE (pqiv-0.12.tbz) = 33284 +SHA256 (2.1.tar.bz2) = d1028f17606f21a700e64720282cdb383f5eef874879abfbecfe8636752c4f1e +SIZE (2.1.tar.bz2) = 49568