2013-09-20 22:57:48 +02:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2001-09-25 01:46:36 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= OQTPlayer
|
|
|
|
PORTVERSION= 0.5
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 10
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/openquicktime/OpenQuicktime%20v1/1.0b
|
2014-05-05 11:45:36 +02:00
|
|
|
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
|
2001-09-25 01:46:36 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-03-05 02:17:09 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-15 23:17:55 +02:00
|
|
|
COMMENT= Small, not functional, video OpenQuicktime (TM) player
|
2001-09-25 01:46:36 +02:00
|
|
|
|
2014-06-26 22:17:59 +02:00
|
|
|
LIB_DEPENDS= libopenquicktime.so:${PORTSDIR}/multimedia/openquicktime
|
2005-05-31 23:35:41 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-09-25 01:46:36 +02:00
|
|
|
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2005-05-31 23:35:41 +02:00
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/oqtplayer
|
|
|
|
PORTDOCS= readme
|
2001-09-25 01:46:36 +02:00
|
|
|
|
2014-06-26 22:17:59 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2005-05-31 23:35:41 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|gcc -g|${CC}|g ; \
|
|
|
|
s|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
|
2003-01-03 02:47:07 +01:00
|
|
|
|
2001-09-25 01:46:36 +02:00
|
|
|
do-install:
|
2014-06-26 22:17:59 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/oqtplayer ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
|
2001-09-25 01:46:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|