mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
4c1a399966
Changelog: - https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.5/docs/changes.txt PR: 246218 Approved by: tcberner (mentor) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D24808
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# Created by: John McAree <john@mcaree.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= comical
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 12
|
|
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>
|