aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdivxdecore-devel/Makefile
blob: c27ebf6dc0ef79a1f12c03d01aeb3d085a8f543b (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
42
43
44
45
46
# New ports collection makefile for:    libdivxdecore developer version
# Date created:     03 Feb 20001
# Whom:         Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libdivxdecore
PORTVERSION=    0.4.0.50
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   http://download.projectmayo.com/dnload/divxcore/
PKGNAMESUFFIX=  -devel
DISTNAME=   decore${PORTVERSION:E}src

MAINTAINER= lioux@FreeBSD.org

ONLY_FOR_ARCHS= i386
USE_ZIP=    yes
EXTRACT_BEFORE_ARGS=    -q -a -L
MAKE_ARGS=  LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
PLIST_SUB=  LIB_VERSION="${LIB_VERSION}"
INSTALLS_SHLIB= yes

PATCH_WRKSRC=   ${WRKDIR}/decore
WRKSRC=     ${WRKDIR}/decore/src

LIB_VERSION=    1

.ifndef(NOPROFILE)
PLIST_SUB+= NOPROFILE=''
.else
PLIST_SUB+= NOPROFILE='@comment '
.endif

post-extract:
.for ext in c h
    @${MV} ${WRKSRC}/transferidct.${ext} \
        ${WRKSRC}/transferIDCT.${ext}
.endfor
    @${CP} ${FILESDIR}/Makefile ${WRKSRC}

pre-install:
    @${MKDIR} ${PREFIX}/include/divx

.include <bsd.port.mk>