From 3ee154e8957b69ee9cbd7c0e651b044c91f9c0f8 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Tue, 9 Jul 2013 22:27:55 +0000 Subject: 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) --- multimedia/smpeg/Makefile | 29 ++++++++--------------------- multimedia/smpeg/pkg-plist | 1 - 2 files changed, 8 insertions(+), 22 deletions(-) (limited to 'multimedia/smpeg') diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile index 738d66689f9d..4ad927cb1dc0 100644 --- a/multimedia/smpeg/Makefile +++ b/multimedia/smpeg/Makefile @@ -1,50 +1,37 @@ -# New ports collection makefile for: smpeg -# Date created: 2 Feb 2000 -# Whom: Chris Piazza -# +# Created by: Chris Piazza # $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 - -.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 +.include diff --git a/multimedia/smpeg/pkg-plist b/multimedia/smpeg/pkg-plist index c74914727190..b4dbf03d027e 100644 --- a/multimedia/smpeg/pkg-plist +++ b/multimedia/smpeg/pkg-plist @@ -1,4 +1,3 @@ -%%GNOME%%bin/gtv bin/plaympeg bin/smpeg-config include/smpeg/MPEG.h -- cgit v1.2.3