add lcms port
-- LCMS is the Little Color Management System, a Color Matching Method (CMM) library which implements fast transforms between ICC profiles. Color management refers to techniques that ensure consistent color as images are transferred from scanners or cameras to monitors and printers.
This commit is contained in:
parent
4c9e6b9f16
commit
dee077f8e4
35
graphics/lcms/Makefile
Normal file
35
graphics/lcms/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/12/03 16:35:47 brad Exp $
|
||||
|
||||
COMMENT= "color management library"
|
||||
|
||||
DISTNAME= lcms-1.08
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.littlecms.com/
|
||||
|
||||
HOMEPAGE= http://www.littlecms.com/
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE_FLAGS= DESTDIR="${WRKINST}" PREFIX="${PREFIX}"
|
||||
|
||||
MAKE_FILE= Makefile.openbsd
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
post-extract:
|
||||
@cp -f ${FILESDIR}/Makefile.openbsd ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms
|
||||
${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/lcms
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKSRC}/../testbed && \
|
||||
${MAKE_PROGRAM} CFLAGS="${CFLAGS} -I../include" test
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/lcms/distinfo
Normal file
3
graphics/lcms/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (lcms-1.08.tar.gz) = f2a23515b0c03ce561dc9e2610188eec
|
||||
RMD160 (lcms-1.08.tar.gz) = c7d4b1e01ecc992c06b49594b0790046d8e84dc7
|
||||
SHA1 (lcms-1.08.tar.gz) = 8824234bc4b6782b7336d3bb9c5294bdc796a79e
|
35
graphics/lcms/files/Makefile.openbsd
Normal file
35
graphics/lcms/files/Makefile.openbsd
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile.openbsd,v 1.1.1.1 2001/12/03 16:35:47 brad Exp $
|
||||
# Makefile for lcms
|
||||
|
||||
PREFIX?= /usr/local
|
||||
LIBDIR= ${PREFIX}/lib
|
||||
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 8
|
||||
|
||||
LIB= lcms
|
||||
SRCS!= ${MAKE} -f ${.CURDIR}/Makefile -V SRCS
|
||||
|
||||
HDRS= lcms.h icc34.h
|
||||
|
||||
CFLAGS+= -Wall
|
||||
CPPFLAGS+= -I${.CURDIR}/../include
|
||||
|
||||
NOPROFILE= Yes
|
||||
DEBUGLIBS= No
|
||||
|
||||
beforeinstall:
|
||||
if [ ! -d ${DESTDIR}${PREFIX}/include ]; then \
|
||||
${INSTALL} -d -o root -g wheel ${DESTDIR}${PREFIX}/include; \
|
||||
fi
|
||||
if [ ! -d ${DESTDIR}${LIBDIR} ]; then \
|
||||
${INSTALL} -d -o root -g wheel ${DESTDIR}${LIBDIR}; \
|
||||
fi
|
||||
|
||||
afterinstall:
|
||||
@rm -f ${DESTDIR}${LIBDIR}/liblcms_pic.a
|
||||
cd ${.CURDIR}/../include; ${INSTALL} ${INSTALL_COPY} -o \
|
||||
${SHAREOWN} -g ${SHAREGRP} -m ${NONBINMODE} ${HDRS} \
|
||||
${DESTDIR}${PREFIX}/include
|
||||
|
||||
.include <bsd.lib.mk>
|
12
graphics/lcms/patches/patch-.._include_lcms_h
Normal file
12
graphics/lcms/patches/patch-.._include_lcms_h
Normal file
@ -0,0 +1,12 @@
|
||||
--- ../include/lcms.h.orig Sun Dec 2 22:59:00 2001
|
||||
+++ ../include/lcms.h Sun Dec 2 23:05:26 2001
|
||||
@@ -112,6 +112,9 @@
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
# include <sys/types.h>
|
||||
+# if BYTE_ORDER == BIG_ENDIAN
|
||||
+# define USE_BIG_ENDIAN 1
|
||||
+# endif
|
||||
# define USE_INT64 1
|
||||
# undef LONGLONG
|
||||
# define LONGLONG u_int64_t
|
8
graphics/lcms/pkg/DESCR
Normal file
8
graphics/lcms/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
LCMS is the Little Color Management System, a Color Matching Method
|
||||
(CMM) library which implements fast transforms between ICC profiles.
|
||||
|
||||
Color management refers to techniques that ensure consistent color
|
||||
as images are transferred from scanners or cameras to monitors and
|
||||
printers.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
graphics/lcms/pkg/PFRAG.shared
Normal file
3
graphics/lcms/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/12/03 16:35:47 brad Exp $
|
||||
lib/liblcms.so.1.8
|
||||
DYNLIBDIR(%B)
|
8
graphics/lcms/pkg/PLIST
Normal file
8
graphics/lcms/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/12/03 16:35:47 brad Exp $
|
||||
include/icc34.h
|
||||
include/lcms.h
|
||||
lib/liblcms.a
|
||||
share/doc/lcms/LCMSAPI.TXT
|
||||
share/doc/lcms/TUTORIAL.TXT
|
||||
%%SHARED%%
|
||||
@dirrm share/doc/lcms
|
Loading…
Reference in New Issue
Block a user