summaryrefslogtreecommitdiff
path: root/x11/xcalib
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xcalib')
-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
5 files changed, 75 insertions, 0 deletions
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%%