diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2005-11-12 12:00:52 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2005-11-12 12:00:52 +0000 |
commit | dfd9de4b45eca448246496ad3b0c2819f911d381 (patch) | |
tree | 4ad2cffe06c8d6f5af263494d6a73b52d31b2c20 /multimedia/xawtv | |
parent | 884fd659a693bbdeb85a91220866961db25f8fae (diff) | |
download | ports-dfd9de4b45eca448246496ad3b0c2819f911d381.tar.gz ports-dfd9de4b45eca448246496ad3b0c2819f911d381.zip |
Notes
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r-- | multimedia/xawtv/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile index c0b935413a49..0816ca6bfb99 100644 --- a/multimedia/xawtv/Makefile +++ b/multimedia/xawtv/Makefile @@ -22,6 +22,12 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \ png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg +OPTIONS= AA "Enable AA support" on \ + DV "Enable reading/writing raw dv files" off \ + QUICKTIME "Enable quicktime support" off \ + ZVBI "Enable libzvbi support" off \ + MMX "Enable mmx support (only for i386)" off + USE_MOTIF= yes GNU_CONFIGURE= yes USE_GMAKE= yes @@ -58,7 +64,7 @@ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib PLIST_SUB+= AA="" .endif -.if defined(WITH_LIBZVBI) +.if defined(WITH_ZVBI) LIB_DEPENDS+= zvbi.8:${PORTSDIR}/devel/libzvbi CONFIGURE_ARGS+=--enable-zvbi .if ${OSVERSION} > 500000 @@ -71,7 +77,7 @@ CONFIGURE_ARGS+=--enable-zvbi=no PLIST_SUB+= ZVBI="@comment " ZVBI5="@comment " .endif -.if defined(WITH_LIBDV) +.if defined(WITH_DV) LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv CONFIGURE_ARGS+=--enable-dv PLIST_SUB+= DV= @@ -89,7 +95,7 @@ BROKEN= MMX support only works on i386, and you are running ${ARCH} .endif .endif -.if defined(WITH_LIBQTIME) +.if defined(WITH_QUICKTIME) CONFIGURE_ARGS+=--enable-quicktime LIB_DEPENDS+= quicktime.0:${PORTSDIR}/multimedia/libquicktime PLIST_SUB+= QT= @@ -100,23 +106,12 @@ PLIST_SUB+= QT="@comment " PLIST_SUB+= X11PREFIX=${X11BASE} -pre-everything:: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_LIBDV=yes Enable reading/writing raw dv files" - @${ECHO} " WITH_LIBQTIME=yes Enable quicktime support" - @${ECHO} " WITH_LIBZVBI=yes Enable libzvbi support" - @${ECHO} " (You wont get station names)" - @${ECHO} " WITH_MMX=yes Enable mmx support" - @${ECHO} "" - post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g; \ s|/usr/local|${LOCALBASE}|g; \ s|-lpthread|${PTHREAD_LIBS}|g; \ s|-lquicktime|-L${LOCALBASE}/lib &|g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .for i in ${FILES_LIBJPEG} @${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i |