Date: Thu, 4 Aug 2011 03:23:52 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159477: Update port: graphics/pqiv to 0.11 Message-ID: <20110804032352.1bf5c8fa.tkato432@yahoo.com> Resent-Message-ID: <201108031840.p73IeWtm077217@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159477 >Category: ports >Synopsis: Update port: graphics/pqiv to 0.11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 03 18:40:31 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.11 >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/pqiv/Makefile graphics/pqiv/Makefile --- /usr/ports/graphics/pqiv/Makefile 2010-03-28 17:39:11.000000000 +0900 +++ graphics/pqiv/Makefile 2011-07-21 22:45:37.000000000 +0900 @@ -6,8 +6,7 @@ # PORTNAME= pqiv -PORTVERSION= 0.10.1 -PORTREVISION= 1 +PORTVERSION= 0.11 CATEGORIES= graphics MASTER_SITES= http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/ EXTRACT_SUFX= .tbz @@ -19,7 +18,11 @@ COMPOSITE "Enable support for transparent windows" on \ FADING "Enable support for fading images" on \ COMMANDS "Enable support for external command execution" on \ - CONFIG "Enable support for a configuration file" on + CONFIG "Enable support for a configuration file" on \ + ANIMATIONS "Enable support for animations" on + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/gpl.txt USE_BZIP2= yes USE_GNOME= gtk20 @@ -29,6 +32,9 @@ PORTDOCS= README PLIST_FILES= bin/pqiv +CPPFLAGS= `${pkgconfig_DETECT} --cflags gtk+-2.0 gthread-2.0` +LDFLAGS= `${pkgconfig_DETECT} --libs gtk+-2.0 gthread-2.0` + .include <bsd.port.pre.mk> .if defined(WITHOUT_SORTING) @@ -49,14 +55,17 @@ .if defined(WITHOUT_CONFIG) CFLAGS+= -DNO_CONFIG_FILE .endif +.if defined(WITHOUT_ANIMATIONS) +CFLAGS+= -DNO_ANIMATIONS +.endif post-patch: - @(cd ${WRKSRC} && ${SED} 's|$$PACKAGE_VERSION|${PORTVERSION}|' \ - < pqiv.1.template > pqiv.1) + @(cd ${PATCH_WRKSRC} && ${SED} 's|$$PACKAGE_VERSION|${PORTVERSION}| ; \ + s|$$BINARY_NAME|${PORTNAME}|' < pqiv.1.template > pqiv.1) do-build: - (cd ${WRKSRC} && ${CC} ${CFLAGS} `${pkgconfig_DETECT} --libs --cflags gtk+-2.0 gthread-2.0` \ - ${SORTFILE} pqiv.c -o pqiv) + (cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${SORTFILE} pqiv.c \ + -o pqiv ${LDFLAGS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${PREFIX}/bin diff -urN /usr/ports/graphics/pqiv/distinfo graphics/pqiv/distinfo --- /usr/ports/graphics/pqiv/distinfo 2011-07-04 02:05:18.000000000 +0900 +++ graphics/pqiv/distinfo 2011-07-21 22:12:06.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (pqiv-0.10.1.tbz) = 72a222e3a1eb929aa8f921b3384c30660e9bc04197f57ce20bbee1e2ee46fa7e -SIZE (pqiv-0.10.1.tbz) = 31995 +SHA256 (pqiv-0.11.tbz) = 2f0815105c6c550c2886a8f196b653926e2fd934f51cca3f3b1a87ba84359851 +SIZE (pqiv-0.11.tbz) = 32918 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032352.1bf5c8fa.tkato432>