# Created by: Markus Brueffer # $FreeBSD: head/deskutils/kchmviewer-kde4/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= kchmviewer PORTVERSION= 7.2 DISTVERSIONSUFFIX= .1 PORTREVISION= 1 CATEGORIES= deskutils kde MASTER_SITES= SF MAINTAINER= makc@FreeBSD.org COMMENT= KDE viewer for CHM files LIB_DEPENDS= libchm.so:misc/chmlib \ libzip.so:archivers/libzip USES= cmake:outsource gettext-tools USE_KDE4= kdeprefix kdelibs automoc4 USE_QT4= webkit qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} post-patch: ${REINPLACE_CMD} 's,/usr/bin/kate,${KDE4_PREFIX}/bin/kate,' \ ${WRKSRC}/src/config.cpp post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/packages/kchmviewer.png ${STAGEDIR}${PREFIX}/share/pixmaps .include