# New ports collection makefile for: lphoto # Date created: 2004-06-03 # Whom: michael johnson # # $FreeBSD$ # PORTNAME= lphoto PORTVERSION= 2.0.42 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://software.linspire.com/emptypool/lindowsos/pool/main/l/lphoto/ DISTNAME= ${PORTNAME}_${PORTVERSION}-0.0.0.45.lindows0.1 MAINTAINER= ports@FreeBSD.org COMMENT= A complete desktop solution for digital photo management BUILD_DEPENDS= kdepyuic:${PORTSDIR}/x11-toolkits/py-kde # libs for burning cd/vcd in lphoto, does not work in freebsd. #LIB_DEPENDS= Magick.8:${PORTSDIR}/graphics/ImageMagick \ # vcdinfo.0:${PORTSDIR}/multimedia/vcdimager \ # avcodec.1:${PORTSDIR}/multimedia/ffmpeg RUN_DEPENDS= gphoto2:${PORTSDIR}/graphics/gphoto2 \ kdepyuic:${PORTSDIR}/x11-toolkits/py-kde \ ${PYTHON_SITELIBDIR}/OpenGL/GL/GL__init__.py:${PORTSDIR}/graphics/py-opengl # cdrecord:${PORTSDIR}/sysutils/cdrtools USE_REINPLACE= yes USE_PYTHON= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include .if ${ARCH}=="i386" .if ${MACHINE_CPU:Mmmx} && !defined(WITHOUT_JPEGMMX) RUN_DEPENDS+= jpegtran-mmx:${PORTSDIR}/graphics/jpeg-mmx pre_everything:: @${ECHO_MSG} "===> Define WITHOUT_JPEGMMX to disable jpeg-mmx support" @${ECHO_MSG} "===>" post-patch: @${REINPLACE_CMD} -e 's|jpegtran|jpegtran-mmx|' \ ${WRKSRC}/Lphoto/photolibrary.py .endif .endif do-install: @cd ${WRKSRC} && ${PYTHON_CMD} install.py -d ${PREFIX}/${PYTHON_SITELIBDIR:S/${PYTHONBASE}//} -b ${PREFIX}/bin .include