aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Prima
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-08-23 10:09:58 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-08-23 10:09:58 +0000
commit2d5f3dd667434b7bde3ccbee23ff4b66d731f355 (patch)
tree7d5051b517d89f35a7d1d8cea6957c89a532563f /x11-toolkits/p5-Prima
parent1e058290597cae88a97b4602c1ab77f22d72b861 (diff)
downloadports-2d5f3dd667434b7bde3ccbee23ff4b66d731f355.tar.gz
ports-2d5f3dd667434b7bde3ccbee23ff4b66d731f355.zip
Notes
Diffstat (limited to 'x11-toolkits/p5-Prima')
-rw-r--r--x11-toolkits/p5-Prima/Makefile16
-rw-r--r--x11-toolkits/p5-Prima/distinfo6
-rw-r--r--x11-toolkits/p5-Prima/pkg-plist2
3 files changed, 15 insertions, 9 deletions
diff --git a/x11-toolkits/p5-Prima/Makefile b/x11-toolkits/p5-Prima/Makefile
index 25b11c0e56e6..fd1c28e67011 100644
--- a/x11-toolkits/p5-Prima/Makefile
+++ b/x11-toolkits/p5-Prima/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Prima
-PORTVERSION= 1.21
-PORTREVISION= 1
+PORTVERSION= 1.22
CATEGORIES= x11-toolkits perl5 graphics
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=Prima
@@ -41,14 +40,14 @@ MAN3= Prima::Clipboard.3.gz Prima::Drawable.3.gz Prima::File.3.gz Prima::Image.3
Prima::Themes.3.gz Prima::Utils.3.gz Prima::Widgets.3.gz Prima::Classes.3.gz \
Prima::FileDialog.3.gz Prima::PodView.3.gz Prima::Sliders.3.gz Prima::FrameSet.3.gz \
Prima::TextView.3.gz Prima::Tie.3.gz Prima::HelpViewer.3.gz Prima::Calendar.3.gz Prima::X11.3.gz \
- Prima::EventHook.3.gz Prima::sys::win32::FileDialog.3.gz Prima::tutorial.3.gz
+ Prima::EventHook.3.gz Prima::sys::win32::FileDialog.3.gz Prima::tutorial.3.gz \
+ Prima::sys::gtk2::FileDialog.3.gz
CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
INSTALL_MAN3="${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3" \
INSTALL_MAN1="${PREFIX}/man/man1" X11BASE="${X11BASE}"
CONFIGURE_SCRIPT= Makefile.PL
-USE_XPM= 1
-USE_XLIB= 1
+USE_XORG= x11 xpm xext xrender
USE_PERL5= yes
MAN3PREFIX= lib/perl5/${PERL_VERSION}
NOMANCOMPRESS= yes
@@ -65,7 +64,7 @@ post-install:
.if defined (WITHOUT_XFT)
CONFIGURE_ARGS+= WITH_XFT=0
.else
-LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
+USE_XORG+= xft
.if defined (WITHOUT_ICONV)
CONFIGURE_ARGS+= WITH_ICONV=0
.else
@@ -73,4 +72,9 @@ USE_ICONV= yes
.endif
.endif
+.if defined(WITH_GTK)
+USE_GNOME= gtk20
+CONFIGURE_ARGS+= WITH_GTK2=1
+.endif
+
.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Prima/distinfo b/x11-toolkits/p5-Prima/distinfo
index 3865a4db85d0..be77c7e76f18 100644
--- a/x11-toolkits/p5-Prima/distinfo
+++ b/x11-toolkits/p5-Prima/distinfo
@@ -1,3 +1,3 @@
-MD5 (Prima-1.21.tar.gz) = fe97328d55983991cd41351a2fe8c488
-SHA256 (Prima-1.21.tar.gz) = 7e310f8fff9731f5c3353f5c0853dda33ad63db317f15db28994ce2e7530f668
-SIZE (Prima-1.21.tar.gz) = 1381991
+MD5 (Prima-1.22.tar.gz) = 8eec6ca9e901e8e95966b6dc678d534d
+SHA256 (Prima-1.22.tar.gz) = 744314d7c0c36940a91f15e4c6d8d27a4006809ffb25f45e14964a8e5c6330fa
+SIZE (Prima-1.22.tar.gz) = 1399938
diff --git a/x11-toolkits/p5-Prima/pkg-plist b/x11-toolkits/p5-Prima/pkg-plist
index e0eb75551e30..44a690093062 100644
--- a/x11-toolkits/p5-Prima/pkg-plist
+++ b/x11-toolkits/p5-Prima/pkg-plist
@@ -59,6 +59,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/leadings.gif
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys/win32/sysimage.gif
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys/win32/FileDialog.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys/gtk2/FileDialog.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/Image/GBM.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/Image/TransparencyControl.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Prima/Image/gif.pm
@@ -255,6 +256,7 @@ bin/podview
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/CORE/generic
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/CORE
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys/win32
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys/gtk2
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/sys
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/themes
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Prima/PS/fonts