aboutsummaryrefslogtreecommitdiff
path: root/graphics/imgseek/Makefile
blob: af84906c805c4a41ca34fe37c419648c89649863 (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=	10
CATEGORIES=	graphics
MASTER_SITES=	SF

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.11:${PORTSDIR}/graphics/jpeg \
		MagickWand.3:${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>