Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / qcomicbook / Makefile
1 # Created by: Adam Weinberger <adamw@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       qcomicbook
5 PORTVERSION=    0.9.0
6 PORTREVISION=   8
7 CATEGORIES=     graphics
8 MASTER_SITES=   http://qcomicbook.org/releases/
9
10 MAINTAINER=     makc@FreeBSD.org
11 COMMENT=        Qt-based comic book archive viewer
12
13 LICENSE=        GPLv2
14
15 LIB_DEPENDS=    libpoppler-qt4.so:graphics/poppler-qt4
16
17 USES=           cmake:outsource pkgconfig
18 USE_QT4=        corelib gui linguisttools_build moc_build qmake_build rcc_build \
19                 uic_build xml
20
21 OPTIONS_DEFINE= 7ZIP ACE RAR
22
23 7ZIP_DESC=      7-Zip (.cb7) comic book archives support
24 7ZIP_RUN_DEPENDS=       7z:archivers/p7zip
25
26 ACE_DESC=       ACE (.cba) comic book archives support
27 ACE_RUN_DEPENDS=        unace:archivers/unace
28
29 RAR_DESC=       Rar (.cbr) comic book archives support
30 RAR_RUN_DEPENDS=        unrar:archivers/unrar
31
32 post-patch:
33 # fix man install directory
34         @${REINPLACE_CMD} -E \
35                 -e 's|share/man|man|' \
36                 ${WRKSRC}/help/CMakeLists.txt
37 # fix pixmap location
38         @${REINPLACE_CMD} -E \
39                 -e 's|(qcomicbook.png)|${PREFIX}/share/pixmaps/\1|' \
40                 ${WRKSRC}/data/qcomicbook.desktop
41
42 .include <bsd.port.mk>