aboutsummaryrefslogtreecommitdiff
path: root/multimedia/w_scan/Makefile
blob: f0ba8416ade6dd8594b8811dff22bdc5ae60abee (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
36
37
38
39
40
# New ports collection makefile for:	w_scan
# Date created:		Wed Apr 14 18:11:42 CEST 2010
# Whom:			Juergen Lock <nox@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	w_scan
PORTVERSION=	20110616
PORTREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	http://wirbel.htpc-forum.de/w_scan/

MAINTAINER=	nox@FreeBSD.org
COMMENT=	Perform frequency scans for DVB and ATSC transmissions

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

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
PATCH_STRIP=	-p1
USE_GETTEXT=	yes
CPPFLAGS+=	-I"${LOCALBASE}/include"
LDFLAGS+=	-L"${LOCALBASE}/lib\ -liconv"
PORTDOCS=	COPYING ChangeLog README
PLIST_FILES=	bin/${PORTNAME}
MAN1=		w_scan.1
MAKE_JOBS_SAFE=	yes
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"

post-patch:
	${REINPLACE_CMD} -f ${FILESDIR}/types.sed ${WRKSRC}/configure ${WRKSRC}/*.c ${WRKSRC}/*.h

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif

.include <bsd.port.mk>