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
This commit is contained in:
Boris Samorodov 2019-09-13 12:12:13 +00:00
parent c3afc5c781
commit cc8b18f361
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511952
2 changed files with 11 additions and 10 deletions

View File

@ -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}

View File

@ -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