55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2007/09/23 15:50:45 jasper Exp $
|
|
|
|
COMMENT= minimalistic console-based audio player
|
|
|
|
DISTNAME= herrie-1.8.4
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://herrie.info/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto idn ncurses ogg ossaudio pthread ssl z
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/distfiles/ \
|
|
http://www.stack.nl/~ed/projects/herrie/distfiles/ \
|
|
http://www.il.fontys.nl/~ed/projects/herrie/distfiles/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
LIB_DEPENDS= mad.>=2::audio/libmad \
|
|
id3tag.>=3::audio/libid3tag \
|
|
sndfile.>=1::audio/libsndfile \
|
|
vorbis.>=5,vorbisfile.>=4::audio/libvorbis \
|
|
glib-2.0.>=1000.0,gthread-2.0.>=1000.0::devel/glib2 \
|
|
curl.>=4::net/curl
|
|
|
|
CONFIGURE_STYLE= simple
|
|
CONFIGURE_ENV+= PREFIX=${PREFIX}
|
|
CONFIGURE_ARGS= ncurses \
|
|
no_modplug \
|
|
no_strip \
|
|
no_xspf \
|
|
verbose
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
LANGS= de ga nl pl ru sv tr vi
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/herrie ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/herrie.1 ${PREFIX}/man/man1
|
|
.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
|
|
|
|
.include <bsd.port.mk>
|