mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
9e5632dd66
the libtoolX ports instead of the one included with each port. Ports that set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of the included version. To restore previous behavior, use the new macro, USE_INC_LIBTOOL_VER. Both macros accept the same argument: a libtool version. For example, to use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 To use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 With this change, ports that had to add additional libtool hacks to prevent .la files from being installed or to fix certain threading issues can now delete those hacks (after appropriate testing, of course). PR: 63944 Based on work by:eik and marcus Approved by: ade (autotools maintainer) Tested by: kris on pointyhat Bound to be hidden problems: You bet
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: smpeg
|
|
# Date created: 2 Feb 2000
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smpeg
|
|
PORTVERSION= 0.4.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ftp://ftp.lokigames.com/pub/open-source/smpeg/ \
|
|
ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
|
|
ftp://boudicca.tux.org/misc/lokigames/open-source/smpeg/ \
|
|
ftp://snuffleupagus.animearchive.org/loki/open-source/smpeg/ \
|
|
http://ftp.gameaholic.com/mirrors/ftp.lokigames.com/open-source/smpeg/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A free MPEG1 video player library with sound support
|
|
|
|
USE_GNOME=
|
|
WANT_GNOME= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_INC_LIBTOOL_VER=13
|
|
USE_SDL= sdl
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= GLBASE="${X11BASE}" \
|
|
CPPFLAGS="-I${X11BASE}/include" \
|
|
CC="${CXX}" REAL_CC="${CC}"
|
|
|
|
#If you want to try the opengl player (which doesn't seem to work)
|
|
#comment out the following line.
|
|
CONFIGURE_ARGS= --disable-opengl-player \
|
|
--enable-mmx
|
|
|
|
MAN1= gtv.1 plaympeg.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
USE_GNOME+= gtk12
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gtk-player
|
|
.endif
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
|
|
${WRKSRC}/libtool
|
|
|
|
.include <bsd.port.post.mk>
|