aboutsummaryrefslogtreecommitdiffstats
path: root/print/kpdftool/Makefile
blob: 555a4a8da586649b6798c148f168a95aced5f146 (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:    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= ports@FreeBSD.org
COMMENT=    Tool to ease your PDF related work

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

BROKEN=     checksum mismatch

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>