blob: 658f6ea6966e17978c19c6ba1731249790093c4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: John McAree <john@mcaree.org>
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 <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>
|