Tweak x11-toolkits/itk version 3.3_3
[dports.git] / x11-toolkits / p5-Prima / Makefile
1 # Created by: dmitry@karasik.eu.org
2 # $FreeBSD$
3
4 PORTNAME=       Prima
5 PORTVERSION=    1.41
6 PORTREVISION=   1
7 CATEGORIES=     x11-toolkits graphics perl5
8 MASTER_SITES=   CPAN
9 PKGNAMEPREFIX=  p5-
10
11 MAINTAINER=     perl@FreeBSD.org
12 COMMENT=        Extensible Perl toolkit for multi-platform GUI development
13
14 LICENSE=        BSD2CLAUSE
15
16 LIB_DEPENDS=    libgif.so:${PORTSDIR}/graphics/giflib \
17                 libjpeg.so:${PORTSDIR}/graphics/jpeg \
18                 libpng.so:${PORTSDIR}/graphics/png \
19                 libtiff.so:${PORTSDIR}/graphics/tiff
20
21 OPTIONS_DEFINE= GTK2 ICONV XFT
22 OPTIONS_DEFAULT=ICONV XFT
23
24 CONFIGURE_ARGS= X11BASE=${LOCALBASE}
25 USES=           perl5
26 USE_PERL5=      configure
27 USE_XORG=       x11 xext xpm xrender
28 MAKE_JOBS_UNSAFE=       yes
29
30 GTK2_CONFIGURE_OFF=     WITH_GTK2=0
31 GTK2_CONFIGURE_ON=      WITH_GTK2=1
32 GTK2_USE=               GNOME=gtk20
33 ICONV_CONFIGURE_OFF=    WITH_ICONV=0
34 ICONV_CONFIGURE_ON=     WITH_ICONV=1
35 ICONV_USES=             iconv
36 XFT_CONFIGURE_OFF=      WITH_XFT=0
37 XFT_CONFIGURE_ON=       WITH_XFT=1
38 XFT_USE=                XORG=xft
39
40 post-install:
41         ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so
43         ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so
44
45 .include <bsd.port.mk>