aboutsummaryrefslogtreecommitdiffstats
path: root/print/kpdftool/Makefile
blob: 0af9bf2e145dd0b8b7750a8e7cd4503da5db5488 (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.23.1
PORTREVISION=   1
CATEGORIES= print kde
MASTER_SITES=   http://www.kde-apps.org/CONTENT/content-files/
DISTFILES=  33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool to ease your PDF related work

RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

USE_ZIP=    yes
USE_QT4=    qt3support moc_build porting_build qmake_build uic3_build
USE_GHOSTSCRIPT_RUN=    yes
MAKE_JOBS_SAFE= yes

DESKTOP_ENTRIES=    "KPDFTool" "${COMMENT}" "kpdftool" \
            "kpdftool" "" false

do-configure:
    cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
        ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/

.include <bsd.port.mk>