2009-08-26 21:56:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2009/08/26 19:58:07 sno Exp $
|
2004-01-26 12:39:14 +01:00
|
|
|
#
|
|
|
|
|
2005-10-04 21:18:42 +02:00
|
|
|
DISTNAME= xawtv-3.95
|
2009-08-26 21:56:37 +02:00
|
|
|
PKGREVISION= 4
|
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
|
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-26 12:39:14 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
GNU_CONFIGURE= YES
|
2007-08-05 17:04:38 +02:00
|
|
|
USE_TOOLS+= gmake perl bash:run
|
|
|
|
|
|
|
|
REPLACE_BASH= scripts/subtitles
|
2004-01-26 12:39:14 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-aalib
|
|
|
|
CONFIGURE_ARGS+= --disable-motif
|
|
|
|
|
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
|
|
|
|
SUBST_CLASSES+= devoss
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.devoss= Fixing path to OSS audio device.
|
2004-01-26 12:39:14 +01:00
|
|
|
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"
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2008-06-24 13:56:54 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
|
2005-06-01 22:13:08 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= mmx
|
|
|
|
.include "../../mk/bsd.options.mk"
|
2008-06-24 13:56:54 +02:00
|
|
|
.endif
|
2005-06-01 22:13:08 +02:00
|
|
|
|
|
|
|
.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 "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2007-02-02 15:55:37 +01:00
|
|
|
.include "../../x11/Xaw3d/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2007-02-02 15:55:37 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2007-02-02 15:55:37 +01:00
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
|
|
.include "../../x11/libXv/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-04-18 09:07:06 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-01-26 12:39:14 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|