2001-09-25 02:06:32 +02:00
|
|
|
# New ports collection makefile for: oqtplayer
|
|
|
|
# Date created: Mon Sep 24 16:26:33 BRT 2001
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= OQTEncoder
|
|
|
|
PORTVERSION= 0.1
|
2006-03-07 09:28:06 +01:00
|
|
|
PORTREVISION= 2
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2001-09-25 02:06:32 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= openquicktime
|
2005-05-31 23:37:09 +02:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}-src
|
2001-09-25 02:06:32 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-03-05 02:17:09 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= A simple encoder using OpenQuicktime (TM)
|
2001-09-25 02:06:32 +02:00
|
|
|
|
2002-11-28 01:09:51 +01:00
|
|
|
LIB_DEPENDS= openquicktime.0:${PORTSDIR}/multimedia/openquicktime
|
2001-09-25 02:06:32 +02:00
|
|
|
|
2005-05-31 23:37:09 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-09-25 02:06:32 +02:00
|
|
|
|
2005-05-31 23:37:09 +02:00
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/oqtencoder
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= README
|
|
|
|
.endif
|
2001-09-25 02:06:32 +02:00
|
|
|
|
|
|
|
post-patch:
|
2005-05-31 23:37:09 +02:00
|
|
|
@${TR} -d '\r' < ${WRKSRC}/readme > ${WRKSRC}/README
|
|
|
|
@${REINPLACE_CMD} -e 's|gcc -g|${CC}|g' ${WRKSRC}/Makefile
|
2001-09-25 02:06:32 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-05-31 23:37:09 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:L} ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-09-25 02:06:32 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-05-31 23:37:09 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2001-09-25 02:06:32 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|