2001-09-24 22:05:22 +02:00
|
|
|
# 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
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 6
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OpenQuicktime%20v1/${PORTVERSION}b
|
2001-09-24 22:05:22 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-03-05 02:17:09 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Portable library for handling Apple's QuickTime(TM) files
|
2001-09-24 22:05:22 +02:00
|
|
|
|
2010-02-05 12:46:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
|
2001-09-24 22:05:22 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= gtk12
|
2001-09-24 22:05:22 +02:00
|
|
|
USE_GMAKE= yes
|
2006-08-15 02:56:24 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-09-24 22:05:22 +02:00
|
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
OPTIONS_DEFINE= DEBUG
|
2004-06-26 05:05:57 +02:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2004-04-12 06:28:06 +02:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2004-06-26 05:05:57 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-debug=no
|
|
|
|
.endif
|
|
|
|
|
2008-09-15 19:48:59 +02:00
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
|
|
|
|
2001-09-24 22:05:22 +02:00
|
|
|
post-patch:
|
2007-07-02 06:38:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2||' \
|
|
|
|
-e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \
|
2004-10-15 00:09:16 +02:00
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2007-07-02 06:38:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|"m"|"g"|' \
|
|
|
|
${WRKSRC}/audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c
|
2004-10-15 00:09:16 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|-fpic||' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-09-24 22:05:22 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
|
|
${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.include <bsd.port.mk>
|