38 lines
877 B
Makefile
Raw Normal View History

2014-06-16 09:35:16 +00:00
# $OpenBSD: Makefile,v 1.18 2014/06/16 09:35:16 jasper Exp $
COMMENT= command line client for mpd
2014-06-16 09:35:16 +00:00
VER= 0.26
2013-09-24 14:30:33 +00:00
DISTNAME= mpc-${VER}
CATEGORIES= audio
2013-09-19 16:33:17 +00:00
HOMEPAGE= http://www.musicpd.org/clients/mpc/
MAINTAINER= David Coppa <dcoppa@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
2010-10-18 22:43:10 +00:00
WANTLIB= c mpdclient
LIB_DEPENDS= audio/libmpdclient>=2.2
2013-09-24 14:30:33 +00:00
MASTER_SITES= http://www.musicpd.org/download/mpc/${VER:R}/
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>