freebsd-ports/multimedia/openquicktime/Makefile

56 lines
1.2 KiB
Makefile
Raw Normal View History

# 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= 3
CATEGORIES= multimedia
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
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_GNOME= gtk12
USE_GMAKE= yes
USE_LDCONFIG= yes
PKGDEINSTALL= ${PKGINSTALL}
OPTIONS= DEBUG "Turn on debugging" on
2004-04-12 06:28:06 +02:00
.include <bsd.port.pre.mk>
.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
post-patch:
@${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
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
${PKGINSTALL} ${PKGNAME} POST-INSTALL
2004-04-12 06:28:06 +02:00
.include <bsd.port.post.mk>