mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
PORTNAME= chafa
|
|
DISTVERSION= 1.14.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://hpjansson.org/chafa/releases/ \
|
|
https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Character art facsimile generator
|
|
WWW= https://hpjansson.org/chafa/
|
|
|
|
LICENSE= GPLv3 LGPL3+
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
|
|
LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER
|
|
|
|
LIB_DEPENDS= libavif.so:graphics/libavif \
|
|
libfreetype.so:print/freetype2 \
|
|
libjxl_threads.so:graphics/libjxl \
|
|
libtiff.so:graphics/tiff \
|
|
libwebpdemux.so:graphics/webp
|
|
|
|
USES= cpe gettext-runtime gnome jpeg libtool magick:7 tar:xz
|
|
CPE_VENDOR= chafa_project
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html
|
|
|
|
# https://github.com/hpjansson/chafa/issues/152
|
|
CONFIGURE_ENV+= WEBP_CFLAGS='-lwebp'
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
# Remove when releng/13.2 is EoL
|
|
.if ${OSVERSION} < 1303001 && ${ARCH} == "i386"
|
|
BROKEN= error: libchafa.so: undefined reference to _mm_extract_epi64
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
.include <bsd.port.mk>
|