OSDN Git Service

Katie no longer support FTP and HTTP(S)
[kde/Katie.git] / package / freebsd / Makefile
1 # https://docs.freebsd.org/en/books/porters-handbook/
2
3 PORTNAME = katie
4 DISTVERSION = 4.12.0.d20201231
5 CATEGORIES = devel x11 net
6 MAINTAINER = xakepa10@gmail.com
7 COMMENT = C++ toolkit derived from the Qt 4.8 framework
8 LICENSE = BSD3CLAUSE LGPL21+
9 LICENSE_COMB = multi
10
11 MASTER_SITES = https://github.com/fluxer/katie/archive/
12 DISTFILES = master.tar.gz
13 DIST_SUBDIR = ${PORTNAME}
14 WRKSRC = ${WRKDIR}/katie-master
15
16 USES = compiler:c++11-lang pkgconfig cmake xorg desktop-file-utils
17 USE_XORG = x11 xinerama xrandr xrender xfixes xcursor xext sm ice
18 USE_LDCONFIG = yes
19 RUN_DEPENDS = xdg-open:devel/xdg-utils \
20         ${LOCALBASE}/share/fonts/freefont-ttf/FreeSans.ttf:x11-fonts/freefont-ttf
21 LIB_DEPENDS = libdeflate.so:archivers/libdeflate libicuuc.so:devel/icu \
22         libicui18n.so:devel/icu libjansson.so:devel/jansson \
23         libpng.so:graphics/png libfreetype.so:print/freetype2 \
24         libfontconfig.so:x11-fonts/fontconfig libdbus-1.so:devel/dbus \
25         libcups.so:print/cups
26 CMAKE_ARGS = -DKATIE_TOOLS_SUFFIX="-katie" -Wno-dev
27
28 OPTIONS_DEFINE = NLS
29 OPTIONS_SUB = yes
30 NLS_DESC = Build translator and translations
31 NLS_USES = gettext
32 NLS_CMAKE_ON = -DWITH_INTL=TRUE
33 NLS_CMAKE_OFF = -DWITH_INTL=FALSE
34
35 # workaround for Plasma desktop crashes, possible miss-optimization since it
36 # does not crash when build for debugging
37 .include <bsd.port.options.mk>
38 .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1300000
39 USE_GCC = yes
40 .endif
41
42 .include <bsd.port.mk>