svn commit: r413273 - in head/graphics/py-ming: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Apr 14 16:38:41 UTC 2016


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


More information about the svn-ports-all mailing list