1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/py-ogg/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

29 lines
621 B
Makefile

# Created by: nbm
# $FreeBSD$
PORTNAME= ogg
PORTVERSION= 1.3
PORTREVISION= 7
CATEGORIES= audio python
MASTER_SITES= http://ekyo.nerim.net/software/pyogg/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyogg-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Object-oriented Python bindings for the ogg library
LICENSE= LGPL20
LIB_DEPENDS= libogg.so:audio/libogg
USES= python:2.7
USE_PYTHON= distutils autoplist
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ogg/_ogg.so
.include <bsd.port.mk>