freebsd-ports/multimedia/w_scan/Makefile
Juergen Lock 6cbb1f9553 [From the README:]
this is a small channel scan tool for vdr which generates ATSC, DVB-C,
DVB-S/S2 and DVB-T channels.conf files.
It's 50% "scan" from linuxtv-dvb-apps-1.1.0, the differences are:

- no initial tuning data needed, because scanning without this data is exactly
  what a scan tool like this should do
- it detects automatically which DVB/ATSC card to use.

WWW: http://wirbel.htpc-forum.de/w_scan/index_en.html
2010-05-23 18:59:54 +00:00

37 lines
887 B
Makefile

# 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= 20100316
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
CFLAGS+= -I"${LOCALBASE}/include"
PORTDOCS= COPYING ChangeLog README
PLIST_FILES= bin/${PORTNAME}
MAN1= w_scan.1
MAKE_JOBS_SAFE= yes
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>