diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:24:49 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:24:49 +0800 |
commit | a7ff004fda15b3ce55591da92d57c6699d308c91 (patch) | |
tree | c7966a6e3200d0bc649d7477d49b67605d8b5665 /graphics | |
parent | 0b7f5fa67324032d7483f9c115f2bf9867b87743 (diff) | |
download | freebsd-ports-gnome-a7ff004fda15b3ce55591da92d57c6699d308c91.tar.gz freebsd-ports-gnome-a7ff004fda15b3ce55591da92d57c6699d308c91.tar.zst freebsd-ports-gnome-a7ff004fda15b3ce55591da92d57c6699d308c91.zip |
Update to 0.11
PR: 159477
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pqiv/Makefile | 22 | ||||
-rw-r--r-- | graphics/pqiv/distinfo | 4 |
2 files changed, 17 insertions, 9 deletions
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile index 9d02830bfaeb..863a168531de 100644 --- a/graphics/pqiv/Makefile +++ b/graphics/pqiv/Makefile @@ -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 @@ -15,11 +14,14 @@ EXTRACT_SUFX= .tbz MAINTAINER= ports@FreeBSD.org COMMENT= Pretty Quick Image Viewer +LICENSE= GPLv2 + OPTIONS= SORTING "Enable sorting of loaded files" on \ 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 USE_BZIP2= yes USE_GNOME= gtk20 @@ -29,6 +31,9 @@ MAN1= pqiv.1 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 +54,17 @@ CFLAGS+= -DNO_COMMANDS .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 --git a/graphics/pqiv/distinfo b/graphics/pqiv/distinfo index 31cb104149c9..7bd0b34a8881 100644 --- a/graphics/pqiv/distinfo +++ b/graphics/pqiv/distinfo @@ -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 |