Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 16:38:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413273 - in head/graphics/py-ming: . files
Message-ID:  <201604141638.u3EGcdVF051420@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Apr 14 16:38:39 2016
New Revision: 413273
URL: https://svnweb.freebsd.org/changeset/ports/413273

Log:
  - Use default WRKSRC

Added:
  head/graphics/py-ming/files/patch-py_ext-ming.py
     - copied, changed from r413272, head/graphics/py-ming/files/patch-ming.py
Deleted:
  head/graphics/py-ming/files/patch-ming.py
Modified:
  head/graphics/py-ming/Makefile
  head/graphics/py-ming/files/patch-macros-python.m4

Modified: head/graphics/py-ming/Makefile
==============================================================================
--- head/graphics/py-ming/Makefile	Thu Apr 14 16:38:34 2016	(r413272)
+++ head/graphics/py-ming/Makefile	Thu Apr 14 16:38:39 2016	(r413273)
@@ -13,8 +13,8 @@ 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:print/freetype2 \
 		libgif.so:graphics/giflib \
@@ -29,18 +29,17 @@ GNU_CONFIGURE=	yes
 USE_PYTHON=	autoplist concurrent distutils
 USES=		autoreconf libtool localbase python
 
-AUTORECONF_WRKSRC=	${CONFIGURE_WRKSRC}
-CONFIGURE_WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
-WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext
+BUILD_WRKSRC=	${WRKSRC}/py_ext
+INSTALL_WRKSRC=	${WRKSRC}/py_ext
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	lib${PORTNAME}
 GH_PROJECT=	lib${PORTNAME}
 
 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
+	@${REINPLACE_CMD} -e 's| --root ".*"||' ${WRKSRC}/py_ext/Makefile.am
+	@${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/py_ext/setup.py.in
+	@${LN} -fs ${LOCALBASE}/include/ming ${WRKSRC}/src
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_mingc.so

Modified: head/graphics/py-ming/files/patch-macros-python.m4
==============================================================================
--- head/graphics/py-ming/files/patch-macros-python.m4	Thu Apr 14 16:38:34 2016	(r413272)
+++ head/graphics/py-ming/files/patch-macros-python.m4	Thu Apr 14 16:38:39 2016	(r413273)
@@ -1,5 +1,5 @@
---- ../macros/python.m4.orig	2015-05-15 09:43:14 UTC
-+++ ../macros/python.m4
+--- macros/python.m4.orig	2015-05-15 09:43:14 UTC
++++ macros/python.m4
 @@ -94,8 +94,8 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
  	#
  	AC_MSG_CHECKING([for a version of Python >= '2.1.0'])

Copied and modified: head/graphics/py-ming/files/patch-py_ext-ming.py (from r413272, head/graphics/py-ming/files/patch-ming.py)
==============================================================================
--- head/graphics/py-ming/files/patch-ming.py	Thu Apr 14 16:38:34 2016	(r413272, copy source)
+++ head/graphics/py-ming/files/patch-py_ext-ming.py	Thu Apr 14 16:38:39 2016	(r413273)
@@ -1,5 +1,5 @@
---- ming.py.orig	2015-05-15 09:43:14 UTC
-+++ ming.py
+--- py_ext/ming.py.orig	2015-05-15 09:43:14 UTC
++++ py_ext/ming.py
 @@ -112,57 +112,57 @@ class SWFFilter(SWFBase):
          if type == SWFFILTER_TYPE_DROPSHADOW:
              #color, blur, shadow, flags



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