aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-04-06 17:15:13 +0800
committerpav <pav@FreeBSD.org>2005-04-06 17:15:13 +0800
commitdc657827dd72727869508392c581da7b3b602654 (patch)
tree9cd8ae005e14a391373d364c6ff034ccb1d3f5dc /x11
parentd390ad52a889a8b07275a365b31b3e5fa8480c2f (diff)
downloadfreebsd-ports-gnome-dc657827dd72727869508392c581da7b3b602654.tar.gz
freebsd-ports-gnome-dc657827dd72727869508392c581da7b3b602654.tar.zst
freebsd-ports-gnome-dc657827dd72727869508392c581da7b3b602654.zip
xcalib is a program that allows you to use ICC profiles (to load its
'vcgt'-tag) for display calibration on X11-Servers with XVidModeExtension supported (like X.org or XFree86 4.x.x). It can't create the profiles so you need to acquire them elsewhere (e.g. from some commercial program or from your display vendor). PR: ports/79593 Submitted by: Petr Holub <hopet@ics.muni.cz>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/xcalib/Makefile33
-rw-r--r--x11/xcalib/distinfo2
-rw-r--r--x11/xcalib/files/patch-icclib-Makefile.UNIX11
-rw-r--r--x11/xcalib/pkg-descr21
-rw-r--r--x11/xcalib/pkg-plist8
6 files changed, 76 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 3b1004b8f87d..10615448a0c7 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -202,6 +202,7 @@
SUBDIR += xbelld
SUBDIR += xbindkeys
SUBDIR += xbindkeys_config
+ SUBDIR += xcalib
SUBDIR += xcb
SUBDIR += xclip
SUBDIR += xcmd
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile
new file mode 100644
index 000000000000..52aecd4b9de7
--- /dev/null
+++ b/x11/xcalib/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: xcalib
+# Date created: 5 April 2005
+# Whom: Petr Holub <hopet@ics.muni.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xcalib
+PORTVERSION= 0.5
+CATEGORIES= x11 graphics
+MASTER_SITES= http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/
+DISTNAME= ${PORTNAME}-source-${PORTVERSION}
+
+MAINTAINER= hopet@ics.muni.cz
+COMMENT= A program for display calibration of X11-Servers with ICC profiles
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+ALL_TARGET= icclib_xcalib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xcalib ${PREFIX}/bin
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.icc ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for FILE in README README.profilers
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11/xcalib/distinfo b/x11/xcalib/distinfo
new file mode 100644
index 000000000000..84e8dc588347
--- /dev/null
+++ b/x11/xcalib/distinfo
@@ -0,0 +1,2 @@
+MD5 (xcalib-source-0.5.tar.gz) = dc7854e6f9301cb62370cb61f16bb685
+SIZE (xcalib-source-0.5.tar.gz) = 141160
diff --git a/x11/xcalib/files/patch-icclib-Makefile.UNIX b/x11/xcalib/files/patch-icclib-Makefile.UNIX
new file mode 100644
index 000000000000..f438caf4fcdc
--- /dev/null
+++ b/x11/xcalib/files/patch-icclib-Makefile.UNIX
@@ -0,0 +1,11 @@
+--- icclib/Makefile.UNIX Tue Jan 4 00:31:42 2005
++++ icclib/Makefile.UNIX.orig Wed Apr 6 11:10:31 2005
+@@ -19,7 +19,7 @@
+
+ MAKEU = make
+ LIBU = ar -r
+-LIBOF = -o
++LIBOF =
+ RANLIB = echo
+ AS = as
+ CCFLAGSDEF = -DUNIX -c
diff --git a/x11/xcalib/pkg-descr b/x11/xcalib/pkg-descr
new file mode 100644
index 000000000000..3d08c601d9bc
--- /dev/null
+++ b/x11/xcalib/pkg-descr
@@ -0,0 +1,21 @@
+xcalib is a program that allows you to use ICC profiles (to load its
+'vcgt'-tag) for display calibration on X11-Servers with XVidModeExtension
+supported (like X.org or XFree86 4.x.x). It can't create the profiles
+so you need to acquire them elsewhere (e.g. from some commercial
+program or from your display vendor).
+
+xcalib is a postcardware. So if you like this program, send a picture postcard
+from your country/area to:
+
+ Stefan Doehla
+ Steinselb 7
+ 95100 Selb
+ GERMANY
+
+
+The latest version is 0.5 (as of April, 2004)
+
+WWW: http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/
+
+- Petr
+hopet@ics.muni.cz
diff --git a/x11/xcalib/pkg-plist b/x11/xcalib/pkg-plist
new file mode 100644
index 000000000000..64bbb0da10d0
--- /dev/null
+++ b/x11/xcalib/pkg-plist
@@ -0,0 +1,8 @@
+bin/xcalib
+%%DOCSDIR%%/README
+%%DOCSDIR%%/README.profilers
+%%EXAMPLESDIR%%/bluish.icc
+%%EXAMPLESDIR%%/gamma_1_0.icc
+%%EXAMPLESDIR%%/gamma_2_2.icc
+@dirrm %%EXAMPLESDIR%%
+@dirrm %%DOCSDIR%%