aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-18 05:02:56 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-18 05:43:45 +0000
commit586d2770b9cbf784f9b1f35a9f59f5d2a5760d85 (patch)
tree9014c040df6d1343d4c32113dde5ff3c380c64a9 /graphics
parent2eec6ce13232c925f13b871e8cab00e6c9b0a153 (diff)
downloadports-586d2770b9cbf784f9b1f35a9f59f5d2a5760d85.tar.gz
ports-586d2770b9cbf784f9b1f35a9f59f5d2a5760d85.zip
graphics/py-ming: Cosmetic change
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-ming/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index 8c0664aa2793..bf70f0c6883b 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -1,7 +1,7 @@
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
PORTNAME= ming
-DISTVERSIONPREFIX= ${PORTNAME}-
+DISTVERSIONPREFIX= ming-
DISTVERSION= 0_4_8
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,20 +19,21 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libming.so:graphics/ming \
libpng.so:graphics/png
-PORTSCOUT= limit:^ming-
+USES= autoreconf libtool localbase:ldflags python:3.6+
+USE_PYTHON= autoplist concurrent distutils
CONFIGURE_ARGS= --enable-python
CONFIGURE_ENV= PYTHON_LDFLAGS="-L${PYTHON_LIBDIR} -l${PYTHON_VERSION}${PYTHON_ABIVER}"
GNU_CONFIGURE= yes
-USE_PYTHON= autoplist concurrent distutils
-USES= autoreconf libtool localbase:ldflags python:3.6+
BUILD_WRKSRC= ${WRKSRC}/py_ext
INSTALL_WRKSRC= ${WRKSRC}/py_ext
USE_GITHUB= yes
-GH_ACCOUNT= lib${PORTNAME}
-GH_PROJECT= lib${PORTNAME}
+GH_ACCOUNT= libming
+GH_PROJECT= libming
+
+PORTSCOUT= limit:^ming-
post-patch:
@${REINPLACE_CMD} -e 's| --root ".*"||' ${WRKSRC}/py_ext/Makefile.am