1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/comical/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

54 lines
1.1 KiB
Makefile

# Created by: John McAree <john@mcaree.org>
# $FreeBSD$
PORTNAME= comical
PORTVERSION= 0.8
PORTREVISION= 11
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.5:archivers/libunrar5
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 <bsd.port.pre.mk>
# '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 <bsd.port.post.mk>