summaryrefslogtreecommitdiffstats
path: root/print/kpdftool/Makefile
blob: 6676be68db17489611334f404881466de5c0ea45 (plain)
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
# New ports collection makefile for:	kpdftool
# Date created:				04 May 2006
# Whom:					Yuan, Jue <yuanjue@yuanjue.net>
# $FreeBSD$
#

PORTNAME=	kpdftool
PORTVERSION=	0.22
PORTREVISION=	3
CATEGORIES=	print kde
MASTER_SITES=	http://www.yuanjue.net/download/

MAINTAINER=	yuanjue@yuanjue.net
COMMENT=	Tool to ease your PDF related work

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick

USE_GMAKE=	yes
USE_QT_VER=	3
CONFIGURE_ENV=	QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
MAKE_ARGS+=	QTDIR=${QT_PREFIX}

do-configure:
	cd ${WRKSRC}; \
	${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro;

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

PLIST_FILES=	bin/kpdftool

.include <bsd.port.mk>
OpenPOWER on IntegriCloud