blob: 4d436be5d76c3fbf515fb531d5c5802b1f3c5020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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://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>
|