diff options
author | pawel <pawel@FreeBSD.org> | 2012-11-10 19:41:06 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-11-10 19:41:06 +0800 |
commit | 10176b687bfca146e7e2b508bfd362eb23918699 (patch) | |
tree | 2dd4a049b71d178da2fb48c37a7b66c451e9fbbb /graphics | |
parent | ffcaad0c8f620fd5e169f2bb72994754d1acb503 (diff) | |
download | freebsd-ports-gnome-10176b687bfca146e7e2b508bfd362eb23918699.tar.gz freebsd-ports-gnome-10176b687bfca146e7e2b508bfd362eb23918699.tar.zst freebsd-ports-gnome-10176b687bfca146e7e2b508bfd362eb23918699.zip |
- Update MASTER_SITES
- Add LICENSE
- Support BUILD_WRKSRC/INSTALL_WRKSRC
PR: ports/172018
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lcms-python/Makefile | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/graphics/lcms-python/Makefile b/graphics/lcms-python/Makefile index db1aec1679f0..5cc8982f9f5b 100644 --- a/graphics/lcms-python/Makefile +++ b/graphics/lcms-python/Makefile @@ -1,39 +1,36 @@ -# New ports collection makefile for: lcms-python -# Date created: 13/10/2009 -# Whom: stas -# +# Created by: stas # $FreeBSD$ -# PORTNAME= lcms PORTVERSION= 1.19 CATEGORIES= graphics devel python -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.19 \ - http://www.littlecms.com/ +MASTER_SITES= SF PKGNAMESUFFIX= -python MAINTAINER= ports@FreeBSD.org COMMENT= Light Color Management System (python bindings) -LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms +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 -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> +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -do-build: - cd ${WRKSRC}/python && ${SETENV} ${MAKE_ENV} ${MAKE} all +PLIST_FILES= %%PYTHON_SITELIBDIR%%/_lcms.so \ + %%PYTHON_SITELIBDIR%%/lcms.py do-install: - ${INSTALL_DATA} ${WRKSRC}/python/.libs/_lcms.so \ + ${INSTALL_DATA} ${INSTALL_WRKSRC}/.libs/_lcms.so \ ${PYTHON_SITELIBDIR}/_lcms.so - ${INSTALL_DATA} ${WRKSRC}/python/lcms.py \ + ${INSTALL_DATA} ${INSTALL_WRKSRC}/lcms.py \ ${PYTHON_SITELIBDIR}/lcms.py -.include <bsd.port.post.mk> +.include <bsd.port.mk> |