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

Collapse All | Expand All

(-)multimedia/dvdauthor/Makefile (-16 / +32 lines)
Lines 2-11 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
PORTVERSION=	0.7.2p1.${GH_TAGNAME}
6
PORTREVISION=	2
7
CATEGORIES=	multimedia
6
CATEGORIES=	multimedia
8
MASTER_SITES=	SF/${PORTNAME}
9
7
10
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Makes a DVD file structure from one or more MPEG2 streams
9
COMMENT=	Makes a DVD file structure from one or more MPEG2 streams
Lines 20-26 Link Here
20
		libexpat.so:textproc/expat2 \
18
		libexpat.so:textproc/expat2 \
21
		libfontconfig.so:x11-fonts/fontconfig
19
		libfontconfig.so:x11-fonts/fontconfig
22
20
23
WRKSRC=		${WRKDIR}/${PORTNAME}
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	ldo
23
GH_TAGNAME=	d5bb0b
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
24
25
25
USES=		gmake gnome iconv localbase pkgconfig
26
USES=		gmake gnome iconv localbase pkgconfig
26
USE_GNOME=	libxml2
27
USE_GNOME=	libxml2
Lines 30-56 Link Here
30
31
31
PORTDOCS=	*
32
PORTDOCS=	*
32
33
33
OPTIONS_DEFINE=	DOCS IMAGEMAGICK
34
OPTIONS_DEFINE=			DOCS MANPAGES
34
OPTIONS_RADIO=	VIDEO-FORMAT
35
OPTIONS_RADIO=			IMAGEMAGICK VIDEO-FORMAT
36
OPTIONS_RADIO_IMAGEMAGICK=	GRAPHICSMAGICK IMAGEMAGICK6
35
OPTIONS_RADIO_VIDEO-FORMAT=	NTSC PAL
37
OPTIONS_RADIO_VIDEO-FORMAT=	NTSC PAL
36
38
37
VIDEO-FORMAT_DESC=	Use default video format
39
OPTIONS_SUB=			yes
38
NTSC_DESC=	Default video format NTSC
39
PAL_DESC=	Default video format PAL
40
40
41
IMAGEMAGICK_LIB_DEPENDS=	libMagick++-6.so:graphics/ImageMagick6
41
GRAPHICSMAGICK_DESC=		GraphicsMagick image processing support
42
IMAGEMAGICK6_DESC=		ImageMagick 6.x image processing support
43
VIDEO-FORMAT_DESC=		Use default video format
44
NTSC_DESC=			Default video format NTSC
45
PAL_DESC=			Default video format PAL
42
46
43
NTSC_CONFIGURE_ON=	--enable-default-video-format=NTSC
47
GRAPHICSMAGICK_CONFIGURE_WITH=	graphicsmagick
44
PAL_CONFIGURE_ON=	--enable-default-video-format=PAL
48
GRAPHICSMAGICK_LIB_DEPENDS=	libGraphicsMagick.so:graphics/GraphicsMagick
49
IMAGEMAGICK6_CONFIGURE_WITH=	imagemagick
50
IMAGEMAGICK6_LIB_DEPENDS=	libMagickCore-6.so:graphics/ImageMagick6
51
MANPAGES_BUILD_DEPENDS=		docbook2man:textproc/docbook-utils
52
MANPAGES_USES=			gettext-tools autoreconf:build
45
53
46
pre-configure-IMAGEMAGICK-off:
54
NTSC_CONFIGURE_ON=		--enable-default-video-format=NTSC
47
	@${REINPLACE_CMD} 's|usemagick=1|usemagick=0|g' \
55
PAL_CONFIGURE_ON=		--enable-default-video-format=PAL
48
		${WRKSRC}/configure
49
56
57
pre-configure-MANPAGES-off:
58
	@(${MV} ${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/Makefile.am.bak && \
59
	 ${GREP} '^dist_pkgdata_DATA' ${WRKSRC}/doc/Makefile.am.bak > ${WRKSRC}/doc/Makefile.am)
60
61
pre-configure:
62
	@(cd ${WRKSRC} && ${MKDIR} autotools/ && \
63
	 ${CP} ${LOCALBASE}/share/gettext/config.rpath autotools/ && \
64
	 ${LOCALBASE}/bin/autoreconf -i)
65
50
post-install-DOCS-on:
66
post-install-DOCS-on:
51
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
52
	${INSTALL_DATA} \
68
	${INSTALL_DATA} \
53
		${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \
69
		${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \
54
		${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
70
		${WRKSRC}/TODO ${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
55
71
56
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)multimedia/dvdauthor/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1494876457
1
TIMESTAMP = 1609860319
2
SHA256 (dvdauthor-0.7.2.tar.gz) = 3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7
2
SHA256 (ldo-dvdauthor-0.7.2p1.d5bb0b-d5bb0b_GH0.tar.gz) = 50e8d117669dbc1b4d0cae4930ebae18973bd1ea9a5c6502487f38d80ef6bbab
3
SIZE (dvdauthor-0.7.2.tar.gz) = 648305
3
SIZE (ldo-dvdauthor-0.7.2p1.d5bb0b-d5bb0b_GH0.tar.gz) = 252411
(-)multimedia/dvdauthor/pkg-plist (-7 / +7 lines)
Lines 4-16 Link Here
4
bin/mpeg2desc
4
bin/mpeg2desc
5
bin/spumux
5
bin/spumux
6
bin/spuunmux
6
bin/spuunmux
7
man/man1/dvdauthor.1.gz
7
%%MANPAGES%%man/man1/dvdauthor.1.gz
8
man/man1/dvddirdel.1.gz
8
%%MANPAGES%%man/man1/dvddirdel.1.gz
9
man/man1/dvdunauthor.1.gz
9
%%MANPAGES%%man/man1/dvdunauthor.1.gz
10
man/man1/mpeg2desc.1.gz
10
%%MANPAGES%%man/man1/mpeg2desc.1.gz
11
man/man1/spumux.1.gz
11
%%MANPAGES%%man/man1/spumux.1.gz
12
man/man1/spuunmux.1.gz
12
%%MANPAGES%%man/man1/spuunmux.1.gz
13
man/man7/video_format.7.gz
13
%%MANPAGES%%man/man7/video_format.7.gz
14
%%DATADIR%%/common.xsd
14
%%DATADIR%%/common.xsd
15
%%DATADIR%%/dvdauthor.xsd
15
%%DATADIR%%/dvdauthor.xsd
16
%%DATADIR%%/spumux.xsd
16
%%DATADIR%%/spumux.xsd

Return to bug 240270