freebsd-ports/graphics/sk1libs/Makefile
Dmitry Marakasov f6bdfc39c1 - Support staging
- Use new LIB_DEPENDS syntax
2013-10-16 23:54:45 +00:00

28 lines
731 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= sk1libs
PORTVERSION= 0.9.1
CATEGORIES= graphics python
MASTER_SITES= GOOGLE_CODE \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A set of python libraries for sK1 Project
LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libjpeg.so:${PORTSDIR}/graphics/jpeg
PROJECTHOST= uniconvertor
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_BUILD_TARGET=build_ext
PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib \
-I${LOCALBASE}/include:${LOCALBASE}/include/freetype2
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/utils/fs.py
.include <bsd.port.mk>