aboutsummaryrefslogtreecommitdiffstats
path: root/print/kpdftool/Makefile
blob: bdee5486f34ce5ee6698c0c16f438249ca3f2ab0 (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
# Created by: Yuan, Jue <yuanjue@yuanjue.net>
# $FreeBSD$

PORTNAME=   kpdftool
PORTVERSION=    0.23.1
PORTREVISION=   2
CATEGORIES= print
MASTER_SITES=   http://www.kde-apps.org/CONTENT/content-files/
DISTFILES=  33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= makc@FreeBSD.org
COMMENT=    Simple utility to manipulate PS and PDF files

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" "Qt;Utility;" 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>