974099d0bd
Recent versions of gettext no longer install m4 files in PREFIX/share/aclocal. They have to be installed in the work directory by autopoint for aclocal to find them. Patch devel/autoconf so autoreconf runs autopoint when gettext related macros are used in configure.ac (e.g. AM_ICONV). Previously it only ran autopoint when AM_GNU_GETTEXT_(REQUIRE_)VERSION was used. The following ports now require autopoint (i.e. USES=gettext-tools): benchmarks/sysbench, devel/libhtp, editors/fxite, filesystems/rar2fs, graphics/gd, net/ucarp, news/fidogate, sysutils/cdrdao Other fixes: emulators/mednafen, misc/lifelines: Use older version of gettext macros. ftp/axel: Patch Makefile.am and configure.ac to get gettext working and add NLS option. ftp/wzdftpd: Use autoreconf 2.72. mail/sympa: Remove hack from configure.ac. multimedia/dvdauthor: Use ports autoreconf. net/asterisk-chan_sccp: Drop autoreconf and gettext-tools dependencies. security/pam_pkcs11: Patch configure.ac so autoreconf can find the custom directory with m4 files. sysutils/grub2-efi, sysutils/grub2-pcbsd: Add patch to run autoreconf with -f flag so it updates all files. www/wget2: Patch configure.ac to what autopoint expects. PR: 287167 Exp-run by: antoine
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
PORTNAME= dvdauthor
|
|
PORTVERSION= 0.7.2.20211105
|
|
PORTREVISION= 6
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Makes a DVD file structure from one or more MPEG2 streams
|
|
WWW= https://dvdauthor.sourceforge.net/ https://github.com/ldo/dvdauthor
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libdvdread.so:multimedia/libdvdread \
|
|
libfribidi.so:converters/fribidi \
|
|
libfreetype.so:print/freetype2 \
|
|
libpng.so:graphics/png \
|
|
libexpat.so:textproc/expat2 \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ldo
|
|
GH_TAGNAME= fe8fe35
|
|
|
|
USES= autoreconf bison:alias gettext-tools gmake gnome iconv libtool \
|
|
localbase pkgconfig
|
|
USE_GNOME= libxml2
|
|
GNU_CONFIGURE= yes
|
|
|
|
SUB_FILES= README.FreeBSD
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS MANPAGES
|
|
OPTIONS_RADIO= IMAGEMAGICK VIDEO-FORMAT
|
|
OPTIONS_RADIO_IMAGEMAGICK= GRAPHICSMAGICK IMAGEMAGICK6
|
|
OPTIONS_RADIO_VIDEO-FORMAT= NTSC PAL
|
|
OPTIONS_SUB= yes
|
|
|
|
GRAPHICSMAGICK_DESC= GraphicsMagick image processing support
|
|
IMAGEMAGICK6_DESC= ImageMagick 6.x image processing support
|
|
NTSC_DESC= Default video format NTSC
|
|
PAL_DESC= Default video format PAL
|
|
VIDEO-FORMAT_DESC= Use default video format
|
|
|
|
GRAPHICSMAGICK_CONFIGURE_WITH= graphicsmagick
|
|
GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick
|
|
IMAGEMAGICK6_CONFIGURE_WITH= imagemagick
|
|
IMAGEMAGICK6_USES= magick:6
|
|
MANPAGES_BUILD_DEPENDS= docbook2man:textproc/docbook-utils \
|
|
docbook-sgml>0:textproc/docbook-sgml
|
|
NTSC_CONFIGURE_ON= --enable-default-video-format=NTSC
|
|
PAL_CONFIGURE_ON= --enable-default-video-format=PAL
|
|
|
|
post-patch-MANPAGES-off:
|
|
@${REINPLACE_CMD} /^man._MANS/d ${WRKSRC}/doc/Makefile.am
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \
|
|
${WRKSRC}/TODO ${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|