blob: d6b05f91e77b7b24cf199f27397a54f4334291c5 (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
PORTNAME= Prima
PORTVERSION= 1.68.002
PORTREVISION= 1
CATEGORIES= x11-toolkits graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= perl@FreeBSD.org
COMMENT= Extensible Perl toolkit for multi-platform GUI development
WWW= https://metacpan.org/release/Prima
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp
USES= dos2unix jpeg perl5 pkgconfig xorg
USE_PERL5= configure
USE_XORG= x11 xcursor xext xpm xrender xrandr
MAKE_JOBS_UNSAFE= yes
PORTSCOUT= skipv:1.67001
OPTIONS_DEFINE= FRIBIDI GTK2 GTK3 HARFBUZZ ICONV THAI XFT
OPTIONS_DEFAULT=ICONV XFT
FRIBIDI_DESC= Bidirectional text support
HARFBUZZ_DESC= Harfbuzz support
THAI_DESC= Thai support
FRIBIDI_CONFIGURE_OFF= WITH_FRIBIDI=0
FRIBIDI_CONFIGURE_ON= WITH_FRIBIDI=1
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
GTK2_CONFIGURE_OFF= WITH_GTK2=0
GTK2_CONFIGURE_ON= WITH_GTK2=1
GTK2_USE= GNOME=gtk20
GTK2_USES= gnome
GTK3_CONFIGURE_OFF= WITH_GTK3=0
GTK3_CONFIGURE_ON= WITH_GTK3=1
GTK3_USE= GNOME=gtk30
GTK3_USES= gnome
HARFBUZZ_CONFIGURE_OFF= WITH_HARFBUZZ=0
HARFBUZZ_CONFIGURE_ON= WITH_HARFBUZZ=1
HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
ICONV_CONFIGURE_OFF= WITH_ICONV=0
ICONV_CONFIGURE_ON= WITH_ICONV=1
ICONV_USES= iconv
THAI_CONFIGURE_OFF= WITH_THAI=0
THAI_CONFIGURE_ON= WITH_THAI=1
THAI_LIB_DEPENDS= libthai.so.0:devel/libthai
XFT_CONFIGURE_OFF= WITH_XFT=0
XFT_CONFIGURE_ON= WITH_XFT=1
XFT_USE= XORG=xft
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so
@${REINPLACE_CMD} -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/Prima/Config.pm
.include <bsd.port.mk>
|