summaryrefslogtreecommitdiff
path: root/sysutils/krename/Makefile
blob: b03f6e93a7b8dfea2858cc566c2dea4cc4947ac2 (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
PORTNAME=	krename
DISTVERSION=	5.0.2
PORTREVISION=	4
CATEGORIES=	sysutils kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}/src

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Powerful batch file renamer for KDE
WWW=		https://userbase.kde.org/KRename

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libtag.so:audio/taglib \
		libexiv2.so:graphics/exiv2 \
		libpodofo09.so:graphics/podofo09 \
		libfreetype.so:print/freetype2

USES=		cmake compiler:c++11-lang gettext kde:5 pkgconfig qt:5 tar:xz xorg
USE_KDE=	auth bookmarks codecs completion config configwidgets \
		coreaddons crash i18n iconthemes itemviews jobwidgets \
		kio service solid widgetsaddons windowsystem xmlgui \
		ecm:build
USE_QT=		concurrent core dbus declarative gui network xml widgets \
		buildtools:build qmake:build
USE_XORG=	x11

# Patch sources to force using include files installed by graphics/podofo09
post-patch:
	@${REINPLACE_CMD} -e '/^#include/s|podofo/podofo.h|podofo09/podofo.h|' \
		${WRKSRC}/src/podofoplugin.cpp

.include <bsd.port.mk>