# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= openquicktime PORTVERSION= 1.0 PORTREVISION= 7 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