freebsd-ports/audio/musicpc/Makefile
Thomas Zander f9a1d81d39 Bump PORTREVISION; fixes shlib link with libmpdclient2
PR:		222813
Submitted by:	uzsolt@uzsolt.hu (maintainer)
MFH:		2017Q4 (ports-secteam runtime fix blanket)
2017-10-07 12:56:49 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Mark Reidel <ports@mark.reidle.info>
# $FreeBSD$
PORTNAME= musicpc
PORTVERSION= 0.28
PORTREVISION= 1
CATEGORIES= audio ipv6
MASTER_SITES= http://www.musicpd.org/download/mpc/0/
DISTNAME= mpc-${PORTVERSION}
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= Command line client for the musicpd
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
USES= pkgconfig tar:xz
GNU_CONFIGURE= yes
PLIST_FILES= bin/mpc man/man1/mpc.1.gz
PORTDOCS= AUTHORS README NEWS
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES DOCS ICONV
OPTIONS_DEFAULT= ICONV
ICONV_USES= iconv
ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB}
ICONV_CONFIGURE_ENABLE= iconv
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>