freebsd-ports/multimedia/oqtencoder/Makefile
Dmitry Marakasov 916a43ecf6 - Support staging
- Use new LIB_DEPENDS syntax
2014-05-09 23:31:53 +00:00

36 lines
921 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= OQTEncoder
PORTVERSION= 0.1
PORTREVISION= 6
CATEGORIES= multimedia
MASTER_SITES= SF/openquicktime/OpenQuicktime%20v1/1.0b
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple encoder using OpenQuicktime (TM)
LIB_DEPENDS= libopenquicktime.so:${PORTSDIR}/multimedia/openquicktime
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/oqtencoder
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${TR} -d '\r' < ${WRKSRC}/readme > ${WRKSRC}/README
@${REINPLACE_CMD} -e 's|gcc -g|${CC}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:tl} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>