freebsd-ports/comms/usbmuxd/Makefile
Jan Beich 6f65479d95 comms/usbmuxd: apply udev workaround to DragonFly as well
--- 39-usbmuxd.rules ---
/usr/bin/sed -r  -e 's|@udev_activation_rule[@]|RUN+="@sbindir@/usbmuxd --user usbmux --udev"|g'  -e 's|@sbindir[@]|/usr/local/sbin|g'  <  > 39-usbmuxd.rules || rm 39-usbmuxd.rules
sh: Syntax error: redirection unexpected (expecting word)

Reported by:	http://muscles.dragonflybsd.org/bulk/latest-per-pkg/usbmuxd/
Approved by:	portmgr blanket
2015-12-05 17:15:28 +00:00

41 lines
964 B
Makefile

# $FreeBSD$
PORTNAME= usbmuxd
DISTVERSION= 1.1.0
CATEGORIES= comms
MASTER_SITES= http://www.libimobiledevice.org/downloads/
MAINTAINER= avilla@FreeBSD.org
COMMENT= Daemon for multiplexing connections over USB to iPhone/iPod Touch
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= libplist.so:${PORTSDIR}/devel/libplist \
libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
USES= autoreconf cpe libtool pathfix pkgconfig tar:bzip2
CPE_VENDOR= nikias_bassen
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-systemd \
libusb_CFLAGS="-I/usr/include" \
libusb_LIBS="-lusb"
PLIST_FILES= man/man1/${PORTNAME}.1.gz \
sbin/${PORTNAME}
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
# TODO: add devd(8) rule.
@${REINPLACE_CMD} \
-e '/*cygwin*/ s,),|dragonfly*|*bsd*),' \
${WRKSRC}/configure.ac
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>