# New ports collection makefile for: xvidcap # Date created: Sat 24 April 2004 # Whom: thierry@pompo.net # # $FreeBSD$ # PORTNAME= xvidcap PORTVERSION= 1.1.3 PORTREVISION= 1 CATEGORIES= sysutils multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= thierry@FreeBSD.org COMMENT= Capture your X display to individual frames or MPEG video LIB_DEPENDS= avcodec.0:${PORTSDIR}/multimedia/ffmpeg RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" USE_GETOPT_LONG= yes USE_REINPLACE= yes PLIST_FILES= bin/xvidcap PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO XVidcap.ad DOC_HOOK= $$(MAKE) $$(AM_MAKEFLAGS) install-data-hook MAN1= xvidcap.1 .if !defined(WITHOUT_GTK) USE_GNOME= gtk20 CONFIGURE_ARGS+= --with-gtk2 PLIST_SUB+= GTK="" PLIST_FILES+= bin/gvidcap MAN1+= gvidcap.1 .else PLIST_SUB+= GTK="@comment " .endif pre-configure: @${REINPLACE_CMD} -e 's|@PTHREAD_LIBS@|${PTHREAD_LIBS}|' \ -e 's|@PTHREAD_CFLAGS@|${PTHREAD_CFLAGS}|' \ ${WRKSRC}/src/Makefile.in .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|${DOC_HOOK}|#${DOC_HOOK}|' \ ${WRKSRC}/src/Makefile.in .endif .include