- Make dependency to graphics/aalib optional and add WITH_AALIB knob.
- Rename WITH_LIBCACA to WITH_CACA to conform with KNOBS.
This commit is contained in:
parent
6502242568
commit
8746a39682
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171464
2 changed files with 15 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= xine
|
||||
PORTVERSION= 0.99.4
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -17,7 +17,6 @@ MAINTAINER= nobutaka@FreeBSD.org
|
|||
COMMENT= An X11 multimedia player
|
||||
|
||||
LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine \
|
||||
aa.1:${PORTSDIR}/graphics/aalib \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
curl.3:${PORTSDIR}/ftp/curl
|
||||
|
||||
|
@ -72,10 +71,19 @@ LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
|||
CONFIGURE_ARGS+= --disable-xft
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_LIBCACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA))
|
||||
PLIST_SUB+= WITH_LIBCACA=""
|
||||
.if !defined(WITHOUT_CACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_CACA))
|
||||
PLIST_SUB+= WITH_CACA=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_LIBCACA="@comment "
|
||||
PLIST_SUB+= WITH_CACA="@comment "
|
||||
CONFIGURE_ARGS+= --without-libcaca --disable-cacatest
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_AALIB) && (exists(${LOCALBASE}/lib/libaa.so.1) || defined (WITH_AALIB))
|
||||
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
|
||||
PLIST_SUB+= WITH_AALIB=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_AALIB="@comment "
|
||||
CONFIGURE_ARGS+= --without-aalib --disable-aalibtest
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
bin/aaxine
|
||||
%%WITH_LIBCACA%%bin/cacaxine
|
||||
%%WITH_AALIB%%bin/aaxine
|
||||
%%WITH_CACA%%bin/cacaxine
|
||||
bin/fbxine
|
||||
bin/xine
|
||||
bin/xine-bugreport
|
||||
|
|
Loading…
Reference in a new issue