2013-01-11 12:46:35 +01:00
|
|
|
# Created by: dmitry@karasik.eu.org
|
2001-12-15 00:53:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Prima
|
2013-09-05 05:30:41 +02:00
|
|
|
PORTVERSION= 1.37
|
2014-02-08 20:23:28 +01:00
|
|
|
PORTREVISION= 1
|
2012-06-24 17:02:01 +02:00
|
|
|
CATEGORIES= x11-toolkits graphics perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2001-12-15 00:53:42 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2012-06-24 17:02:01 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2013-03-29 01:44:53 +01:00
|
|
|
COMMENT= Extensible Perl toolkit for multi-platform GUI development
|
2001-12-15 00:53:42 +01:00
|
|
|
|
2014-04-02 16:08:26 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2001-12-15 00:53:42 +01:00
|
|
|
|
2013-09-05 05:30:41 +02:00
|
|
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
2006-12-10 23:07:10 +01:00
|
|
|
|
2012-06-24 17:02:01 +02:00
|
|
|
OPTIONS_DEFINE= GTK2 ICONV XFT
|
|
|
|
OPTIONS_DEFAULT=ICONV XFT
|
2006-12-09 08:49:55 +01:00
|
|
|
|
2012-06-24 17:02:01 +02:00
|
|
|
CONFIGURE_ARGS= X11BASE=${LOCALBASE}
|
2013-08-02 20:52:07 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2012-06-24 17:02:01 +02:00
|
|
|
USE_XORG= x11 xext xpm xrender
|
2013-07-12 17:19:52 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2001-12-15 00:53:42 +01:00
|
|
|
|
2012-06-24 17:02:01 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2001-12-15 00:53:42 +01:00
|
|
|
|
2012-06-24 17:02:01 +02:00
|
|
|
.if ${PORT_OPTIONS:MXFT}
|
|
|
|
USE_XORG+= xft
|
|
|
|
.if ${PORT_OPTIONS:MICONV}
|
2013-04-28 00:09:15 +02:00
|
|
|
USES+= iconv
|
2012-06-24 17:02:01 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=WITH_ICONV=0
|
2004-02-22 23:53:47 +01:00
|
|
|
.endif
|
2012-06-24 17:02:01 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=WITH_XFT=0
|
2004-02-22 23:53:47 +01:00
|
|
|
.endif
|
2006-12-10 23:07:10 +01:00
|
|
|
|
2013-09-05 05:30:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
2007-08-23 12:09:58 +02:00
|
|
|
USE_GNOME= gtk20
|
2012-06-24 17:02:01 +02:00
|
|
|
CONFIGURE_ARGS+=WITH_GTK2=1
|
2007-08-23 12:09:58 +02:00
|
|
|
.endif
|
|
|
|
|
2014-02-08 20:23:28 +01:00
|
|
|
post-install:
|
|
|
|
@${SED} -i '' 's,${STAGEDIR},,g' ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/Prima/Config.pm
|
|
|
|
|
2006-12-10 23:07:10 +01:00
|
|
|
.include <bsd.port.mk>
|