aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-mpd/Makefile
blob: 32bc2d56a19a9cfa9f6d80f9f9eae7c2e8e01cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mpd
PORTVERSION=    0.3.0
#PORTREVISION=  0
#PORTEPOCH= 0
CATEGORIES= audio python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   python-${PORTNAME}-${PORTVERSION}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Python MPD client library

USE_PYTHON= yes
NO_STAGE=   yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    python_mpd

.if !defined(NOPORTDOCS)
DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${DOCSDIR}/
.endif

.include <bsd.port.mk>