freebsd-ports/audio/herrie/Makefile
Martin Wilke 39724404b4 - Update to 1.5.1
PR:             110153
Submitted by:   Ed Schouten <ed@fxq.nl> (maintainer)
2007-03-13 08:21:38 +00:00

70 lines
1.6 KiB
Makefile

# New ports collection makefile for: herrie
# Date created: 01 August 2006
# Whom: Ed Schouten <ed@fxq.nl>
#
# $FreeBSD$
#
PORTNAME= herrie
PORTVERSION= 1.5.1
CATEGORIES= audio
MASTER_SITES= http://g-rave.nl/projects/herrie/distfiles/ \
http://www.il.fontys.nl/~ed/projects/herrie/distfiles/ \
http://www.stack.nl/~ed/projects/herrie/distfiles/
MAINTAINER= ed@fxq.nl
COMMENT= A small command line interface music player
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
HAS_CONFIGURE= yes
CONFIGURE_ENV+= PREFIX=${PREFIX}
USE_OPENSSL= yes
USE_GNOME= glib20
USE_GETTEXT= yes
OPTIONS= MAD "MAD MP3 support" on \
VORBIS "Ogg Vorbis support" on \
SNDFILE "libsndfile support" on \
MODPLUG "libmodplug support" off \
LIBAO "LibAO support (breaks chroot)" off \
XCURSES "Build XCurses version" off
MAN1= herrie.1
MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MAD)
LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/mad \
id3tag.0:${PORTSDIR}/audio/libid3tag
.else
CONFIGURE_ARGS+=no_mp3
.endif
.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
.else
CONFIGURE_ARGS+=no_vorbis
.endif
.if !defined(WITHOUT_SNDFILE)
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
.else
CONFIGURE_ARGS+=no_sndfile
.endif
.if !defined(WITHOUT_MODPLUG)
LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug
.else
CONFIGURE_ARGS+=no_modplug
.endif
.if !defined(WITHOUT_LIBAO)
LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao
CONFIGURE_ARGS+=ao
.endif
.if !defined(WITHOUT_XCURSES)
LIB_DEPENDS+= XCurses.2:${PORTSDIR}/devel/pdcurses
CONFIGURE_ARGS+=xcurses
.endif
.include <bsd.port.post.mk>