aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/openquicktime/Makefile
blob: 18ce2651250f8591d8814d5fb9fa6bef72d13394 (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
49
50
51
52
53
# New ports collection makefile for:    openquicktime
# Date created:             Mon Sep 24 16:26:33 BRT 2001
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   openquicktime
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openquicktime
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= lioux@FreeBSD.org
COMMENT=    Portable library for handling Apple's QuickTime(TM) files

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg

GNU_CONFIGURE=  yes
USE_GNOME=  gtk12
USE_GMAKE=  yes
USE_REINPLACE=  yes
USE_SIZE=   yes
INSTALL_SHLIBS= yes
PKGDEINSTALL=   ${PKGINSTALL}

OPTIONS=    DEBUG "Turn on debugging" on

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=     "Does not compile on FreeBSD >= 5.x"
.endif

.ifndef(WITH_DEBUG)
CONFIGURE_ARGS+=    --enable-debug=no
.endif

.if ${ARCH} == "sparc64"
BROKEN=     "Does not build on sparc64"
.endif

post-patch:
    @${REINPLACE_CMD} -e "s/xCC/xc/" ${WRKSRC}/configure

post-install:
    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
        ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>