openbsd-ports/audio/herrie/Makefile

65 lines
1.6 KiB
Makefile
Raw Normal View History

2011-09-16 04:26:09 -04:00
# $OpenBSD: Makefile,v 1.25 2011/09/16 08:26:10 espie Exp $
2007-07-02 17:52:27 -04:00
COMMENT= minimalistic console-based audio player
2008-10-16 13:29:33 -04:00
DISTNAME= herrie-2.2
2011-09-16 04:26:09 -04:00
REVISION= 1
CATEGORIES= audio
2007-07-02 17:52:27 -04:00
HOMEPAGE= http://herrie.info/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c ncurses ogg pthread mad>=2 id3tag>=3 sndfile>=1
WANTLIB += vorbis>=5 vorbisfile>=4 glib-2.0>=1000 gthread-2.0>=1000
WANTLIB += curl>=9 ao
MODULES= devel/gettext
2007-07-02 17:52:27 -04:00
MASTER_SITES= ${HOMEPAGE}/distfiles/ \
http://www.stack.nl/~ed/projects/herrie/distfiles/ \
http://www.il.fontys.nl/~ed/projects/herrie/distfiles/
LIB_DEPENDS= audio/libmad \
audio/libid3tag \
audio/libsndfile \
audio/libvorbis \
devel/glib2 \
net/curl \
2010-11-26 02:07:56 -05:00
audio/libao>=0.8.8p1
CONFIGURE_STYLE= simple
CONFIGURE_ENV+= CONFDIR=${SYSCONFDIR} \
PREFIX=${PREFIX} \
LDFLAGS="-lvorbis -logg" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
2007-07-02 17:52:27 -04:00
CONFIGURE_ARGS= ncurses \
no_modplug \
no_strip \
no_xspf \
verbose \
ao
USE_GROFF = Yes
NO_REGRESS= Yes
2008-10-16 13:29:33 -04:00
LANGS= ca da de es fi ga nl pl pt_BR ru sv tr uk vi zh_CN
2007-03-15 03:20:29 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/herrie ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/herrie.1 ${PREFIX}/man/man1
2007-03-15 03:20:29 -04:00
.for l in ${LANGS}
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/${l}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/${l}.mo \
${PREFIX}/share/locale/${l}/LC_MESSAGES/herrie.mo
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/herrie
${INSTALL_DATA} ${WRKSRC}/herrie.conf.sample ${PREFIX}/share/herrie
.include <bsd.port.mk>