1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/azpainter/Makefile
Daniel Engberg ffdc2e6bbe graphics/azpainter: Prepare for png 1.6.38
Adjust LIBS to include -lz

PR:		266599
Approved by:	portmgr (blanket)
2022-10-11 00:43:55 +02:00

38 lines
946 B
Makefile

PORTNAME= azpainter
PORTVERSION= 2.1.7
CATEGORIES= graphics
MASTER_SITES= http://azsky2.html.xdomain.jp/arc/
MAINTAINER= danfe@FreeBSD.org
COMMENT= 16-bit RGB full color painting application
WWW= http://azsky2.html.xdomain.jp/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>