From owner-svn-ports-all@FreeBSD.ORG Sun Dec 30 05:27:58 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 589FF36D; Sun, 30 Dec 2012 05:27:58 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 20DE48FC0C; Sun, 30 Dec 2012 05:27:58 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBU5Rvw6032866; Sun, 30 Dec 2012 05:27:57 GMT (envelope-from mezz@svn.freebsd.org) Received: (from mezz@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBU5Rvtf032865; Sun, 30 Dec 2012 05:27:57 GMT (envelope-from mezz@svn.freebsd.org) Message-Id: <201212300527.qBU5Rvtf032865@svn.freebsd.org> From: Jeremy Messenger Date: Sun, 30 Dec 2012 05:27:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309649 - head/devel/py-gobject X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2012 05:27:58 -0000 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)" 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 -# +# Created by: Joe Marcus Clarke # $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 +OPTIONS_DEFINE= LIBFFI +LIBFFI_DESC= Enable libffi support + +.include -.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 +.include