1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/mpc/Makefile
Martin Wilke 63d6df9599 - Update to 111868
PR:		111868
Submitted by:	miwi
Approved by:	maintainer
2007-04-20 21:08:07 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: mpc
# Date created: Oct 02 2003
# Whom: Mark Reidel <ports@mark.reidle.info>
#
# $FreeBSD$
#
PORTNAME= mpc
PORTVERSION= 0.12.1
CATEGORIES= audio ipv6
MASTER_SITES= http://musicpd.org/uploads/files/
MAINTAINER= ports@mark.reidel.info
COMMENT= Command line client for the musicpd
USE_BZIP2= yes
GNU_CONFIGURE= yes
OPTIONS= ICONV "Support for international characters" on \
CFLAGS+= -I${PREFIX}/include
MAN1= mpc.1
.include <bsd.port.pre.mk>
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
.ifdef(WITHOUT_ICONV)
CONFIGURE_ARGS+=--disable-iconv
.else
USE_ICONV= yes
.endif
PLIST_FILES= bin/mpc %%EXAMPLESDIR%%/mpc-bashrc
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin/
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/mpc-bashrc ${EXAMPLESDIR}
${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.post.mk>