blob: 4e4aecfc77b730955705bf4c793d19444696597f (
plain) (
blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: gstreamer-python
# Date created: Fri Apr 9 16:24:13 CEST 2004
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#
PORTNAME= gstreamer
PORTVERSION= 0.7.92
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gst-python-${PORTVERSION}
MAINTAINER= kwm@rainbow-runner.nl
COMMENT= A set of Python bindings for gstreamer
.if !defined(NOPORTDOCS)
BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \
lynx:${PORTSDIR}/www/lynx
.endif
USE_PYTHON= yes
USE_GMAKE= yes
USE_GNOME= gstreamerplugins \
pygtk2 \
gnomehack \
pkgconfig \
lthack
USE_LIBTOOL_VER=13
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}"
DOCS= README.html README.txt
EXAMPLES= gst/bps.py gst/cp.py gst/dvdplay.py gst/f2f.py \
gst/identity.py gst/ilat.py gst/lat.py gst/rot13.py \
gst/vorbisplay.py gst/wavenc.py gstplay/player.py
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS= --enable-docs
.else
CONFIGURE_ARGS= --disable-docs
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.for i in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${i} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
|