aboutsummaryrefslogtreecommitdiff
path: root/multimedia/smpeg/Makefile
blob: ebfe9135952ceae1796e9aecd3aa6dce23114c18 (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
# New ports collection makefile for:	smpeg
# Date created:		2 Feb 2000
# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	smpeg
PORTVERSION=	0.4.0
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.lokigames.com/pub/open-source/smpeg/

MAINTAINER=	cpiazza@FreeBSD.org

LIB_DEPENDS=  	SDL-1.1.2:${PORTSDIR}/devel/sdl-devel \
		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

GTK_CONFIG=	${X11BASE}/bin/gtk12-config
SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}" \
		SDL_CONFIG="${SDL_CONFIG}" \
		GLBASE="${X11BASE}" \
		CPPFLAGS="-I${X11BASE}/include"

#If you want to try the opengl player (which doesn't seem to work)
#comment out the following line.
CONFIGURE_ARGS=	--disable-opengl-player \
		--enable-mmx

MAN1=		gtv.1 plaympeg.1

.include <bsd.port.mk>