aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/etoile-mediakit/Makefile
blob: 4bedfb4ed1facf0d6c212c9c7bc4d3906d412852 (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
47
48
# New ports collection makefile for:    etoile-mediakit
# Date created:         23 Nov 2008
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   mediakit
PORTVERSION=    0.4.1
PORTREVISION=   3
CATEGORIES= multimedia gnustep
MASTER_SITES=   http://download.gna.org/etoile/
PKGNAMEPREFIX=  etoile-
DISTNAME=   etoile-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Etoile Project MediaKit framework

LIB_DEPENDS=    avcodec.1:${PORTSDIR}/multimedia/ffmpeg

LICENSE=    BSD

DEPRECATED= API no longer supported
EXPIRATION_DATE=    2012-07-20

USE_BZIP2=  yes
USE_GNUSTEP=    yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_LDCONFIG=   ${GNUSTEP_LOCAL_LIBRARIES}
USE_GNUSTEP_LOCAL_LIBS+=    EtoileFoundation:${FOUNDATION_PORT}
USE_GNUSTEP_LOCAL_LIBS+=    SystemConfig:${SYSTEMCONFIG_PORT}

DEFAULT_LIBVERSION= 0.1
WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION}
USE_GNUSTEP_MAKE_DIRS+= Frameworks/MediaKit

FOUNDATION_PORT?=   devel/etoile-foundation
SYSTEMCONFIG_PORT?= deskutils/etoile-systemconfig

ADDITIONAL_INCLUDE_DIRS+=   -I${LOCALBASE}/include/ffmpeg

post-configure:
    ${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/etoile.make \
        ${WRKSRC}/Frameworks/MediaKit/GNUmakefile

.include <bsd.port.mk>