mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Move Python scripts to DATADIR to avoid spamming Python directories
without depending on Python. [1] - Remove hardcoded Python binary path from Python scripts. - Bump PORTREVISION. Requested by: pav [1]
This commit is contained in:
parent
d6629ad0e7
commit
7a906d1a49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290399
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= usbmuxd
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= http://marcansoft.com/uploads/${PORTNAME}/
|
||||
|
||||
@ -15,8 +15,6 @@ COMMENT= A daemon for multiplexing connections over USB to an iPhone/iPod Touch
|
||||
|
||||
LIB_DEPENDS= plist.1:${PORTSDIR}/devel/libplist
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
USE_BZIP2= yes
|
||||
USE_CMAKE= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
@ -34,10 +32,14 @@ pre-configure:
|
||||
${REINPLACE_CMD} -e 's|$${LIB_SUFFIX}/pkgconfig|data/pkgconfig|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
pre-install:
|
||||
${REINPLACE_CMD} -e '1 s|python|env python|' \
|
||||
${WRKSRC}/python-client/*.py
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/python-client/*.py \
|
||||
${PYTHON_SITELIBDIR}/${PORTNAME}/
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \
|
||||
${DATADIR}/
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
|
@ -4,9 +4,8 @@ include/usbmuxd.h
|
||||
lib/libusbmuxd.so
|
||||
lib/libusbmuxd.so.1
|
||||
lib/libusbmuxd.so.1.0.7
|
||||
%%PYTHON_SITELIBDIR%%/usbmuxd/tcprelay.py
|
||||
%%PYTHON_SITELIBDIR%%/usbmuxd/usbmux.py
|
||||
libdata/pkgconfig/libusbmuxd.pc
|
||||
sbin/usbmuxd
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/usbmuxd
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%
|
||||
%%DATADIR%%/tcprelay.py
|
||||
%%DATADIR%%/usbmux.py
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user