2022-01-10 20:45:05 +02:00
|
|
|
# https://docs.freebsd.org/en/books/porters-handbook/
|
2020-12-04 00:13:45 +00:00
|
|
|
|
2020-01-14 19:32:21 +00:00
|
|
|
PORTNAME = katie
|
2021-12-14 21:47:48 +02:00
|
|
|
DISTVERSION = 4.12.0.d20201231
|
2020-01-15 19:21:51 +00:00
|
|
|
CATEGORIES = devel x11 ftp net www
|
2020-01-14 19:32:21 +00:00
|
|
|
MAINTAINER = xakepa10@gmail.com
|
|
|
|
COMMENT = C++ toolkit derived from the Qt 4.8 framework
|
2021-02-08 15:08:15 +02:00
|
|
|
LICENSE = BSD3CLAUSE LGPL21+
|
2020-01-14 19:32:21 +00:00
|
|
|
LICENSE_COMB = multi
|
|
|
|
|
|
|
|
MASTER_SITES = https://github.com/fluxer/katie/archive/
|
|
|
|
DISTFILES = master.tar.gz
|
|
|
|
DIST_SUBDIR = ${PORTNAME}
|
|
|
|
WRKSRC = ${WRKDIR}/katie-master
|
|
|
|
|
2022-02-22 16:47:13 +02:00
|
|
|
USES = compiler:c++11-lang pkgconfig cmake xorg desktop-file-utils
|
2022-01-31 07:58:56 +02:00
|
|
|
USE_XORG = x11 xinerama xrandr xrender xfixes xcursor xext sm ice
|
2020-01-16 10:25:11 +00:00
|
|
|
USE_LDCONFIG = yes
|
2022-01-10 20:45:05 +02:00
|
|
|
RUN_DEPENDS = xdg-open:devel/xdg-utils \
|
|
|
|
${LOCALBASE}/share/fonts/freefont-ttf/FreeSans.ttf:x11-fonts/freefont-ttf
|
2022-02-05 02:52:02 +02:00
|
|
|
LIB_DEPENDS = libdeflate.so:archivers/libdeflate libicuuc.so:devel/icu \
|
2021-02-11 01:36:04 +02:00
|
|
|
libicui18n.so:devel/icu libjansson.so:devel/jansson \
|
2022-02-28 05:08:23 +02:00
|
|
|
libpng.so:graphics/png libfreetype.so:print/freetype2 \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig libdbus-1.so:devel/dbus \
|
|
|
|
libcups.so:print/cups
|
2021-09-16 16:08:55 +03:00
|
|
|
CMAKE_ARGS = -DKATIE_TOOLS_SUFFIX="-katie" -Wno-dev
|
2020-01-14 19:32:21 +00:00
|
|
|
|
2021-09-10 05:03:08 +03:00
|
|
|
OPTIONS_DEFINE = NLS
|
2020-01-15 19:41:03 +00:00
|
|
|
OPTIONS_SUB = yes
|
2020-12-05 09:50:12 +00:00
|
|
|
NLS_DESC = Build translator and translations
|
|
|
|
NLS_USES = gettext
|
|
|
|
NLS_CMAKE_ON = -DWITH_INTL=TRUE
|
|
|
|
NLS_CMAKE_OFF = -DWITH_INTL=FALSE
|
2020-01-15 17:14:44 +00:00
|
|
|
|
2022-05-15 22:44:05 +03:00
|
|
|
# workaround for Plasma desktop crashes, possible miss-optimization since it
|
|
|
|
# does not crash when build for debugging
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1300000
|
|
|
|
USE_GCC = yes
|
|
|
|
.endif
|
|
|
|
|
2020-12-04 06:46:07 +00:00
|
|
|
.include <bsd.port.mk>
|