422bce3414
my ports in the past 3 weeks while ports were broken on any 10.x machines, which means I'm unable to maintain them. So let people know that there's no available support for them until things are back to normal (which also means that anyone with spare time will be able to fix them without getting approval).
39 lines
940 B
Makefile
39 lines
940 B
Makefile
# New ports collection makefile for: lcms-python
|
|
# Date created: 13/10/2009
|
|
# Whom: stas
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lcms
|
|
PORTVERSION= 1.19
|
|
CATEGORIES= graphics devel python
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.19 \
|
|
http://www.littlecms.com/
|
|
PKGNAMESUFFIX= -python
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Light Color Management System (python bindings)
|
|
|
|
LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms
|
|
|
|
USE_PYTHON= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-python
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
WRKSRC= ${WRKDIR}/lcms-1.19
|
|
PLIST_FILES= ${PYTHON_SITELIBDIR:C,${PREFIX}/?,,}/_lcms.so \
|
|
${PYTHON_SITELIBDIR:C,${PREFIX}/?,,}/lcms.py
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/python && ${SETENV} ${MAKE_ENV} ${MAKE} all
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/python/.libs/_lcms.so \
|
|
${PYTHON_SITELIBDIR}/_lcms.so
|
|
${INSTALL_DATA} ${WRKSRC}/python/lcms.py \
|
|
${PYTHON_SITELIBDIR}/lcms.py
|
|
|
|
.include <bsd.port.post.mk>
|