freebsd-ports/audio/mpg321/Makefile
2014-02-05 15:53:18 +00:00

32 lines
923 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= mpg321
PORTVERSION= 0.2.10
PORTREVISION= 9
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= naddy@FreeBSD.org
COMMENT= Command-line MP3 player, compatible with mpg123
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao \
libid3tag.so:${PORTSDIR}/audio/libid3tag \
libmad.so:${PORTSDIR}/audio/libmad
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-mpg123-symlink
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/mpg321 man/man1/mpg321.1.gz
OPTIONS_DEFINE= SCROBBLER
SCROBBLER_DESC= Last.fm Audioscrobbler support
SCROBBLER_RUN_DEPENDS= scrobbler-helper:${PORTSDIR}/audio/p5-Audio-Scrobbler
SCROBBLER_PATCHFILES= mpg321-0.2.10-scrobbler-01.patch:scrobbler
SCROBBLER_PATCH_SITES= http://people.FreeBSD.org/~roam/ports/audio/:scrobbler \
http://devel.ringlet.net/audio/mpg321-scrobbler/:scrobbler
.include <bsd.port.mk>