blob: 4e1c9d33aee9b9291a2dc48a6d3e107df83107c6 (
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
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= openquicktime
PORTVERSION= 1.0
PORTREVISION= 6
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/OpenQuicktime%20v1/${PORTVERSION}b
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable library for handling Apple's QuickTime(TM) files
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_GNOME= gtk12
USES= gmake tar:tgz
USE_LDCONFIG= yes
PKGDEINSTALL= ${PKGINSTALL}
CFLAGS_amd64= -fPIC
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_OFF= --enable-debug=no
post-patch:
@${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2|| ; s|-fpic||' \
-e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -E 's,(bin|lib|include)dir),DESTDIR)$$(&,' \
${WRKSRC}/Makefile.in \
${WRKSRC}/audioplugin/MP3/Makefile.in \
${WRKSRC}/videoplugin/PHOTO_JPEG/Makefile.in
@${REINPLACE_CMD} -e 's|"m"|"g"|' \
${WRKSRC}/audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c
.include <bsd.port.mk>
|