aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imgseek/Makefile
blob: c547eb5ed955d4152d6fe825a5e13fab4a9a9133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    imgseek
# Date created:     16 June 2003
# Whom:         Ben Haga <tuxsuximus@hotmail.com>
#
# $FreeBSD$
#

PORTNAME=   imgSeek
PORTVERSION=    0.8.6
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   SFE

MAINTAINER= alfredoj69@gmail.com
COMMENT=    A photo manager and viewer with content-based search

BUILD_DEPENDS=  pyuic:${PORTSDIR}/x11-toolkits/py-qt
RUN_DEPENDS=    pyuic:${PORTSDIR}/x11-toolkits/py-qt
LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        MagickWand.1:${PORTSDIR}/graphics/ImageMagick

USE_PYDISTUTILS=yes
USE_PYTHON= yes
USE_BZIP2=  yes
USE_QT_VER= 3
MAKE_ENV+=  QTDIR="${QT_PREFIX}"
PYDISTUTILS_NOEGGINFO=  yes

post-patch:
    ${REINPLACE_CMD}\
        -e '/^include_dirs =/s|\[\]|["${LOCALBASE}/include"]|'\
        -e '/^library_dirs =/s|\[\]|["${LOCALBASE}/lib"]|'\
        ${WRKSRC}/setup.py

.include <bsd.port.mk>