summaryrefslogtreecommitdiff
path: root/x11/xcalib
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2011-10-30 19:56:56 +0000
committerjakllsch <jakllsch@pkgsrc.org>2011-10-30 19:56:56 +0000
commitcd5a755c70b634e01bce4b0bbcddf71ee757123e (patch)
tree1018192babd7e7b756892590297583f6f0d4de0d /x11/xcalib
parentca86b6a3490f3ff9c2c0fbceb6553493f9e4ef0d (diff)
downloadpkgsrc-cd5a755c70b634e01bce4b0bbcddf71ee757123e.tar.gz
Add xcalib.
Loads VCGT tag of monitor ICC profile into X server LUT.
Diffstat (limited to 'x11/xcalib')
-rw-r--r--x11/xcalib/DESCR1
-rw-r--r--x11/xcalib/Makefile35
-rw-r--r--x11/xcalib/PLIST2
-rw-r--r--x11/xcalib/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/x11/xcalib/DESCR b/x11/xcalib/DESCR
new file mode 100644
index 00000000000..5528e11558b
--- /dev/null
+++ b/x11/xcalib/DESCR
@@ -0,0 +1 @@
+Loads VCGT tag of monitor ICC profile into X server LUT.
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile
new file mode 100644
index 00000000000..aafca0da70e
--- /dev/null
+++ b/x11/xcalib/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/30 19:56:56 jakllsch Exp $
+#
+
+DISTNAME= xcalib-source-0.8
+PKGNAME= ${DISTNAME:C/-source//}
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcalib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://xcalib.sourceforge.net/
+COMMENT= TODO: Short description of the package
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/${DISTNAME:C/-source//}
+
+USE_LIBTOOL= yes
+INSTALLATION_DIRS= bin
+
+do-build:
+ cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} -c xcalib.c
+ cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} \
+ ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \
+ ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \
+ -lm -lX11 -lXxf86vm \
+ -o xcalib xcalib.lo
+
+do-install:
+ ${SETENV} ${MAKE_ENV} ${LIBTOOL} --tag=CC --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/xcalib ${DESTDIR}${PREFIX}/bin/
+
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xcalib/PLIST b/x11/xcalib/PLIST
new file mode 100644
index 00000000000..c6aaa704651
--- /dev/null
+++ b/x11/xcalib/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/30 19:56:56 jakllsch Exp $
+bin/xcalib
diff --git a/x11/xcalib/distinfo b/x11/xcalib/distinfo
new file mode 100644
index 00000000000..f8b921e0c18
--- /dev/null
+++ b/x11/xcalib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/30 19:56:56 jakllsch Exp $
+
+SHA1 (xcalib-source-0.8.tar.gz) = 93565ff3df6cf78fd8d1cbeefd094aea6ba070fd
+RMD160 (xcalib-source-0.8.tar.gz) = 5cf0674c1c5687d930a1653dc39f9b241000bfda
+Size (xcalib-source-0.8.tar.gz) = 32782 bytes