1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/comms/usbmuxd/Makefile
Alberto Villa 7a906d1a49 - 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]
2012-02-04 17:39:12 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: usbmuxd
# Date created: 10 June 2010
# Whom: Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= usbmuxd
PORTVERSION= 1.0.7
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= http://marcansoft.com/uploads/${PORTNAME}/
MAINTAINER= avilla@FreeBSD.org
COMMENT= A daemon for multiplexing connections over USB to an iPhone/iPod Touch
LIB_DEPENDS= plist.1:${PORTSDIR}/devel/libplist
USE_BZIP2= yes
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
PORTDOCS= AUTHORS README README.devel
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 800107 || ${OSVERSION} >= 900000 && ${OSVERSION} <= 900002
BROKEN= requires libusb 1.0.3
.endif
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} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \
${DATADIR}/
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>