5496cfb272
Submitted by: Yuan Jue <yuanjue at yuanjue net> PR: ports/96773 Approved by: mentor (sem)
32 lines
786 B
Makefile
32 lines
786 B
Makefile
# New ports collection makefile for: kpdftool
|
|
# Date created: 04 May 2006
|
|
# Whom: Yuan, Jue <yuanjue@yuanjue.net>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kpdftool
|
|
PORTVERSION= 0.22
|
|
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=${X11BASE}
|
|
|
|
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>
|