2000-02-03 05:57:35 +01:00
|
|
|
# New ports collection makefile for: smpeg
|
|
|
|
# Date created: 2 Feb 2000
|
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= smpeg
|
2001-06-26 18:24:13 +02:00
|
|
|
PORTVERSION= 0.4.4
|
2006-04-28 06:02:39 +02:00
|
|
|
PORTREVISION= 5
|
2003-04-04 03:38:40 +02:00
|
|
|
CATEGORIES= multimedia
|
2005-11-23 13:33:34 +01:00
|
|
|
MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
|
|
|
|
${MASTER_SITE_GENTOO}
|
|
|
|
MASTER_SITE_SUBDIR= distfiles
|
2000-02-03 05:57:35 +01:00
|
|
|
|
2005-11-23 13:33:34 +01:00
|
|
|
MAINTAINER= acardenas@bsd.org.pe
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= A free MPEG1 video player library with sound support
|
2000-02-03 05:57:35 +01:00
|
|
|
|
2003-07-15 08:21:44 +02:00
|
|
|
WANT_GNOME= yes
|
2000-02-03 05:57:35 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-23 22:59:42 +01:00
|
|
|
USE_SDL= sdl
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-10-02 14:42:16 +02:00
|
|
|
CONFIGURE_ENV= GLBASE="${X11BASE}" \
|
2002-07-02 14:43:46 +02:00
|
|
|
CPPFLAGS="-I${X11BASE}/include" \
|
|
|
|
CC="${CXX}" REAL_CC="${CC}"
|
2000-02-03 09:06:41 +01:00
|
|
|
|
|
|
|
#If you want to try the opengl player (which doesn't seem to work)
|
|
|
|
#comment out the following line.
|
2000-04-25 23:31:42 +02:00
|
|
|
CONFIGURE_ARGS= --disable-opengl-player \
|
|
|
|
--enable-mmx
|
2000-02-03 05:57:35 +01:00
|
|
|
|
|
|
|
MAN1= gtv.1 plaympeg.1
|
|
|
|
|
2003-07-15 08:21:44 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
|
|
USE_GNOME+= gtk12
|
2006-04-28 06:02:39 +02:00
|
|
|
PLIST_SUB+= GNOME=""
|
2003-07-15 08:21:44 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-player
|
2006-04-28 06:02:39 +02:00
|
|
|
PLIST_SUB+= GNOME="@comment "
|
2003-07-15 08:21:44 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-02 22:28:41 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
|
|
${WRKSRC}/configure
|
2000-12-11 10:28:57 +01:00
|
|
|
|
2003-07-15 08:21:44 +02:00
|
|
|
.include <bsd.port.post.mk>
|