View | Details | Raw Unified | Return to bug 240270 | Differences between
and this patch

Collapse All | Expand All

(-)multimedia/dvdauthor/Makefile (-9 / +24 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/multimedia/dvdauthor/Makefile 529240 2020-03-27 11:23:42Z martymac $
2
# $FreeBSD: head/multimedia/dvdauthor/Makefile 529240 2020-03-27 11:23:42Z martymac $
3
3
4
PORTNAME=	dvdauthor
4
PORTNAME=	dvdauthor
5
PORTVERSION=	0.7.2
5
DISTVERSION=	0.7.2
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	multimedia
7
CATEGORIES=	multimedia
8
MASTER_SITES=	SF/${PORTNAME}
8
MASTER_SITES=	SF/${PORTNAME}
9
9
Lines 30-50 Link Here
30
30
31
PORTDOCS=	*
31
PORTDOCS=	*
32
32
33
OPTIONS_DEFINE=	DOCS IMAGEMAGICK
33
OPTIONS_DEFINE=	DOCS
34
OPTIONS_RADIO=	VIDEO-FORMAT
34
OPTIONS_RADIO=	IMAGEMAGICK VIDEO-FORMAT
35
OPTIONS_RADIO_IMAGEMAGICK=	GRAPHICSMAGICK IMAGEMAGICK6
35
OPTIONS_RADIO_VIDEO-FORMAT=	NTSC PAL
36
OPTIONS_RADIO_VIDEO-FORMAT=	NTSC PAL
36
37
38
GRAPHICSMAGICK_DESC=	GraphicsMagick image processing support
39
IMAGEMAGICK6_DESC=	ImageMagick 6.x image processing support
37
VIDEO-FORMAT_DESC=	Use default video format
40
VIDEO-FORMAT_DESC=	Use default video format
38
NTSC_DESC=	Default video format NTSC
41
NTSC_DESC=		Default video format NTSC
39
PAL_DESC=	Default video format PAL
42
PAL_DESC=		Default video format PAL
40
43
41
IMAGEMAGICK_LIB_DEPENDS=	libMagick++-6.so:graphics/ImageMagick6
44
GRAPHICSMAGICK_LIB_DEPENDS=	libGraphicsMagick.so:graphics/GraphicsMagick
45
GRAPHICSMAGICK_CONFIGURE_ENV=	ac_cv_prog_MAGICKCONFIG=${LOCALBASE}/bin/GraphicsMagick-config
46
IMAGEMAGICK6_LIB_DEPENDS=	libMagickCore-6.so:graphics/ImageMagick6
42
47
43
NTSC_CONFIGURE_ON=	--enable-default-video-format=NTSC
48
NTSC_CONFIGURE_ON=	--enable-default-video-format=NTSC
44
PAL_CONFIGURE_ON=	--enable-default-video-format=PAL
49
PAL_CONFIGURE_ON=	--enable-default-video-format=PAL
45
50
46
pre-configure-IMAGEMAGICK-off:
51
.include <bsd.port.options.mk>
47
	@${REINPLACE_CMD} 's|usemagick=1|usemagick=0|g' \
52
53
.if !${PORT_OPTIONS:MGRAPHICSMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK6}
54
USEMAGICK_OFF=		-e 's|usemagick=1|usemagick=0|g'
55
.endif
56
57
pre-configure-GRAPHICSMAGICK-off:
58
	@${REINPLACE_CMD} -e 's|HAVE_GMAGICK|_HAVE_GMAGICK|g' \
59
		${WRKSRC}/configure
60
61
pre-configure-IMAGEMAGICK6-off:
62
	@${REINPLACE_CMD} -e 's|HAVE_MAGICK|_HAVE_MAGICK|g' ${USEMAGICK_OFF} \
48
		${WRKSRC}/configure
63
		${WRKSRC}/configure
49
64
50
post-install-DOCS-on:
65
post-install-DOCS-on:

Return to bug 240270