2012-11-10 12:41:06 +01:00
|
|
|
# Created by: stas
|
2009-10-13 13:20:29 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lcms
|
2009-12-15 06:20:38 +01:00
|
|
|
PORTVERSION= 1.19
|
2009-10-13 13:21:40 +02:00
|
|
|
CATEGORIES= graphics devel python
|
2012-11-10 12:41:06 +01:00
|
|
|
MASTER_SITES= SF
|
2009-10-13 13:20:29 +02:00
|
|
|
PKGNAMESUFFIX= -python
|
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-10-13 13:20:29 +02:00
|
|
|
COMMENT= Light Color Management System (python bindings)
|
|
|
|
|
2012-11-10 12:41:06 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= liblcms.so:graphics/lcms
|
2012-11-10 12:41:06 +01:00
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/python
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/python
|
2009-10-13 13:20:29 +02:00
|
|
|
|
2014-10-21 18:36:12 +02:00
|
|
|
USES= python:2
|
2009-10-13 13:20:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-python
|
2013-12-15 14:50:31 +01:00
|
|
|
CONFIGURE_ENV= PYTHON="${PYTHON_CMD}"
|
2009-10-13 13:20:29 +02:00
|
|
|
|
2012-11-10 12:41:06 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-10-13 13:20:29 +02:00
|
|
|
|
2012-11-10 12:41:06 +01:00
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_lcms.so \
|
|
|
|
%%PYTHON_SITELIBDIR%%/lcms.py
|
2009-10-13 13:20:29 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-04-27 21:58:37 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
|
|
|
${INSTALL_LIB} ${INSTALL_WRKSRC}/.libs/_lcms.so \
|
|
|
|
${STAGEDIR}${PYTHON_SITELIBDIR}/_lcms.so
|
2012-11-10 12:41:06 +01:00
|
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/lcms.py \
|
2014-04-27 21:58:37 +02:00
|
|
|
${STAGEDIR}${PYTHON_SITELIBDIR}/lcms.py
|
2009-10-13 13:20:29 +02:00
|
|
|
|
2012-11-10 12:41:06 +01:00
|
|
|
.include <bsd.port.mk>
|