diff options
author | danilo <danilo@FreeBSD.org> | 2013-12-20 13:13:31 +0000 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-12-20 13:13:31 +0000 |
commit | d5dd11a76e0a5410e16d8d45829859e5729294fe (patch) | |
tree | b8a4f200d92d41b3348d6eaf9b2d31d2722525df | |
parent | e8338e4f08a50d4a7375481be324573051b17f6a (diff) | |
download | FreeBSD-ports-d5dd11a76e0a5410e16d8d45829859e5729294fe.zip FreeBSD-ports-d5dd11a76e0a5410e16d8d45829859e5729294fe.tar.gz |
- Update from 2.2.4 to 2.3.1
- Take maintainership
- Remove deprecated option
- Add stage support
-rw-r--r-- | graphics/qiv/Makefile | 28 | ||||
-rw-r--r-- | graphics/qiv/distinfo | 4 | ||||
-rw-r--r-- | graphics/qiv/files/patch-Makefile | 13 |
3 files changed, 23 insertions, 22 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile index c24d18e..3a798d0 100644 --- a/graphics/qiv/Makefile +++ b/graphics/qiv/Makefile @@ -2,39 +2,27 @@ # $FreeBSD$ PORTNAME= qiv -PORTVERSION= 2.2.4 -PORTREVISION= 1 +PORTVERSION= 2.3.1 CATEGORIES= graphics MASTER_SITES= http://spiegl.de/qiv/download/ \ http://www.predatorlabs.net/dl/ EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danilo@FreeBSD.org COMMENT= Small, fast GDK/Imlib2 image viewer LICENSE= GPLv2 -LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 +LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 \ + liblcms2.so:${PORTSDIR}/graphics/lcms2 \ + libexif.so:${PORTSDIR}/graphics/libexif USES= gmake pkgconfig USE_GNOME= gtk20 -OPTIONS_DEFINE= XINERAMA - -MAN1= qiv.1 -PLIST_FILES= bin/qiv +PLIST_FILES= bin/qiv man/man1/qiv.1.gz USE_XORG+= x11 -NO_STAGE= yes -.include <bsd.port.options.mk> - -post-patch-script: -.if ${PORT_OPTIONS:MXINERAMA} -USE_XORG+= xinerama -.else - @${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile -.endif - do-configure: @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \ s|gcc|${CC}|; \ @@ -43,7 +31,7 @@ do-configure: ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ .include <bsd.port.mk> diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo index 58ebfa5..a085d26 100644 --- a/graphics/qiv/distinfo +++ b/graphics/qiv/distinfo @@ -1,2 +1,2 @@ -SHA256 (qiv-2.2.4.tgz) = ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7 -SIZE (qiv-2.2.4.tgz) = 98874 +SHA256 (qiv-2.3.1.tgz) = 675396b539e6511135fe73c867f9fdd6d912c24c7562797cb047c27d0c2c8ee6 +SIZE (qiv-2.3.1.tgz) = 130621 diff --git a/graphics/qiv/files/patch-Makefile b/graphics/qiv/files/patch-Makefile new file mode 100644 index 0000000..cc3c7d17 --- /dev/null +++ b/graphics/qiv/files/patch-Makefile @@ -0,0 +1,13 @@ +--- ./Makefile.orig 2013-12-20 10:43:05.000000000 -0200 ++++ ./Makefile 2013-12-20 10:43:25.000000000 -0200 +@@ -52,8 +52,8 @@ + CC = gcc + #CFLAGS = -O0 -g -Wall + CFLAGS = -O2 -Wall \ +- -fcaller-saves -ffast-math -fno-strength-reduce \ +- -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN ++ -ffast-math -fno-strength-reduce \ ++ #-march=pentium #-DSTAT_MACROS_BROKEN + #CFLAGS = -O2 -Wall -fomit-frame-pointer -finline-functions \ + # -fcaller-saves -ffast-math -fno-strength-reduce \ + # -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN |