blob: 108aa383d660fa58563d226a28ae51e1b42a3c16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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= multimedia gnome
MASTER_SITES= ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/
MAINTAINER= ports@FreeBSD.org
COMMENT= A mpeg video plugin for XMMS
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg \
xmms.3:${PORTSDIR}/multimedia/xmms
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
USE_GNOME= gtk12
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>
|