mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
34f19e5913
- Add LICENSE - Support BUILD_WRKSRC/INSTALL_WRKSRC PR: ports/172018 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
37 lines
758 B
Makefile
37 lines
758 B
Makefile
# Created by: stas
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lcms
|
|
PORTVERSION= 1.19
|
|
CATEGORIES= graphics devel python
|
|
MASTER_SITES= SF
|
|
PKGNAMESUFFIX= -python
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Light Color Management System (python bindings)
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS+= lcms:${PORTSDIR}/graphics/lcms
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/python
|
|
INSTALL_WRKSRC= ${WRKSRC}/python
|
|
|
|
USE_PYTHON= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-python
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_lcms.so \
|
|
%%PYTHON_SITELIBDIR%%/lcms.py
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/.libs/_lcms.so \
|
|
${PYTHON_SITELIBDIR}/_lcms.so
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/lcms.py \
|
|
${PYTHON_SITELIBDIR}/lcms.py
|
|
|
|
.include <bsd.port.mk>
|