aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/oqtencoder/Makefile
blob: 7a0f785795624db7c47bf3d9c8fea6386178b9d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple encoder using OpenQuicktime (TM)

LIB_DEPENDS=    libopenquicktime.so:multimedia/openquicktime

USES=       localbase:ldflags tar:tgz
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

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

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>