2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2006/03/04 21:30:16 jlam Exp $
|
2004-01-26 12:39:14 +01:00
|
|
|
#
|
|
|
|
|
2005-10-04 21:18:42 +02:00
|
|
|
DISTNAME= xawtv-3.95
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2004-01-26 12:39:14 +01:00
|
|
|
CATEGORIES= multimedia
|
2005-10-04 21:18:42 +02:00
|
|
|
MASTER_SITES= http://dl.bytesex.org/releases/xawtv/
|
2004-01-26 12:39:14 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-10-04 21:18:42 +02:00
|
|
|
HOMEPAGE= http://linux.bytesex.org/xawtv/
|
2004-01-26 12:39:14 +01:00
|
|
|
COMMENT= TV application for Brooktree 848 compatible cards
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
GNU_CONFIGURE= YES
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= gmake perl
|
2004-01-26 12:39:14 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-aalib
|
|
|
|
CONFIGURE_ARGS+= --disable-motif
|
|
|
|
|
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
|
|
|
|
SUBST_CLASSES+= devoss
|
|
|
|
SUBST_MESSAGE.devoss= "Fixing path to OSS audio device."
|
|
|
|
SUBST_STAGE.devoss= pre-configure
|
|
|
|
SUBST_FILES.devoss= console/record.c libng/devices.c x11/pia.c
|
|
|
|
SUBST_FILES.devoss+= man/motv.1 man/record.1 man/streamer.1 man/xawtv.1
|
|
|
|
SUBST_FILES.devoss+= man/es/streamer.1 man/es/xawtv.1 man/fr/xawtv.1
|
|
|
|
SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
|
|
|
|
|
2005-06-11 18:53:18 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-06-01 22:13:08 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
|
2005-06-11 18:53:18 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2005-06-01 22:13:08 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= mmx
|
2005-06-11 18:53:18 +02:00
|
|
|
.endif
|
2005-06-01 22:13:08 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mmmx)
|
2004-01-26 12:39:14 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-mmx
|
|
|
|
.endif
|
|
|
|
|
2004-04-18 09:07:06 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
|
|
|
.include "../../x11/Xaw3d/buildlink3.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-01-26 12:39:14 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|