blob: 27107bc6468cb8181701d1f192f8e21568c13c0e (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= cymbaline
PORTVERSION= 1.3e
CATEGORIES= audio python
MASTER_SITES= http://www.silmarill.org/files/
MAINTAINER= novel@FreeBSD.org
COMMENT= Console frontend for py-mad
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/aomodule.so:${PORTSDIR}/audio/py-ao \
${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad
NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_FILES= bin/cymbaline
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
post-install:
@${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline
@${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|