From bb98d4defea96e451acfb6d482ffe2ed7793d98c Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev <danfe@FreeBSD.org> Date: Wed, 13 Mar 2013 08:26:11 +0000 Subject: [PATCH] - Trim Makefile header - Define LICENSE (GPLv2) - Tighten COMMENT text - Wrap one overly long line - Drop shlib version, sort knobs - Improve port description --- audio/py-ao/Makefile | 18 +++++++++--------- audio/py-ao/pkg-descr | 6 ++---- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/audio/py-ao/Makefile b/audio/py-ao/Makefile index d94527a9e550..300a8f79862c 100644 --- a/audio/py-ao/Makefile +++ b/audio/py-ao/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: pyao -# Date created: 23 Sep 2002 -# Whom: nbm -# +# Created by: Neil Blakey-Milner <nbm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= ao PORTVERSION= 0.82 @@ -15,16 +11,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyao-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A python wrapper for ao, an audio device abstraction library +COMMENT= Python wrapper for audio device abstraction library (libao) -LIB_DEPENDS= ao.4:${PORTSDIR}/audio/libao +LICENSE= GPLv2 + +LIB_DEPENDS= ao:${PORTSDIR}/audio/libao -PLIST_FILES= %%PYTHON_SITELIBDIR%%/aomodule.so USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pyao +PLIST_FILES= %%PYTHON_SITELIBDIR%%/aomodule.so + do-configure: - @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix "${LOCALBASE}" + @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \ + --prefix "${LOCALBASE}" .include <bsd.port.mk> diff --git a/audio/py-ao/pkg-descr b/audio/py-ao/pkg-descr index f619b107c601..f44b67c60931 100644 --- a/audio/py-ao/pkg-descr +++ b/audio/py-ao/pkg-descr @@ -1,6 +1,4 @@ -pyao - a Python wrapper module for the ao library - -Ao is an audio abstraction library that lets you output to different -devices using the same interface. +This is a Python wrapper module for the libao, an audio abstraction library +that lets you output to different devices using the same interface. WWW: http://ekyo.nerim.net/software/pyogg/index.html