freebsd-ports/audio/cymbaline/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

40 lines
933 B
Makefile

# 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>