34 lines
876 B
Makefile
34 lines
876 B
Makefile
# Created by: Koop Mast <kwm@rainbow-runner.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gstreamer
|
|
PORTVERSION= 1.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia python
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 1
|
|
DISTNAME= gst-python-${PORTVERSION}
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Python bindings for gstreamer
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake libtool pathfix pkgconfig python:2 tar:bzip2
|
|
USE_GNOME= pygobject3
|
|
USE_GSTREAMER1= yes
|
|
GNU_CONFIGURE= yes
|
|
PLIST_SUB= VERSION="${GST_VERSION}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-install:
|
|
${SETENV} PYTHON=${PYTHON_CMD} ${SH} ${WRKSRC}/py-compile \
|
|
--destdir ${STAGEDIR} \
|
|
--basedir ${PYTHON_SITELIBDIR} \
|
|
${STAGEDIR}${PYTHON_SITELIBDIR}/pygst.py
|
|
|
|
.include <bsd.port.mk>
|