1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to 0.23.1

Switch to Qt4
Install icons and desktop files
This commit is contained in:
Max Brazhnikov 2012-02-09 01:59:21 +00:00
parent a6201cc707
commit d7ade14b50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290758
3 changed files with 20 additions and 13 deletions

View File

@ -5,8 +5,7 @@
#
PORTNAME= kpdftool
PORTVERSION= 0.22
PORTREVISION= 5
PORTVERSION= 0.23.1
CATEGORIES= print kde
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/
DISTFILES= 33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
@ -14,23 +13,23 @@ DISTFILES= 33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to ease your PDF related work
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
USE_GMAKE= yes
USE_ZIP= yes
USE_QT_VER= 3
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
MAKE_ARGS+= QTDIR=${QT_PREFIX}
USE_QT_VER= 4
QT_COMPONENTS= 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}; \
${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro;
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
PLIST_FILES= bin/kpdftool
cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (33194-kpdftool-0.22.zip) = 8475275b6867c7b5fb97e2bd2c47926d44b49a96ef3d1cb6c6e2161d5c958e5b
SIZE (33194-kpdftool-0.22.zip) = 6359
SHA256 (33194-kpdftool-0.23.1.zip) = 2835ab071810642412a42284478a56ec0ce3b7ecdd103854958801f0bfa4cd8b
SIZE (33194-kpdftool-0.23.1.zip) = 68543

8
print/kpdftool/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/kpdftool
share/icons/hicolor/128x128/apps/kpdftool.png
share/icons/hicolor/16x16/apps/kpdftool.png
share/icons/hicolor/22x22/apps/kpdftool.png
share/icons/hicolor/32x32/apps/kpdftool.png
share/icons/hicolor/48x48/apps/kpdftool.png
share/icons/hicolor/64x64/apps/kpdftool.png
share/icons/hicolor/scalable/apps/kpdftool.svgz