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

(-)transcode/Makefile (-1 / +17 lines)
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>
(-)transcode/files/patch-contrib:subrip:Makefile (+13 lines)
Line 0 Link Here
1
--- contrib/subrip/Makefile.orig	Wed Feb  5 02:23:45 2003
2
+++ contrib/subrip/Makefile	Wed Feb  5 02:23:56 2003
3
@@ -8,8 +8,8 @@
4
 INCLUDES :=
5
 
6
 ### enable ppm support ###
7
-DEFINES  += -D_HAVE_LIB_PPM_
8
-LIBS     += -lppm
9
+#DEFINES  += -D_HAVE_LIB_PPM_
10
+#LIBS     += -lppm
11
 
12
 ### enable zlib support ###
13
 DEFINES += -D_HAVE_ZLIB_
(-)transcode/pkg-plist (+3 lines)
Lines 2-7 Link Here
2
bin/avimerge
2
bin/avimerge
3
bin/avisplit
3
bin/avisplit
4
bin/avisync
4
bin/avisync
5
%%WITH_SUBRIP%%bin/srttool
6
%%WITH_SUBRIP%%bin/subtitle2pgm
7
%%WITH_SUBRIP%%bin/subtitle2vobsub
5
bin/tccat
8
bin/tccat
6
bin/tcdecode
9
bin/tcdecode
7
bin/tcdemux
10
bin/tcdemux

Return to bug 47923