mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
audio/mpc: update to 0.22
- Update to 0.22 - Add LICENSE (GPLv2) - Remove spaces from WWW in pkg-descr - New form for pkgconfig PR: ports/179234 Submitted by: nemysis <nemysis@gmx.ch> Approved by: culot / jpaetzel (mentors, implicit), maintainer
This commit is contained in:
parent
489d5365ce
commit
bc77991c54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321115
@ -2,41 +2,37 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mpc
|
||||
PORTVERSION= 0.21
|
||||
PORTVERSION= 0.22
|
||||
CATEGORIES= audio ipv6
|
||||
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
|
||||
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= ports@mark.reidel.info
|
||||
COMMENT= Command line client for the musicpd
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES DOCS ICONV
|
||||
OPTIONS_DEFAULT= ICONV
|
||||
ICONV_DESC= Support for international characters
|
||||
|
||||
USES= pkgconfig
|
||||
USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= pkgconfig
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
PORTDOCS= AUTHORS README NEWS
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-completion.bash
|
||||
PORTDOCS= AUTHORS README NEWS
|
||||
PORTEXAMPLES= *
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
PLIST_DIRS= %%EXAMPLESDIR%%
|
||||
.endif
|
||||
|
||||
.ifndef(NO_INSTALL_MANPAGES)
|
||||
MAN1= ${PORTNAME}.1
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MICONV}
|
||||
USES= iconv
|
||||
USES+= iconv
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-iconv
|
||||
.endif
|
||||
@ -45,19 +41,18 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lintl|-liconv|g' ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-completion.bash ${EXAMPLESDIR}
|
||||
.endif
|
||||
.ifndef(NO_INSTALL_MANPAGES)
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
|
||||
.endif
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mpc-0.21.tar.bz2) = 2fd743c42a52e5de376e774dd968541f6b6273ec782c66600b75d740f8b47cc2
|
||||
SIZE (mpc-0.21.tar.bz2) = 99936
|
||||
SHA256 (mpc-0.22.tar.bz2) = cc42811d7ed8e65d50a0aaf1edf29597e3e264b06026b40da88a8a763a2dd334
|
||||
SIZE (mpc-0.22.tar.bz2) = 102296
|
||||
|
@ -2,4 +2,4 @@ A client for MPD, the Music Player Daemon.
|
||||
mpc connects to a MPD running on a machine via a network.
|
||||
Read more about MPD on http://www.musicpd.org
|
||||
|
||||
WWW: http://www.musicpd.org
|
||||
WWW: http://www.musicpd.org
|
||||
|
Loading…
Reference in New Issue
Block a user