freebsd-ports/multimedia/smpeg-xmms/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: smpeg-xmms
# Date created: 30 August 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= smpeg-xmms
PORTVERSION= 0.3.5
PORTREVISION= 7
CATEGORIES= multimedia gnome
MASTER_SITES= http://www.xmms.org/files/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/multimedia/xmms/%SUBDIR%/
MASTER_SITE_SUBDIR= plugins/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A mpeg video plugin for XMMS
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg \
xmms.4:${PORTSDIR}/multimedia/xmms
PLIST_FILES= lib/xmms/Input/libsmpeg_xmms.so
USE_SDL= sdl
USE_GNOME= gnomehack gtk12
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/xmms/Input
do-install:
${MKDIR} ${PREFIX}/lib/xmms/Input
${INSTALL_PROGRAM} \
${WRKSRC}/src/.libs/libsmpeg_xmms.so ${PREFIX}/lib/xmms/Input
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700029
BROKEN= Does not build
.endif
.include <bsd.port.post.mk>