Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 05:27:57 +0000 (UTC)
From:      Jeremy Messenger <mezz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309649 - head/devel/py-gobject
Message-ID:  <201212300527.qBU5Rvtf032865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mezz
Date: Sun Dec 30 05:27:57 2012
New Revision: 309649
URL: http://svnweb.freebsd.org/changeset/ports/309649

Log:
  -OPTIONSng [1]
  -Update the header
  -USE_PKGCONFIG=build
  -portlint
  
  PR:		ports/170434
  Submitted by:	"A.J. Kehoe IV (Nanoman)" <q8y7cosz@nanoman.ca>

Modified:
  head/devel/py-gobject/Makefile   (contents, props changed)

Modified: head/devel/py-gobject/Makefile
==============================================================================
--- head/devel/py-gobject/Makefile	Sun Dec 30 05:17:02 2012	(r309648)
+++ head/devel/py-gobject/Makefile	Sun Dec 30 05:27:57 2012	(r309649)
@@ -1,10 +1,6 @@
-# New ports collection makefile for:	py-gobject
-# Date created:				10 January 2006
-# Whom:					Joe Marcus Clarke <marcus@FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
 # $FreeBSD$
 #   $MCom: ports/devel/py-gobject/Makefile,v 1.52 2011/06/13 20:37:47 kwm Exp $
-#
 
 PORTNAME=	gobject
 PORTVERSION=	2.28.6
@@ -19,17 +15,19 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Python bindings for GObject
 
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
 RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
 
-LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/COPYING
 USE_XZ=		yes
 USE_GMAKE=	yes
 USE_GNOME=	gnomehack glib20
 USE_PYTHON=	2.5+
+USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--disable-docs
@@ -37,10 +35,13 @@ CONFIGURE_ARGS=	--disable-docs
 CONFLICTS=	py*-gtk-0*
 PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	LIBFFI
+LIBFFI_DESC=	Enable libffi support
+
+.include <bsd.port.options.mk>
 
-.if exists(${LOCALBASE}/lib/libffi.so)
-LIB_DEPENDS+=	ffi.5:${PORTSDIR}/devel/libffi
+.if ${PORT_OPTIONS:MLIBFFI}
+LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
 CONFIGURE_ARGS+=--with-ffi
 .else
 CONFIGURE_ARGS+=--without-ffi
@@ -50,4 +51,4 @@ post-install:
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
 		${PREFIX}/share/pygobject/2.0/codegen
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212300527.qBU5Rvtf032865>