graphics/py-ming: Cosmetic change

This commit is contained in:
Po-Chuan Hsieh 2021-04-18 13:02:56 +08:00
parent 2eec6ce132
commit 586d2770b9
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -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