Files
ports/graphics/azpainter/Makefile
T
Alexey Dokuchaev cf8655f9d4 graphics/azpainter{,b}: unbreak the build against modern fontconfig
Somewhere between fontconfig versions 2.14.2 and 2.17.1, -lfreetype
disappeared from the `pkg-config --libs fontconfig` output, causing
the breakage.  Adjust the configure script to detect both libraries
correctly.  While here, strip the binary upon installation (subject
to -DWITH_DEBUG) and update WWW line.

Reported by:	pkg-fallout
2026-02-23 15:44:52 +00:00

39 lines
963 B
Makefile

PORTNAME= azpainter
PORTVERSION= 2.1.7
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://azsky2.html.xdomain.jp/arc/
MAINTAINER= danfe@FreeBSD.org
COMMENT= 16-bit RGB full color painting application
WWW= http://azelpg.gitlab.io/azsky2/soft/azpainter.html
LICENSE= GPLv3
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
USES= compiler:c11 desktop-file-utils gmake jpeg pkgconfig \
shared-mime-info tar:xz xorg
USE_XORG= x11 xext xi
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --docdir="${DOCSDIR}" CC="${CC}" LIBS="-lz"
PORTDOCS= AUTHORS ChangeLog ReadMe_en ReadMe_ja manual_ja.html
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --debug
.endif
pre-build-NLS-on:
cd ${WRKSRC}/translation && ${CC} ${CFLAGS} -o mtrconv mtrconv.c
.for lang in en ru uk
cd ${WRKSRC}/translation && ./mtrconv ${lang} ../data/tr/${lang}.mtr
.endfor
.include <bsd.port.mk>