aboutsummaryrefslogtreecommitdiffstats
path: root/print/kpdftool/Makefile
blob: cf4d969e0d18bd468a8f0335b2913e350ece8530 (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
36
37
# 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
DEPRECATED= has been broken for 3 months
EXPIRATION_DATE=2010-01-08

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>