2013-07-10 00:27:55 +02:00
|
|
|
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
2000-02-03 05:57:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= smpeg
|
2001-06-26 18:24:13 +02:00
|
|
|
PORTVERSION= 0.4.4
|
2014-03-07 12:27:00 +01:00
|
|
|
PORTREVISION= 11
|
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
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2013-07-10 00:27:55 +02:00
|
|
|
COMMENT= Free MPEG1 video player library with sound support
|
2000-02-03 05:57:35 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2014-02-02 17:03:27 +01:00
|
|
|
USES= gmake
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-23 22:59:42 +01:00
|
|
|
USE_SDL= sdl
|
2007-03-20 20:34:21 +01:00
|
|
|
USE_LDCONFIG= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= GLBASE="${LOCALBASE}" \
|
2013-07-10 00:27:55 +02:00
|
|
|
CC="${CXX}" REAL_CC="${CC}" \
|
|
|
|
SDL_CONFIG="${SDL_CONFIG}"
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2000-02-03 09:06:41 +01:00
|
|
|
|
2013-07-10 00:27:55 +02:00
|
|
|
#If you want to try the opengl/gtk player (which doesn't seem to work)
|
2000-02-03 09:06:41 +01:00
|
|
|
#comment out the following line.
|
2000-04-25 23:31:42 +02:00
|
|
|
CONFIGURE_ARGS= --disable-opengl-player \
|
2013-07-10 00:27:55 +02:00
|
|
|
--disable-gtk-player \
|
2000-04-25 23:31:42 +02:00
|
|
|
--enable-mmx
|
2000-02-03 05:57:35 +01:00
|
|
|
|
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
|
|
|
|
2013-07-10 00:27:55 +02:00
|
|
|
.include <bsd.port.mk>
|