aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmps-opendivx-plugin/Makefile
blob: bd3ca2923a0fa88857cf1d003e2ced5829a858c4 (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
37
38
39
40
41
# New ports collection makefile for:    xmps-opendivx-plugin
# Date created:     03 Feb 20001
# Whom:         Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xmps-opendivx-plugin
PORTVERSION=    0.0.1
PORTREVISION=   4
CATEGORIES= multimedia
MASTER_SITES=   http://download.projectmayo.com/dnload/divx4linux/xmps/ \
        http://ftp.vin.bg.ac.yu/linux/mmedia/xmps/

MAINTAINER= ports@FreeBSD.org
COMMENT=    xmps plugin using OpenDivX decoding engine from Project Mayo

LIB_DEPENDS=    divxdecore.0:${PORTSDIR}/multimedia/libdivxdecore \
        xmps.0:${PORTSDIR}/multimedia/xmps

WRKSRC=     ${WRKDIR}/${PORTNAME}-0.0.2
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
USE_GNOME=  gtk12
USE_X_PREFIX=   yes
INSTALLS_SHLIB= yes
PLIST_FILES=    lib/xmps/codecs/video/libopendivx.so \
        lib/xmps/codecs/video/libopendivx.so.${LIB_VERSION}

LIB_VERSION=    0

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
        ${WRKSRC}/configure

post-install:
    @${LN} -sf libopendivx.so ${PREFIX}/lib/xmps/codecs/video/libopendivx.so.${LIB_VERSION}

.include <bsd.port.mk>