2005-03-11 22:38:42 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2005/03/12 03:38:42 pvalchev Exp $
|
2003-11-16 11:17:58 -05:00
|
|
|
|
2005-03-11 22:38:42 -05:00
|
|
|
ONLY_FOR_ARCHS= i386 macppc amd64
|
2003-11-16 11:17:58 -05:00
|
|
|
|
2004-01-31 23:46:17 -05:00
|
|
|
COMMENT= "TV viewing application for bktr(4) cards"
|
2003-11-16 11:17:58 -05:00
|
|
|
|
2004-09-28 11:43:13 -04:00
|
|
|
DISTNAME= xawtv-3.94
|
2004-12-29 19:43:15 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-11-16 11:17:58 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2004-04-18 02:41:11 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2003-11-16 11:17:58 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://bytesex.org/xawtv/
|
|
|
|
|
2004-04-09 03:10:27 -04:00
|
|
|
MASTER_SITES= http://dl.bytesex.org/releases/xawtv/
|
2003-11-16 11:17:58 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 12:15:16 -05:00
|
|
|
WANTLIB= ICE SM X11 Xaw Xext Xft Xinerama Xmu Xpm Xrandr \
|
|
|
|
Xrender Xt Xv Xxf86dga Xxf86vm c fontconfig freetype m \
|
|
|
|
ncurses ossaudio pthread
|
2003-11-16 11:17:58 -05:00
|
|
|
|
2004-01-31 23:46:17 -05:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2003-11-16 11:17:58 -05:00
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ARGS+=--enable-mmx
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2004-10-02 13:30:09 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-aa --disable-motif --disable-gl \
|
|
|
|
--disable-dv
|
2003-11-16 11:17:58 -05:00
|
|
|
CONFIGURE_ENV= PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
|
|
|
|
|
|
|
|
MAKE_FLAGS= verbose=yes SYSCONFDIR="${SYSCONFDIR}"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2004-12-29 19:43:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}
|
2004-01-31 23:46:17 -05:00
|
|
|
|
2003-11-16 11:17:58 -05:00
|
|
|
post-install:
|
|
|
|
@perl -pi -e "s,/etc/X11,${SYSCONFDIR}," ${PREFIX}/man/man5/xawtvrc.5
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x11/Xawtv.ad \
|
|
|
|
${PREFIX}/lib/X11/app-defaults/Xawtv
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|