openbsd-ports/audio/mpc/Makefile
dcoppa 358fd93272 Updates for musicpd ports:
libmpdclient 2.6 -> 2.7
mpc 0.21 -> 0.22
mpd 0.16.5 -> 0.16.7
ncmpc 0.19 -> 0.20

Ok Tobias Ulmer (maintainer) who also requested to give maintainership
to me

Ok landry@
2012-03-04 16:57:19 +00:00

40 lines
933 B
Makefile

# $OpenBSD: Makefile,v 1.12 2012/03/04 16:57:19 dcoppa Exp $
COMMENT= command line client for mpd
DISTNAME= mpc-0.22
CATEGORIES= audio
HOMEPAGE= http://mpd.wikia.com/wiki/Client:Mpc
MAINTAINER= David Coppa <dcoppa@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c mpdclient
LIB_DEPENDS= audio/libmpdclient>=2.2
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
MODULES= converters/libiconv
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ac_cv_func_iconv=yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -liconv"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mpc
${INSTALL_SCRIPT} \
${WRKSRC}/doc/mpd-m3u-handler.sh \
${WRKSRC}/doc/mpd-pls-handler.sh \
${WRKSRC}/doc/mppledit \
${PREFIX}/share/examples/mpc
${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash \
${PREFIX}/share/examples/mpc
.include <bsd.port.mk>