freebsd-ports/sysutils/xvidcap/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

60 lines
1.5 KiB
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= xvidcap
PORTVERSION= 1.1.7
PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= sysutils multimedia
MASTER_SITES= SF
MAINTAINER= thierry@FreeBSD.org
COMMENT= Capture your X display to individual frames or MPEG video
LICENSE= GPLv3
BUILD_DEPENDS= xml2po:textproc/gnome-doc-utils \
scrollkeeper-config:textproc/scrollkeeper
LIB_DEPENDS= libswscale.so:multimedia/ffmpeg \
libdbus-glib-1.so:devel/dbus-glib \
libmp3lame.so:audio/lame
RUN_DEPENDS= animate:graphics/ImageMagick6 \
gimp:graphics/gimp-app
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
# --export-dynamic fixes libglade problems
LDFLAGS+= -L${LOCALBASE}/lib -Wl,--export-dynamic
USE_GNOME= glib20 libglade2 intltool
USES= gettext gmake pkgconfig
USE_XORG= x11 xmu ice xfixes xdamage
INSTALLS_OMF= yes
MANLANG= "" de es it
.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
CFLAGS+= -O2 -fno-strict-aliasing
.endif
PORTDOCS= AUTHORS ChangeLog README
NULLDOCS= COPYING
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \
${WRKSRC}/Makefile.in
.endif
${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh
@${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \
${WRKSRC}/src/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
${RM} ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|}
.endif
.include <bsd.port.mk>