Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 22:27:55 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322591 - head/multimedia/smpeg
Message-ID:  <201307092227.r69MRtGY068848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Jul  9 22:27:55 2013
New Revision: 322591
URL: http://svnweb.freebsd.org/changeset/ports/322591

Log:
  multimedia/smpeg: fix build and minor fixes
  
  - Add SDL_CONFIG to env
  - Remove leading article from COMMENT
  - Trim Makefile header
  - Remove GTK Player, version is too old
  
  PR:		ports/179969
  Submitted by:	wg (myself)
  Approved by:	maintainer (timeout)

Modified:
  head/multimedia/smpeg/Makefile
  head/multimedia/smpeg/pkg-plist

Modified: head/multimedia/smpeg/Makefile
==============================================================================
--- head/multimedia/smpeg/Makefile	Tue Jul  9 22:15:01 2013	(r322590)
+++ head/multimedia/smpeg/Makefile	Tue Jul  9 22:27:55 2013	(r322591)
@@ -1,50 +1,37 @@
-# New ports collection makefile for:	smpeg
-# Date created:		2 Feb 2000
-# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
-#
+# Created by: Chris Piazza <cpiazza@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	smpeg
 PORTVERSION=	0.4.4
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	multimedia
 MASTER_SITES=	ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
 		${MASTER_SITE_GENTOO}
 MASTER_SITE_SUBDIR=	distfiles
 
 MAINTAINER=	acm@FreeBSD.org
-COMMENT=	A free MPEG1 video player library with sound support
+COMMENT=	Free MPEG1 video player library with sound support
 
 USE_AUTOTOOLS=	libtool
-WANT_GNOME=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl
 USE_LDCONFIG=	yes
 CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
-		CC="${CXX}" REAL_CC="${CC}"
+		CC="${CXX}" REAL_CC="${CC}" \
+		SDL_CONFIG="${SDL_CONFIG}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-#If you want to try the opengl player (which doesn't seem to work)
+#If you want to try the opengl/gtk player (which doesn't seem to work)
 #comment out the following line.
 CONFIGURE_ARGS=	--disable-opengl-player \
+		--disable-gtk-player \
 		--enable-mmx
 
 MAN1=		gtv.1 plaympeg.1
 
-.include <bsd.port.pre.mk>
-
-.if ${HAVE_GNOME:Mgtk12}!=""
-USE_GNOME+=	gtk12
-PLIST_SUB+=	GNOME=""
-.else
-CONFIGURE_ARGS+=	--disable-gtk-player
-PLIST_SUB+=	GNOME="@comment "
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
 		${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/multimedia/smpeg/pkg-plist
==============================================================================
--- head/multimedia/smpeg/pkg-plist	Tue Jul  9 22:15:01 2013	(r322590)
+++ head/multimedia/smpeg/pkg-plist	Tue Jul  9 22:27:55 2013	(r322591)
@@ -1,4 +1,3 @@
-%%GNOME%%bin/gtv
 bin/plaympeg
 bin/smpeg-config
 include/smpeg/MPEG.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307092227.r69MRtGY068848>