1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/multimedia/oqtplayer/Makefile
Dmitry Marakasov 7b442e6a54 - Add LICENSE
- Switch to USES=tar
- Switch to options helpers
2016-11-25 09:00:41 +00:00

42 lines
1006 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= OQTPlayer
PORTVERSION= 0.5
PORTREVISION= 12
CATEGORIES= multimedia
MASTER_SITES= SF/openquicktime/OpenQuicktime%20v1/1.0b
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, not functional, video OpenQuicktime (TM) player
LICENSE= LGPL20 # version not really specified
LIB_DEPENDS= libopenquicktime.so:multimedia/openquicktime
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= tar:tgz
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/oqtplayer ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>