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

PORTNAME=   kpdftool
PORTVERSION=    0.22
PORTREVISION=   1
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>