From owner-svn-ports-all@freebsd.org Mon Oct 19 20:18:09 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14CF8A19A7A; Mon, 19 Oct 2015 20:18:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A893C19DE; Mon, 19 Oct 2015 20:18:08 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JKI7Xa025591; Mon, 19 Oct 2015 20:18:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9JKI7ts025589; Mon, 19 Oct 2015 20:18:07 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510192018.t9JKI7ts025589@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 19 Oct 2015 20:18:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399726 - head/graphics/py-ming 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.20 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: Mon, 19 Oct 2015 20:18:09 -0000 Author: sunpoet Date: Mon Oct 19 20:18:07 2015 New Revision: 399726 URL: https://svnweb.freebsd.org/changeset/ports/399726 Log: - Change language bindings (p5-ming and py-ming) from slave ports to normal ports - Use USES=localbase - Convert to new options target helper - Cleanup Makefile Added: head/graphics/py-ming/distinfo (contents, props changed) Modified: head/graphics/py-ming/Makefile Modified: head/graphics/py-ming/Makefile ============================================================================== --- head/graphics/py-ming/Makefile Mon Oct 19 20:18:02 2015 (r399725) +++ head/graphics/py-ming/Makefile Mon Oct 19 20:18:07 2015 (r399726) @@ -2,6 +2,7 @@ # $FreeBSD$ PORTNAME= ming +PORTVERSION= 0.4.7 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,20 +11,34 @@ COMMENT= Python module for Ming which al LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi -LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE_GPL2 -LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE +LICENSE_FILE_GPLv2= ${WRKSRC}/../LICENSE_GPL2 +LICENSE_FILE_LGPL21= ${WRKSRC}/../LICENSE + +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ + libgif.so:${PORTSDIR}/graphics/giflib \ + libming.so:${PORTSDIR}/graphics/ming \ + libpng.so:${PORTSDIR}/graphics/png CONFIGURE_ARGS= --enable-python +CONFIGURE_ENV= PYTHON_LDFLAGS="-L${PYTHON_LIBDIR} -l${PYTHON_VERSION}${PYTHON_ABIVER}" +GNU_CONFIGURE= yes USE_PYTHON= autoplist distutils -USES= python:2 +USES= autoreconf libtool localbase python:2 + +CONFIGURE_WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext + +USE_GITHUB= yes +GH_ACCOUNT= lib${PORTNAME} +GH_PROJECT= lib${PORTNAME} +GH_TAGNAME= ${PORTNAME}-${PORTVERSION:S|.|_|g} -BUILD_WRKSRC= ${WRKSRC}/py_ext -INSTALL_WRKSRC= ${WRKSRC}/py_ext -PATCH_WRKSRC= ${WRKSRC}/py_ext -PATCHDIR= ${.CURDIR}/files -PLIST= ${NONEXISTENT} +post-patch: + @${REINPLACE_CMD} -e 's| --root ".*"||' ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py.in + @${LN} -fs ${LOCALBASE}/include/ming ${WRKSRC}/../src -MASTERDIR= ${.CURDIR}/../../graphics/ming -SLAVEPORT= py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_mingc.so -.include "${MASTERDIR}/Makefile" +.include Added: head/graphics/py-ming/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-ming/distinfo Mon Oct 19 20:18:07 2015 (r399726) @@ -0,0 +1,2 @@ +SHA256 (libming-libming-0.4.7-ming-0_4_7_GH0.tar.gz) = 118aa1338dd74b34dd2cd22bce286ca0571e8b9aa433999646d1c0157ea9a7dc +SIZE (libming-libming-0.4.7-ming-0_4_7_GH0.tar.gz) = 14903570