pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/py-ming



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Nov 13 10:23:47 UTC 2018

Modified Files:
        pkgsrc/multimedia/py-ming: Makefile

Log Message:
py-ming: update to 0.4.8


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/multimedia/py-ming/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/py-ming/Makefile
diff -u pkgsrc/multimedia/py-ming/Makefile:1.29 pkgsrc/multimedia/py-ming/Makefile:1.30
--- pkgsrc/multimedia/py-ming/Makefile:1.29     Tue Jul  3 05:03:26 2018
+++ pkgsrc/multimedia/py-ming/Makefile  Tue Nov 13 10:23:47 2018
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2018/07/03 05:03:26 adam Exp $
+# $NetBSD: Makefile,v 1.30 2018/11/13 10:23:47 markd Exp $
 
 .include "../../multimedia/ming/Makefile.common"
 
-PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=           4
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:S/_/./g}
 CATEGORIES=            multimedia
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
@@ -13,14 +12,14 @@ LICENSE=            gnu-lgpl-v2.1
 
 PY_PATCHPLIST=         yes
 PYSETUPSUBDIR=         py_ext
-EGG_NAME=              ${DISTNAME:S/ming/mingc/}
+EGG_NAME=              ${DISTNAME:S/ming/mingc/:S/_/./g}
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37
 
-SUBST_CLASSES+=                giflib
-SUBST_STAGE.giflib=    pre-configure
-SUBST_FILES.giflib=    py_ext/setup.py
-SUBST_SED.giflib=      -e 's/ungif/gif/g'
+pre-configure:
+       cd ${WRKSRC}/py_ext; \
+       sed -e 's/@srcdir@/./' -e 's/@ZLIB@/-lz/' -e 's/@PNGLIB@/-lpng/' -e 's/@GIFLIB@/-lgif/' \
+       -e "s/@MING_VERSION@/${MING_VERSION}/" < setup.py.in > setup.py
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index