mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
use USE_PYDISTUTILS
This commit is contained in:
parent
7c983a7ddf
commit
bf4487e566
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58306
@ -19,16 +19,10 @@ BUILD_DEPENDS= ${XMMS_CONFIG}:${PORTSDIR}/audio/xmms
|
||||
LIB_DEPENDS= xmms.3:${PORTSDIR}/audio/xmms
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_GLIB= yes
|
||||
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
|
||||
XMMS_CONFIG?= ${X11BASE}/bin/xmms-config
|
||||
MAKE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" XMMS_CONFIG="${XMMS_CONFIG}"
|
||||
SETUP_CMD= cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user