mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
efc62e6bcd
While here, pet portlint. Tested for no regression on amd64. Approved by: portmgr (tier-2 blanket)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qcomicbook
|
|
PORTVERSION= 0.9.0
|
|
PORTREVISION= 11
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://qcomicbook.org/releases/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qt-based comic book archive viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4
|
|
|
|
USES= cmake:outsource compiler:c++11-lang pkgconfig
|
|
USE_QT4= corelib gui linguisttools_build moc_build qmake_build rcc_build \
|
|
uic_build xml
|
|
|
|
OPTIONS_DEFINE= 7ZIP ACE RAR
|
|
|
|
7ZIP_DESC= 7-Zip (.cb7) comic book archives support
|
|
7ZIP_RUN_DEPENDS= 7z:archivers/p7zip
|
|
|
|
ACE_DESC= ACE (.cba) comic book archives support
|
|
ACE_RUN_DEPENDS= unace:archivers/unace
|
|
|
|
RAR_DESC= Rar (.cbr) comic book archives support
|
|
RAR_RUN_DEPENDS= unrar:archivers/unrar
|
|
|
|
post-patch:
|
|
# fix man install directory
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|share/man|man|' \
|
|
${WRKSRC}/help/CMakeLists.txt
|
|
# fix pixmap location
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|(qcomicbook.png)|${PREFIX}/share/pixmaps/\1|' \
|
|
${WRKSRC}/data/qcomicbook.desktop
|
|
|
|
.include <bsd.port.mk>
|