1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/graphics/smpeg-xmms/Makefile
2001-04-06 08:48:04 +00:00

36 lines
860 B
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.4
CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= smpeg.1:${PORTSDIR}/graphics/smpeg \
xmms.1:${PORTSDIR}/audio/xmms
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
USE_GTK= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-configure:
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
.include <bsd.port.mk>