Lines 201-206
Link Here
|
201 |
PLIST_SUB+= WITH_MJPEG="@comment " |
201 |
PLIST_SUB+= WITH_MJPEG="@comment " |
202 |
.endif |
202 |
.endif |
203 |
|
203 |
|
|
|
204 |
.if defined(WITH_SUBRIP) |
205 |
PLIST_SUB+= WITH_SUBRIP="" |
206 |
.else |
207 |
PLIST_SUB+= WITH_SUBRIP="@comment " |
208 |
.endif |
209 |
|
204 |
pre-everything:: |
210 |
pre-everything:: |
205 |
.if !defined(WITH_OPTIMIZED_CFLAGS) |
211 |
.if !defined(WITH_OPTIMIZED_CFLAGS) |
206 |
@${ECHO_MSG} |
212 |
@${ECHO_MSG} |
Lines 272-278
Link Here
|
272 |
.endif |
278 |
.endif |
273 |
.if !defined(WITH_MJPEG) |
279 |
.if !defined(WITH_MJPEG) |
274 |
@${ECHO_MSG} |
280 |
@${ECHO_MSG} |
275 |
@${ECHO_MSG} "You can enable support for the MJPEG toolkit by defining WITH_MJPEG" |
281 |
@${ECHO_MSG} "You can enable support for the MJPEG toolkit by defining WITH_MJPEG." |
|
|
282 |
.endif |
283 |
.if !defined(WITH_SUBRIP) |
284 |
@${ECHO_MSG} |
285 |
@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP." |
276 |
.endif |
286 |
.endif |
277 |
|
287 |
|
278 |
post-patch: |
288 |
post-patch: |
Lines 300-305
Link Here
|
300 |
@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \ |
310 |
@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \ |
301 |
${PREFIX}/lib/transcode/libxvidcore.so |
311 |
${PREFIX}/lib/transcode/libxvidcore.so |
302 |
.endif |
312 |
.endif |
|
|
313 |
|
314 |
.if defined(WITH_SUBRIP) |
315 |
@cd ${WRKSRC}/contrib/subrip; ${GMAKE} clean all; \ |
316 |
${INSTALL_PROGRAM} srttool subtitle2pgm subtitle2vobsub ${PREFIX}/bin |
317 |
.endif |
318 |
|
303 |
@${RM} ${PREFIX}/lib/transcode/*.la |
319 |
@${RM} ${PREFIX}/lib/transcode/*.la |
304 |
|
320 |
|
305 |
.include <bsd.port.post.mk> |
321 |
.include <bsd.port.post.mk> |