1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/graphics/azpainter/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= azpainter
PORTVERSION= 2.1.4
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= OSDN/${PORTNAME}/71051
MAINTAINER= danfe@FreeBSD.org
COMMENT= 16-bit RGB full color painting application
LICENSE= GPLv3
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
USES= compiler:c11 desktop-file-utils jpeg localbase \
shared-mime-info tar:xz
USE_XORG= x11 xext xi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freetype-dir=${LOCALBASE}/include/freetype2
PORTDOCS= AUTHORS ChangeLog NEWS README README_ja manual
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's, install-dist_trdataDATA$$,,' \
${WRKSRC}/data/Makefile.in
pre-build-NLS-on:
cd ${WRKSRC}/translation && ${CC} ${CFLAGS} -o mtrconv mtrconv.c
.for lang in be en ru uk zh_CN
cd ${WRKSRC}/translation && ./mtrconv ${lang} ../data/tr/${lang}.mtr
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -a ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>