freebsd-ports/multimedia/oqtplayer/Makefile

38 lines
953 B
Makefile
Raw Normal View History

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= OQTPlayer
PORTVERSION= 0.5
PORTREVISION= 10
CATEGORIES= multimedia
MASTER_SITES= SF/openquicktime/OpenQuicktime%20v1/1.0b
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
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
LIB_DEPENDS= libopenquicktime.so:${PORTSDIR}/multimedia/openquicktime
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_SDL= sdl
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PLIST_FILES= bin/oqtplayer
PORTDOCS= readme
OPTIONS_DEFINE= DOCS
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/oqtplayer ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>