freebsd-ports/multimedia/dvdauthor/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

55 lines
1.3 KiB
Makefile

# Created by: pb@FreeBSD.org
# $FreeBSD$
PORTNAME= dvdauthor
PORTVERSION= 0.7.2
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Makes a DVD file structure from one or more MPEG2 streams
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
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake iconv localbase pkgconfig
USE_GNOME= libxml2
GNU_CONFIGURE= yes
SUB_FILES= README.FreeBSD
PORTDOCS= *
OPTIONS_DEFINE= DOCS IMAGEMAGICK
OPTIONS_RADIO= VIDEO-FORMAT
OPTIONS_RADIO_VIDEO-FORMAT= NTSC PAL
VIDEO-FORMAT_DESC= Use default video format
NTSC_DESC= Default video format NTSC
PAL_DESC= Default video format PAL
IMAGEMAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6
NTSC_CONFIGURE_ON= --enable-default-video-format=NTSC
PAL_CONFIGURE_ON= --enable-default-video-format=PAL
pre-configure-IMAGEMAGICK-off:
@${REINPLACE_CMD} 's|usemagick=1|usemagick=0|g' \
${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} \
${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \
${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>