Index: head/multimedia/xawtv/Makefile =================================================================== --- head/multimedia/xawtv/Makefile (revision 404998) +++ head/multimedia/xawtv/Makefile (revision 404999) @@ -1,97 +1,101 @@ # Created by: George Reid # $FreeBSD$ PORTNAME= xawtv PORTVERSION= 3.103 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://linuxtv.org/downloads/xawtv/ MAINTAINER= oliver@FreeBSD.org COMMENT= TV viewing application and a few TV utilities BUILD_DEPENDS= ${LOCALBASE}/share/fonts/misc/led-iso8859-1.pcf.gz:${PORTSDIR}/x11-fonts/tv-fonts RUN_DEPENDS= ${LOCALBASE}/share/fonts/misc/led-iso8859-1.pcf.gz:${PORTSDIR}/x11-fonts/tv-fonts LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png OPTIONS_DEFINE= AALIB DV QUICKTIME ZVBI OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT= AALIB ZVBI_DESC= Enable libzvbi support -USES= gmake iconv jpeg motif perl5 tar:bzip2 +USES= gmake iconv jpeg motif perl5 tar:bzip2 pkgconfig GNU_CONFIGURE= yes USE_XORG= x11 xaw CPPFLAGS+= -I${WRKSRC}/common LIBS+= -L${LOCALBASE}/lib MAKE_ENV= verbose=yes USE_LDCONFIG= yes ONLY_FOR_ARCHS= amd64 i386 FILES_LIBJPEG= console/Subdir.mk x11/Subdir.mk libng/plugins/Subdir.mk .include .if ${PORT_OPTIONS:MAALIB} CONFIGURE_ARGS+=--enable-aa LIB_DEPENDS+= libaa.so:${PORTSDIR}/graphics/aalib PLIST_SUB+= AA="" .else CONFIGURE_ARGS+=--disable-aa PLIST_SUB+= AA="@comment " .endif .if ${PORT_OPTIONS:MZVBI} LIB_DEPENDS+= libzvbi.so:${PORTSDIR}/devel/libzvbi CONFIGURE_ARGS+=--enable-zvbi -PLIST_SUB+= ZVBI="" ZVBI5="" +PLIST_SUB+= ZVBI="" .else CONFIGURE_ARGS+=--enable-zvbi=no -PLIST_SUB+= ZVBI="@comment " ZVBI5="@comment " +PLIST_SUB+= ZVBI="@comment " .endif .if ${PORT_OPTIONS:MDV} LIB_DEPENDS+= libdv.so:${PORTSDIR}/multimedia/libdv CONFIGURE_ARGS+=--enable-dv PLIST_SUB+= DV= .else CONFIGURE_ARGS+=--enable-dv=no PLIST_SUB+= DV="@comment " .endif .if ${PORT_OPTIONS:MMMX} CONFIGURE_ARGS+=--enable-mmx CFLAGS+= -DMMX=1 .endif .if ${PORT_OPTIONS:MQUICKTIME} CONFIGURE_ARGS+=--enable-quicktime LIB_DEPENDS+= libquicktime.so:${PORTSDIR}/multimedia/libquicktime PLIST_SUB+= QT= .else CONFIGURE_ARGS+=--enable-quicktime=no PLIST_SUB+= QT="@comment " .endif PLIST_SUB+= X11PREFIX=${LOCALBASE} post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \ s|/usr/local|${LOCALBASE}|g; \ s|-lquicktime|-L${LOCALBASE}/lib &|g; \ - s|LIBV4L="yes"|LIBV4L="no"|g' \ + s|LIBV4L="yes"|LIBV4L="no"|g; \ + s|-lunicode|-liconv &|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-ldl||g' \ ${WRKSRC}/console/Subdir.mk \ + ${WRKSRC}/x11/Subdir.mk + + @${REINPLACE_CMD} -e 's|linuxyesyes|bsdyesyes|g' \ ${WRKSRC}/x11/Subdir.mk @${REINPLACE_CMD} -e 's|\(@CFLAGS@.*\)\$$(LIB_FLAGS) |\$$(LIB_FLAGS) \1|g; \ s|-Llibng||g' \ ${WRKSRC}/Makefile.in .for i in ${FILES_LIBJPEG} @${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i .endfor .include Index: head/multimedia/xawtv/pkg-plist =================================================================== --- head/multimedia/xawtv/pkg-plist (revision 404998) +++ head/multimedia/xawtv/pkg-plist (revision 404999) @@ -1,103 +1,103 @@ -%%ZVBI5%%bin/alevtd +%%ZVBI%%bin/alevtd bin/dump-mixers bin/motv -%%ZVBI5%%bin/mtt +%%ZVBI%%bin/mtt bin/ntsc-cc bin/pia bin/propwatch bin/record bin/rootv %%ZVBI%%bin/scantv bin/showqt bin/showriff bin/streamer bin/subtitles %%AA%%bin/ttv bin/v4lctl bin/webcam bin/xawtv bin/xawtv-remote lib/xawtv/bilinear.so lib/xawtv/conv-mjpeg.so lib/xawtv/cubic.so lib/xawtv/drv0-bsd.so lib/xawtv/flt-disor.so lib/xawtv/flt-gamma.so lib/xawtv/flt-invert.so lib/xawtv/flt-smooth.so lib/xawtv/linear-blend.so lib/xawtv/linedoubler.so lib/xawtv/read-avi.so %%DV%%lib/xawtv/read-dv.so %%QT%%lib/xawtv/read-qt.so lib/xawtv/snd-oss.so lib/xawtv/write-avi.so %%DV%%lib/xawtv/write-dv.so %%QT%%lib/xawtv/write-qt.so man/man1/alevtd.1.gz man/man1/dump-mixers.1.gz man/man1/fbtv.1.gz man/man1/motv.1.gz man/man1/mtt.1.gz man/man1/ntsc-cc.1.gz man/man1/pia.1.gz man/man1/propwatch.1.gz man/man1/radio.1.gz man/man1/record.1.gz man/man1/rootv.1.gz man/man1/scantv.1.gz man/man1/showriff.1.gz man/man1/streamer.1.gz man/man1/subtitles.1.gz man/man1/ttv.1.gz man/man1/v4l-info.1.gz man/man1/v4lctl.1.gz man/man1/webcam.1.gz man/man1/xawtv-remote.1.gz man/man1/xawtv.1.gz man/man5/xawtvrc.5.gz man/man8/v4l-conf.8.gz man/es/man1/fbtv.1.gz man/es/man1/rootv.1.gz man/es/man1/scantv.1.gz man/es/man1/streamer.1.gz man/es/man1/subtitles.1.gz man/es/man1/ttv.1.gz man/es/man1/v4lctl.1.gz man/es/man1/xawtv-remote.1.gz man/es/man1/xawtv.1.gz man/es/man5/xawtvrc.5.gz man/es/man8/v4l-conf.8.gz man/fr/man1/xawtv.1.gz share/xawtv/Index.map share/xawtv/argentina.list share/xawtv/ccir-h.list share/xawtv/ccir-i-iii.list share/xawtv/ccir-sl-sh.list share/xawtv/europe-east.list share/xawtv/europe-west.list share/xawtv/ntsc-bcast-jp.list share/xawtv/ntsc-bcast.list share/xawtv/ntsc-cable-ca.list share/xawtv/ntsc-cable-jp.list share/xawtv/ntsc-cable.list share/xawtv/ntsc-hrc.list share/xawtv/oirt-h.list share/xawtv/oirt-i-iii.list share/xawtv/oirt-sl-sh.list share/xawtv/pal-australia-optus.list share/xawtv/pal-australia.list share/xawtv/pal-bcast-cn.list share/xawtv/pal-bcast-za.list share/xawtv/pal-ireland.list share/xawtv/pal-italy.list share/xawtv/pal-newzealand.list share/xawtv/secam-france.list share/xawtv/secam-russia.list share/xawtv/uhf.list lib/X11/app-defaults/MoTV lib/X11/app-defaults/Xawtv lib/X11/app-defaults/mtt lib/X11/de_DE.UTF-8/app-defaults/MoTV lib/X11/fr_FR.UTF-8/app-defaults/MoTV lib/X11/it_IT.UTF-8/app-defaults/MoTV