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
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2001-09-24 22:05:22 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= openquicktime
|
|
|
|
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
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
2004-06-26 05:05:57 +02:00
|
|
|
OPTIONS= DEBUG "Turn on debugging" on
|
|
|
|
|
2004-04-12 06:28:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-06-26 05:05:57 +02:00
|
|
|
.ifndef(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug=no
|
|
|
|
.endif
|
|
|
|
|
2004-11-18 23:23:27 +01:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not build on !i386"
|
2004-04-12 06:28:06 +02:00
|
|
|
.endif
|
|
|
|
|
2001-09-24 22:05:22 +02:00
|
|
|
post-patch:
|
2004-10-15 00:09:16 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|xCC|xc|' \
|
|
|
|
-e 's|-O2||' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|-fpic||' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.endif
|
2001-09-24 22:05:22 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
|
|
${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2004-04-12 06:28:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|