mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Switch to USES python depends.
Obtained from: gnome dev repo.
This commit is contained in:
parent
bff59433a0
commit
40f42c44c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368638
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
|
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $MCom: ports/trunk/devel/pydbus-common/Makefile 19685 2014-05-25 13:11:28Z kwm $
|
# $MCom: ports/trunk/devel/pydbus-common/Makefile 19804 2014-08-13 14:55:11Z kwm $
|
||||||
|
|
||||||
PORTNAME= dbus
|
PORTNAME= dbus
|
||||||
PORTVERSION= 1.1.1
|
PORTVERSION= 1.1.1
|
||||||
|
@ -26,7 +26,7 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR} \
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.if ${SLAVE_PORT} == no
|
.if ${SLAVE_PORT} == no
|
||||||
USE_PYTHON_BUILD= 2
|
USES+= python:2,build
|
||||||
|
|
||||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||||
|
@ -70,10 +70,10 @@ LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
||||||
RUN_DEPENDS+= pydbus-common>=0:${PORTSDIR}/devel/pydbus-common
|
RUN_DEPENDS+= pydbus-common>=0:${PORTSDIR}/devel/pydbus-common
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
.if ${SLAVE_PORT} == python2
|
.if ${SLAVE_PORT} == python2
|
||||||
USE_PYTHON= 2
|
USES+= python:2
|
||||||
.endif
|
.endif
|
||||||
.if ${SLAVE_PORT} == python3
|
.if ${SLAVE_PORT} == python3
|
||||||
USE_PYTHON= 3
|
USES+= python:3
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue