mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Un-version LIB_DEPENDS
- Switch to OptionsNg
This commit is contained in:
parent
a5d54335c2
commit
037c066f9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299026
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= dvdvideo
|
||||
PORTVERSION= 20120126
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils multimedia
|
||||
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
|
||||
LOCAL/martymac
|
||||
@ -23,14 +23,11 @@ USE_PYTHON= 3.1+
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_EGGINFO= python_dvdvideo-0.1-py${PYTHON_VER}.egg-info
|
||||
|
||||
.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 dvdvideo/libdvdcss.py
|
||||
DVDCSS_LIBVERSION= 3
|
||||
|
||||
@ -40,8 +37,8 @@ DVDCSS_LIBVERSION= 3
|
||||
BROKEN= bad plist with latest python
|
||||
.endif
|
||||
|
||||
.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