freebsd-ports/print/kpdftool/Makefile
Xin LI 5496cfb272 Add kpdftool, a tool to ease your PDF related work.
Submitted by:	Yuan Jue <yuanjue at yuanjue net>
PR:		ports/96773
Approved by:	mentor (sem)
2006-05-11 17:26:35 +00:00

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>