summaryrefslogtreecommitdiff
path: root/graphics/lcms-python
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-27 19:58:37 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-27 19:58:37 +0000
commita087baee3bbe8d8786768ea69104211aa3921cb2 (patch)
treed2afa0b9a413cd283366c315ab7e2d002d91994b /graphics/lcms-python
parentNew port: devel/libqcow (diff)
- Add staging support
- Convert to new LIB_DEPENDS format - Remove non-standard info from pkg-descr
Diffstat (limited to 'graphics/lcms-python')
-rw-r--r--graphics/lcms-python/Makefile10
-rw-r--r--graphics/lcms-python/pkg-descr3
2 files changed, 5 insertions, 8 deletions
diff --git a/graphics/lcms-python/Makefile b/graphics/lcms-python/Makefile
index a247e1bcfeb4..872e7dfe5d22 100644
--- a/graphics/lcms-python/Makefile
+++ b/graphics/lcms-python/Makefile
@@ -12,7 +12,7 @@ COMMENT= Light Color Management System (python bindings)
LICENSE= MIT
-LIB_DEPENDS+= lcms:${PORTSDIR}/graphics/lcms
+LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${WRKSRC}/python
@@ -28,11 +28,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_lcms.so \
%%PYTHON_SITELIBDIR%%/lcms.py
-NO_STAGE= yes
do-install:
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/.libs/_lcms.so \
- ${PYTHON_SITELIBDIR}/_lcms.so
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_LIB} ${INSTALL_WRKSRC}/.libs/_lcms.so \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/_lcms.so
${INSTALL_DATA} ${INSTALL_WRKSRC}/lcms.py \
- ${PYTHON_SITELIBDIR}/lcms.py
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/lcms.py
.include <bsd.port.mk>
diff --git a/graphics/lcms-python/pkg-descr b/graphics/lcms-python/pkg-descr
index 87b019aa8e59..b358f77f6665 100644
--- a/graphics/lcms-python/pkg-descr
+++ b/graphics/lcms-python/pkg-descr
@@ -7,6 +7,3 @@ as images are transferred from scanners or cameras to monitors and
printers.
WWW: http://www.littlecms.com/
-
-Mikhail Teterin
-mi@aldan.algebra.com