View | Details | Raw Unified | Return to bug 179969
Collapse All | Expand All

(-)Makefile (-21 / +8 lines)
Lines 1-50 Link Here
1
# New ports collection makefile for:	smpeg
1
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
2
# Date created:		2 Feb 2000
3
# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	smpeg
4
PORTNAME=	smpeg
9
PORTVERSION=	0.4.4
5
PORTVERSION=	0.4.4
10
PORTREVISION=	9
6
PORTREVISION=	10
11
CATEGORIES=	multimedia
7
CATEGORIES=	multimedia
12
MASTER_SITES=	ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
8
MASTER_SITES=	ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
13
		${MASTER_SITE_GENTOO}
9
		${MASTER_SITE_GENTOO}
14
MASTER_SITE_SUBDIR=	distfiles
10
MASTER_SITE_SUBDIR=	distfiles
15
11
16
MAINTAINER=	acm@FreeBSD.org
12
MAINTAINER=	acm@FreeBSD.org
17
COMMENT=	A free MPEG1 video player library with sound support
13
COMMENT=	Free MPEG1 video player library with sound support
18
14
19
USE_AUTOTOOLS=	libtool
15
USE_AUTOTOOLS=	libtool
20
WANT_GNOME=	yes
21
USE_GMAKE=	yes
16
USE_GMAKE=	yes
22
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
23
USE_SDL=	sdl
18
USE_SDL=	sdl
24
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
25
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
20
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
26
		CC="${CXX}" REAL_CC="${CC}"
21
		CC="${CXX}" REAL_CC="${CC}" \
22
		SDL_CONFIG="${SDL_CONFIG}"
27
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
28
24
29
#If you want to try the opengl player (which doesn't seem to work)
25
#If you want to try the opengl/gtk player (which doesn't seem to work)
30
#comment out the following line.
26
#comment out the following line.
31
CONFIGURE_ARGS=	--disable-opengl-player \
27
CONFIGURE_ARGS=	--disable-opengl-player \
28
		--disable-gtk-player \
32
		--enable-mmx
29
		--enable-mmx
33
30
34
MAN1=		gtv.1 plaympeg.1
31
MAN1=		gtv.1 plaympeg.1
35
32
36
.include <bsd.port.pre.mk>
37
38
.if ${HAVE_GNOME:Mgtk12}!=""
39
USE_GNOME+=	gtk12
40
PLIST_SUB+=	GNOME=""
41
.else
42
CONFIGURE_ARGS+=	--disable-gtk-player
43
PLIST_SUB+=	GNOME="@comment "
44
.endif
45
46
post-patch:
33
post-patch:
47
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
34
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
48
		${WRKSRC}/configure
35
		${WRKSRC}/configure
49
36
50
.include <bsd.port.post.mk>
37
.include <bsd.port.mk>
(-)pkg-plist (-1 lines)
Lines 1-4 Link Here
1
%%GNOME%%bin/gtv
2
bin/plaympeg
1
bin/plaympeg
3
bin/smpeg-config
2
bin/smpeg-config
4
include/smpeg/MPEG.h
3
include/smpeg/MPEG.h

Return to bug 179969