1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/ifp-line/Makefile
2014-02-28 19:56:52 +00:00

36 lines
850 B
Makefile

# Created by: riggs
# $FreeBSD$
PORTNAME= ifp-line
PORTVERSION= 0.3
CATEGORIES= audio
MASTER_SITES= SF/ifp-driver/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line interface to iRiver music players
LICENSE= GPLv2
USES= iconv
USE_AUTOTOOLS= aclocal autoheader automake autoconf
ACLOCAL_ARGS= -I m4
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lusb
PLIST_FILES= bin/ifp man/man1/ifp.1.gz
PORTDOCS= NEWS README TIPS nonroot.sh
post-patch:
@${REINPLACE_CMD} -e \
'/LIBUSB/s|ERROR|WARN|' ${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ifp ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ifp.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>