1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/audio/mpg321/Makefile
Christian Weisgerber 7975fcf12b Make use of new option helpers.
Remove post-patch section that didn't actually change anything.
2013-10-04 12:35:10 +00:00

33 lines
923 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= mpg321
PORTVERSION= 0.2.10
PORTREVISION= 8
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>