1 # Created by: Adam Weinberger <adamw@FreeBSD.org>
8 MASTER_SITES= http://qcomicbook.org/releases/
10 MAINTAINER= makc@FreeBSD.org
11 COMMENT= Qt-based comic book archive viewer
15 LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4
17 USES= cmake:outsource pkgconfig
18 USE_QT4= corelib gui linguisttools_build moc_build qmake_build rcc_build \
21 OPTIONS_DEFINE= 7ZIP ACE RAR
23 7ZIP_DESC= 7-Zip (.cb7) comic book archives support
24 7ZIP_RUN_DEPENDS= 7z:archivers/p7zip
26 ACE_DESC= ACE (.cba) comic book archives support
27 ACE_RUN_DEPENDS= unace:archivers/unace
29 RAR_DESC= Rar (.cbr) comic book archives support
30 RAR_RUN_DEPENDS= unrar:archivers/unrar
33 # fix man install directory
34 @${REINPLACE_CMD} -E \
35 -e 's|share/man|man|' \
36 ${WRKSRC}/help/CMakeLists.txt
38 @${REINPLACE_CMD} -E \
39 -e 's|(qcomicbook.png)|${PREFIX}/share/pixmaps/\1|' \
40 ${WRKSRC}/data/qcomicbook.desktop
42 .include <bsd.port.mk>