freebsd-ports/audio/ifp-line/Makefile
Stanislav Sedov f5d05ea54d - Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
  in USB stack.

Reviewed by:	thompsa (old version), miwi
Tested by:	miwi
2009-03-09 17:15:43 +00:00

38 lines
722 B
Makefile

# ex:ts=8
# New ports collection makefile for: ifp-line
# Date created: Sep 21, 2004
# Whom: riggs
#
# $FreeBSD$
#
PORTNAME= ifp-line
PORTVERSION= 0.2.4.6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ifp-driver
MAINTAINER= riggs@rrr.de
COMMENT= Command line interface to iRiver music players
MAN1= ifp.1
PLIST_FILES+= bin/ifp
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
.endif
post-patch:
.if ${OSVERSION} >= 800069
@${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \
-e 's,`libusb-config --libs`,-lusb,g' ${WRKSRC}/Makefile
.endif
post-install:
@${CAT} ${.CURDIR}/pkg-message
.include <bsd.port.post.mk>