mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Un-version LIB_DEPENDS
- Switch to OptionsNg - Add DVDCSS description to bsd.options.desc.mk
This commit is contained in:
parent
300e8d0212
commit
a5d54335c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299025
@ -37,6 +37,7 @@ DEBUG_DESC?= Enable debug flags
|
||||
DEVD_DESC?= Install devd files
|
||||
DOCS_DESC?= Build and install the documentation
|
||||
DV_DESC?= Enable libDV support
|
||||
DVDCSS_DESC?= Enable libdvdcss support
|
||||
ECW_DESC?= Enable ECW support
|
||||
ESOUND_DESC?= Enable Esound sound server support
|
||||
EXAMPLES_DESC?= Build and install the examples
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libdvdread
|
||||
PORTVERSION= 4.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
# Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread
|
||||
MASTER_SITES= http://dvdnav.mplayerhq.hu/releases/ \
|
||||
@ -32,21 +33,18 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
DVDCSS_OPTION= off
|
||||
.else
|
||||
DVDCSS_OPTION= on
|
||||
OPTIONS_DEFINE= DVDCSS
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
OPTIONS_DEFAULT= DVDCSS
|
||||
.endif
|
||||
|
||||
OPTIONS= DVDCSS "Include libdvdcss support" ${DVDCSS_OPTION}
|
||||
|
||||
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed)
|
||||
DVDCSS_LIBVERSION= 3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DVDCSS)
|
||||
LIB_DEPENDS+= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss
|
||||
.if ${PORT_OPTIONS:MDVDCSS}
|
||||
LIB_DEPENDS+= dvdcss:${PORTSDIR}/multimedia/libdvdcss
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
Loading…
Reference in New Issue
Block a user