aboutsummaryrefslogtreecommitdiff
path: root/multimedia/szap-s2/Makefile
blob: 8e847fbabf9807cb1f12c5f5a91d65283f2e691d (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>

PORTNAME=	szap_s2
PORTVERSION=	20100129s
PORTREVISION=	1
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>