Date: Fri, 20 Dec 2013 14:18:11 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337014 - in head/graphics/pqiv: . files Message-ID: <201312201418.rBKEIBLd083497@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201418.rBKEIBLd083497>