aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-03-15 07:21:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-03-15 07:21:04 +0000
commita7694a1e646de49b1b6bbdb493fa64fe8efe3f17 (patch)
treed57d2167953515752320a25f4ca4effb04b8c7b3 /devel
parent763cf6f752114d6853994f8bba725b8705819c00 (diff)
downloadports-a7694a1e646de49b1b6bbdb493fa64fe8efe3f17.tar.gz
ports-a7694a1e646de49b1b6bbdb493fa64fe8efe3f17.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Glib-Object-Introspection/Makefile28
-rw-r--r--devel/p5-Glib-Object-Introspection/distinfo4
2 files changed, 22 insertions, 10 deletions
diff --git a/devel/p5-Glib-Object-Introspection/Makefile b/devel/p5-Glib-Object-Introspection/Makefile
index d40cf76561b1..6abcd6682e02 100644
--- a/devel/p5-Glib-Object-Introspection/Makefile
+++ b/devel/p5-Glib-Object-Introspection/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: p5-Glib-Object-Introspection
-# Date created: 2011-10-15
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Glib-Object-Introspection
-PORTVERSION= 0.010
+PORTVERSION= 0.014
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -19,13 +15,29 @@ LICENSE= LGPL21
BUILD_DEPENDS= gobject-introspection>=0.10.0:${PORTSDIR}/devel/gobject-introspection \
p5-ExtUtils-Depends>=0.300:${PORTSDIR}/devel/p5-ExtUtils-Depends \
p5-ExtUtils-PkgConfig>=1:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
- p5-Glib2>=1.240:${PORTSDIR}/devel/p5-Glib2
+ p5-Glib2>=1.270:${PORTSDIR}/devel/p5-Glib2
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
RUN_DEPENDS= gobject-introspection>=0.10.0:${PORTSDIR}/devel/gobject-introspection \
- p5-Glib2>=1.240:${PORTSDIR}/devel/p5-Glib2
+ p5-Glib2>=1.270:${PORTSDIR}/devel/p5-Glib2
TEST_DEPENDS= p5-Cairo-GObject>=0:${PORTSDIR}/devel/p5-Cairo-GObject
+OPTIONS_DEFINE= TEST
+
PERL_CONFIGURE= yes
MAN3= Glib::Object::Introspection.3
+.include <bsd.port.options.mk>
+
+# Glib::Object::Introspection requires cairo, gio-fam-backend and glib20 to build
+# test libraries during build phase, therefore we add them to BUILD_DEPENDS.
+.if ${PORT_OPTIONS:MTEST}
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/cairo.pc:${PORTSDIR}/graphics/cairo \
+ ${LOCALBASE}/libdata/pkgconfig/gio-2.0.pc:${PORTSDIR}/devel/gio-fam-backend \
+ ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20
+.endif
+
+regression-test test: build
+ cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} test
+
.include <bsd.port.mk>
diff --git a/devel/p5-Glib-Object-Introspection/distinfo b/devel/p5-Glib-Object-Introspection/distinfo
index c17165435c2e..97ea7e31d03a 100644
--- a/devel/p5-Glib-Object-Introspection/distinfo
+++ b/devel/p5-Glib-Object-Introspection/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Glib-Object-Introspection-0.010.tar.gz) = cce2dda54331d6ce7c7aff16f86c1aa6f611f4d3aeb47d8bcaa7dd59a31be2d9
-SIZE (Glib-Object-Introspection-0.010.tar.gz) = 47661
+SHA256 (Glib-Object-Introspection-0.014.tar.gz) = f7344bacf110e9c5d8a65eccc274d86262d50384cb8753022c669dc68c1ad005
+SIZE (Glib-Object-Introspection-0.014.tar.gz) = 56829