aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/szap-s2/Makefile
blob: 9a60395fb89f0af1454e574d2d78c4b99dbaa4db (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: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$

PORTNAME=   szap_s2
PORTVERSION=    20100129s
CATEGORIES= multimedia
MASTER_SITES=   LOCAL/nox

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple zapping tool for the Linux DVB S2 API

LICENSE=    GPLv2+

BUILD_DEPENDS=  ${LOCALBASE}/include/linux/dvb/frontend.h:multimedia/v4l_compat

USES=       gmake tar:bzip2
USE_CSTD=   gnu89
MAKE_ARGS=  INCLUDE=-I"${LOCALBASE}/include" \
        CC="${CC}" \
        CXX="${CXX}"
WRKSRC=     ${WRKDIR}/szap-s2-e34f73b254db

PORTDOCS=   README
PLIST_FILES=    bin/szap-s2

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/szap-s2 ${STAGEDIR}/${PREFIX}/bin

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

.include <bsd.port.mk>