From cc8b18f3614064fc28c4c9eed0848d9da259d274 Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Fri, 13 Sep 2019 12:12:13 +0000 Subject: [PATCH] x11/xcalib: Update to version 0.10 Changes (the soft): - fix incorrect use of X11 screen and output; - rename -s to -o option. Changes (the port): - switch to github; - incorporate USES=xorg; - no need for xorg:sm dependency --- x11/xcalib/Makefile | 15 ++++++++------- x11/xcalib/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile index a798f96fbb2e..deabf4b21bea 100644 --- a/x11/xcalib/Makefile +++ b/x11/xcalib/Makefile @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= xcalib -PORTVERSION= 0.9.0 -PORTREVISION= 1 +PORTVERSION= 0.10 +PORTREVISION= 0 CATEGORIES= x11 graphics -MASTER_SITES= SF/openicc/xcalib/xcalib%200.9/ MAINTAINER= bsam@FreeBSD.org COMMENT= Program for X11 display calibration with ICC profiles @@ -13,10 +12,13 @@ COMMENT= Program for X11 display calibration with ICC profiles LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= tar:bz2 -USE_XORG= sm x11 xext xrandr xxf86vm +USE_GITHUB= yes +GH_ACCOUNT= OpenICC -PORTDOCS= README README.profilers +USES= tar:bz2 xorg +USE_XORG= x11 xext xrandr xxf86vm + +PORTDOCS= README.md README.profilers PORTEXAMPLES= * PLIST_FILES= bin/${PORTNAME} @@ -26,7 +28,6 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' -e 's|0644|0555|g'\ -e 's|CFLAGS =|CFLAGS ?=|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|if(i=0)|else|g' ${WRKSRC}/xcalib.c do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} diff --git a/x11/xcalib/distinfo b/x11/xcalib/distinfo index c9ecef7fac32..febc6acd3cdb 100644 --- a/x11/xcalib/distinfo +++ b/x11/xcalib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1482621088 -SHA256 (xcalib-0.9.0.tar.bz2) = 05c330c56ca8b4aa3b20720225ae264676d79264f2a0017d0c857380ecda1128 -SIZE (xcalib-0.9.0.tar.bz2) = 35520 +TIMESTAMP = 1568373069 +SHA256 (OpenICC-xcalib-0.10_GH0.tar.gz) = 67dbf2dcc4ae67fde48b48630980c1fa6f89fda5810347f616ec85094c274055 +SIZE (OpenICC-xcalib-0.10_GH0.tar.gz) = 36769