Lines 22-31
Link Here
|
22 |
MAINTAINER= martymac@FreeBSD.org |
22 |
MAINTAINER= martymac@FreeBSD.org |
23 |
COMMENT= MPlayer version of the libdvdread project |
23 |
COMMENT= MPlayer version of the libdvdread project |
24 |
|
24 |
|
25 |
.if !defined(PACKAGE_BUILDING) |
|
|
26 |
LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss |
27 |
.endif |
28 |
|
29 |
LICENSE= GPLv2 |
25 |
LICENSE= GPLv2 |
30 |
|
26 |
|
31 |
USE_BZIP2= yes |
27 |
USE_BZIP2= yes |
Lines 42-47
Link Here
|
42 |
USE_GMAKE= yes |
38 |
USE_GMAKE= yes |
43 |
USE_LDCONFIG= yes |
39 |
USE_LDCONFIG= yes |
44 |
|
40 |
|
|
|
41 |
.if defined(PACKAGE_BUILDING) |
42 |
DVDCSS_OPTION= off |
43 |
.else |
44 |
DVDCSS_OPTION= on |
45 |
.endif |
46 |
|
47 |
OPTIONS= DVDCSS "Include libdvdcss support" ${DVDCSS_OPTION} |
48 |
|
49 |
.include <bsd.port.pre.mk> |
50 |
|
51 |
.if !defined(WITH_DVDCSS) |
52 |
LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss |
53 |
.endif |
54 |
|
45 |
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed) |
55 |
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed) |
46 |
DVDCSS_LIBVERSION= 3 |
56 |
DVDCSS_LIBVERSION= 3 |
47 |
|
57 |
|
Lines 51-54
Link Here
|
51 |
@${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \ |
61 |
@${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \ |
52 |
${WRKSRC}/src/dvd_input.c |
62 |
${WRKSRC}/src/dvd_input.c |
53 |
|
63 |
|
54 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.post.mk> |