View | Details | Raw Unified | Return to bug 53430
Collapse All | Expand All

(-)transcode/Makefile (+15 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	transcode
8
PORTNAME=	transcode
9
PORTVERSION=	0.6.7
9
PORTVERSION=	0.6.7
10
PORTREVISION=	1
10
CATEGORIES=	multimedia
11
CATEGORIES=	multimedia
11
MASTER_SITES=	http://www.zebra.fh-weingarten.de/~transcode/pre/
12
MASTER_SITES=	http://www.zebra.fh-weingarten.de/~transcode/pre/
12
13
Lines 97-102 Link Here
97
WITH_LZO=	yes
98
WITH_LZO=	yes
98
.endif
99
.endif
99
100
101
.if exists(${LINUXBASE}/usr/lib/libdivxdecore.so)
102
WITH_DIVX5=	yes
103
.endif
104
100
.if defined(WITH_IMAGEMAGICK)
105
.if defined(WITH_IMAGEMAGICK)
101
LIB_DEPENDS+=	Magick.5:${PORTSDIR}/graphics/ImageMagick
106
LIB_DEPENDS+=	Magick.5:${PORTSDIR}/graphics/ImageMagick
102
PLIST_SUB+=	WITH_IMAGEMAGICK=""
107
PLIST_SUB+=	WITH_IMAGEMAGICK=""
Lines 222-227 Link Here
222
PLIST_SUB+=	WITH_SUBRIP="@comment "
227
PLIST_SUB+=	WITH_SUBRIP="@comment "
223
.endif
228
.endif
224
229
230
.if defined(WITH_DIVX5)
231
BUILD_DEPENDS+=	${LINUXBASE}/usr/lib/libdivxdecore.so:${PORTSDIR}/multimedia/linux-divx4linux
232
CONFIGURE_ENV+= CFLAGS="-I${LINUXBASE}/usr/include/divx" CPPFLAGS="-I${LINUXBASE}/usr/include/divx"
233
.else
234
.endif
235
225
pre-everything::
236
pre-everything::
226
.if !defined(WITH_OPTIMIZED_CFLAGS)
237
.if !defined(WITH_OPTIMIZED_CFLAGS)
227
	@${ECHO_MSG}
238
	@${ECHO_MSG}
Lines 302-307 Link Here
302
.if !defined(WITH_SUBRIP)
313
.if !defined(WITH_SUBRIP)
303
	@${ECHO_MSG}
314
	@${ECHO_MSG}
304
	@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP."
315
	@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP."
316
.endif
317
.if !defined(WITH_DIVX5)
318
	@${ECHO_MSG}
319
	@${ECHO_MSG} "You can enable experimental DivX 5 support by defining WITH_DIVX5."
305
.endif
320
.endif
306
321
307
post-patch:
322
post-patch:

Return to bug 53430