Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= vdr |
4 |
PORTNAME= vdr |
5 |
PORTVERSION= 1.7.29 |
5 |
PORTVERSION= 1.7.29 |
6 |
PORTREVISION= 6 |
6 |
PORTREVISION= 7 |
7 |
CATEGORIES= multimedia |
7 |
CATEGORIES= multimedia |
8 |
MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ |
8 |
MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ |
9 |
|
9 |
|
Lines 23-29
DVBPATCH_DESC= DVB audio patch for some countries
Link Here
|
23 |
STB0899_SIGNAL_DESC= STB0899 signal strength patch |
23 |
STB0899_SIGNAL_DESC= STB0899 signal strength patch |
24 |
OPTIONS_DEFAULT= IPTVPATCH TTXPATCH |
24 |
OPTIONS_DEFAULT= IPTVPATCH TTXPATCH |
25 |
|
25 |
|
26 |
USES= pkgconfig gettext iconv:wchar_t gmake shebangfix tar:bzip2 |
26 |
USES= compiler:features pkgconfig gettext iconv:wchar_t gmake \ |
|
|
27 |
shebangfix tar:bzip2 |
27 |
SHEBANG_FILES= svdrpsend |
28 |
SHEBANG_FILES= svdrpsend |
28 |
DIST_SUBDIR= vdr |
29 |
DIST_SUBDIR= vdr |
29 |
PORTDOCS= COPYING INSTALL MANUAL README HISTORY |
30 |
PORTDOCS= COPYING INSTALL MANUAL README HISTORY |
Lines 52-62
GROUPS= ${VDR_GROUP}
Link Here
|
52 |
PLIST_SUB= VDR_USER=${VDR_USER} |
53 |
PLIST_SUB= VDR_USER=${VDR_USER} |
53 |
PLIST_SUB+= VDR_GROUP=${VDR_GROUP} |
54 |
PLIST_SUB+= VDR_GROUP=${VDR_GROUP} |
54 |
|
55 |
|
55 |
.include <bsd.port.options.mk> |
56 |
.include <bsd.port.pre.mk> |
56 |
|
57 |
|
57 |
.if ${ARCH} == "i386" |
58 |
#.if ${ARCH} == "i386" |
58 |
USE_GCC= any |
59 |
#USE_GCC= any |
59 |
.endif |
60 |
#.endif |
60 |
|
61 |
|
61 |
EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch |
62 |
EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch |
62 |
.if ${PORT_OPTIONS:MIPTVPATCH} |
63 |
.if ${PORT_OPTIONS:MIPTVPATCH} |
Lines 102-107
post-patch:
Link Here
|
102 |
@${REINPLACE_CMD} -e 's|%%CONFDIR%%|${CONFDIR}|' ${WRKSRC}/vdr.1 |
103 |
@${REINPLACE_CMD} -e 's|%%CONFDIR%%|${CONFDIR}|' ${WRKSRC}/vdr.1 |
103 |
# We don't support this yet: |
104 |
# We don't support this yet: |
104 |
@${RM} -r ${WRKSRC}/PLUGINS/src/dvbhddevice |
105 |
@${RM} -r ${WRKSRC}/PLUGINS/src/dvbhddevice |
|
|
106 |
.if ${COMPILER_TYPE} == clang && ${ARCH} == "i386" |
107 |
${REINPLACE_CMD} \ |
108 |
-e '/^CFLAGS *\=/s/$$/ -mstack-alignment=16 -mstackrealign/' \ |
109 |
-e '/^CXXFLAGS *\=/s/$$/ -mstack-alignment=16 -mstackrealign/' \ |
110 |
${WRKSRC}/Make.config |
111 |
.endif |
105 |
|
112 |
|
106 |
post-install: |
113 |
post-install: |
107 |
.if ${PORT_OPTIONS:MNLS} |
114 |
.if ${PORT_OPTIONS:MNLS} |
Lines 119-122
post-install:
Link Here
|
119 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) |
126 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) |
120 |
.endif |
127 |
.endif |
121 |
|
128 |
|
122 |
.include <bsd.port.mk> |
129 |
.include <bsd.port.post.mk> |