summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-player/Makefile
blob: 61c3e1c6e8fb18d136c10237ff4416613bb61d61 (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
54
55
56
# New ports collection makefile for:	gstreamer player
# Date created:		Fri Jul 12 06:02:42 UTC 2002
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gstreamer
PORTVERSION=	0.5.0
CATEGORIES=	multimedia audio gnome
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMESUFFIX=	-player
DISTNAME=	gst-player-${PORTVERSION}

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	Simple yet functional mediaplayer written with GStreamer

BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS=	glib-2.0.200:${PORTSDIR}/devel/glib20 \
		gconf-2.5:${PORTSDIR}/devel/gconf2 \
		glade-2.0.0:${PORTSDIR}/devel/libglade2 \
		gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
		gstreamer-0.6.0:${PORTSDIR}/multimedia/gstreamer \
		gstplay-0.6.0:${PORTSDIR}/multimedia/gstreamer-plugins \
		gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
		pango-1.0.200:${PORTSDIR}/x11-toolkits/pango \
		popt.0:${PORTSDIR}/devel/popt \
		xml2.5:${PORTSDIR}/textproc/libxml2

USE_X_PREFIX=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack \
		gnomehier \
		gnomeprefix
USE_LIBTOOL=	yes
USE_REINPLACE=	yes
CONFIGURE_ENV=	PKG_CONFIG=${PKG_CONFIG}
PLIST_SUB=	\
	VERSION="${PORTVERSION}" \
	SHLIB_VERSION="${SHLIB_VERSION}"
INSTALLS_SHLIB=	yes

MAN1=		gst-player.1

PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"

# library minor number
SHLIB_VERSION=	0

pre-install:
# required for PREFIX safeness, the dir might not exist under PREFIX
	@${MKDIR} ${PREFIX}/etc/gconf/

.include <bsd.port.mk>