# Created by: John McAree # $FreeBSD: head/graphics/comical/Makefile 562072 2021-01-19 19:51:31Z jhale $ PORTNAME= comical PORTVERSION= 0.8 PORTREVISION= 13 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Sequential image viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libminizip.so:archivers/minizip \ libunrar.so.6:archivers/libunrar6 USES= compiler:c++11-lang gmake USE_WX= 2.8+ MAKE_ENV= WX_CONFIG=${WX_CONFIG} INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes DESKTOP_ENTRIES="Comical" \ "Comic Book Viewer" \ "${PORTNAME}.png" \ "${PORTNAME}" \ "Graphics;Viewer;" \ false ICONS= comical.png comical.xpm PLIST_FILES= bin/comical \ share/pixmaps/comical.png \ share/pixmaps/comical.xpm .include # 'make makepatch' doesn't like dirs with spaces pre-patch: @${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons .if ${CHOSEN_COMPILER_TYPE} == gcc pre-configure: ${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile .endif post-install: cd ${WRKSRC}/ComicalIcons && \ ${INSTALL_DATA} ${ICONS} ${STAGEDIR}${PREFIX}/share/pixmaps .include