aboutsummaryrefslogtreecommitdiff
path: root/multimedia/smpeg
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-07-09 22:27:55 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-07-09 22:27:55 +0000
commit3ee154e8957b69ee9cbd7c0e651b044c91f9c0f8 (patch)
tree7d82dffa912a5257bba10bc1e39c7f091ef9cc50 /multimedia/smpeg
parentad7f8d0c308993dff1f4e07d147284fc4fc12da1 (diff)
downloadports-3ee154e8957b69ee9cbd7c0e651b044c91f9c0f8.tar.gz
ports-3ee154e8957b69ee9cbd7c0e651b044c91f9c0f8.zip
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)
Notes
Notes: svn path=/head/; revision=322591
Diffstat (limited to 'multimedia/smpeg')
-rw-r--r--multimedia/smpeg/Makefile29
-rw-r--r--multimedia/smpeg/pkg-plist1
2 files changed, 8 insertions, 22 deletions
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 <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>
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