aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smpeg-xmms/Makefile
blob: c9b659d9ff1a9e37edacb26122801f74cf844995 (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.5
PORTREVISION=   8
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

USE_GNOME=  gnomehack gtk12
USE_SDL=    sdl
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=    lib/xmms/Input/libsmpeg_xmms.so

# 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.mk>