# $OpenBSD: Makefile,v 1.44 2012/02/21 22:19:31 sthen Exp $ # we use "macppc" and not "powerpc" on purpose here ; i.e. bktr(4) needed ONLY_FOR_ARCHS= i386 macppc amd64 COMMENT= capture utility for Brooktree-based cards DISTNAME= fxtv-1.03 REVISION= 5 CATEGORIES= graphics HOMEPAGE= http://people.freebsd.org/~rhh/fxtv/ EXTRACT_SUFX= .tgz MASTER_SITES= ${HOMEPAGE} \ http://mirror.csoft.org/fxtv/ LIB_DEPENDS= graphics/tiff \ graphics/jpeg \ x11/Xaw3d RUN_DEPENDS= audio/sox>=12.12 \ audio/mpg321 \ audio/mp3encode \ graphics/mpeg_encode>=1.5 \ graphics/mplex>=1.1 \ graphics/netpbm # BSD license PERMIT_PACKAGE_CDROM= Runtime dependencies have patents PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= ICE SM X11 Xext Xmu Xpm Xt Xxf86dga Xxf86vm c m \ ossaudio pthread-stubs xcb z tiff>=35 jpeg>=62 \ Xaw3d>=6.1 USE_GMAKE= Yes USE_GROFF = Yes NO_REGRESS= Yes MAKE_FLAGS= CFLAGS="${CFLAGS}" \ X11BASE="${X11BASE}" \ LOCALBASE="${LOCALBASE}" FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}" \ X11BASEINST="${WRKINST}${PREFIX}" \ LOCALBASE="${WRKINST}${PREFIX}" pre-build: @cd ${WRKSRC} && \ perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ fxtv_cnvt.sh app_rsrc.h Fxtv .include