aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xvidcap/Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-05-01 05:19:16 +0800
committerthierry <thierry@FreeBSD.org>2014-05-01 05:19:16 +0800
commit9ec214bbf12b23df48a4dd2b316ba7f3928e4acf (patch)
tree12f86b6fa2705a180851834ef16b3316366fd758 /sysutils/xvidcap/Makefile
parent4c5cb1bb8db1c5c82607a7e3f074df677c0fc259 (diff)
downloadfreebsd-ports-gnome-9ec214bbf12b23df48a4dd2b316ba7f3928e4acf.tar.gz
freebsd-ports-gnome-9ec214bbf12b23df48a4dd2b316ba7f3928e4acf.tar.zst
freebsd-ports-gnome-9ec214bbf12b23df48a4dd2b316ba7f3928e4acf.zip
Finally upgrade to 1.1.7.
Changelog at <http://sourceforge.net/p/xvidcap/news/2008/07/xvidcap-117-released/>.
Diffstat (limited to 'sysutils/xvidcap/Makefile')
-rw-r--r--sysutils/xvidcap/Makefile39
1 files changed, 18 insertions, 21 deletions
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile
index 68162e9c8381..b08cbf4fe6fa 100644
--- a/sysutils/xvidcap/Makefile
+++ b/sysutils/xvidcap/Makefile
@@ -2,35 +2,34 @@
# $FreeBSD$
PORTNAME= xvidcap
-DISTVERSION= 1.1.4p1
-PORTREVISION= 11
+PORTVERSION= 1.1.7
PORTEPOCH= 1
CATEGORIES= sysutils multimedia
-MASTER_SITES= SF/${PORTNAME}/OldFiles
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Capture your X display to individual frames or MPEG video
-BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian \
- xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
- texi2html:${PORTSDIR}/textproc/texi2html
-# To be reactivated when ffmpeg-devel will install libswscale.
-#LIB_DEPENDS= avutil.1:${PORTSDIR}/multimedia/ffmpeg-devel
-LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame
-RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick
+LICENSE= GPLv3
+
+BUILD_DEPENDS= xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
+ scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+LIB_DEPENDS= libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
+ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+ libmp3lame.so:${PORTSDIR}/audio/lame
+RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick \
+ gimp:${PORTSDIR}/graphics/gimp-app
GNU_CONFIGURE= yes
-# Remove MAKE="${GMAKE}" after ffmpeg-devel's upgrade
-CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" \
- MAKE="${GMAKE}"
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ARGS= --with-forced-embedded-ffmpeg # To be removed after ffmpeg-devel's upgrade
+# --export-dynamic fixes libglade problems
+LDFLAGS+= -L${LOCALBASE}/lib -Wl,--export-dynamic
-USE_GMAKE= yes # To be removed after ffmpeg-devel's upgrade
USE_GNOME= glib20 libglade2
-USES= gettext pkgconfig
-USE_XORG= x11 xmu
+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
@@ -39,18 +38,16 @@ CFLAGS+= -O2 -fno-strict-aliasing
PORTDOCS= AUTHORS ChangeLog README
NULLDOCS= COPYING
-MAN1= xvidcap.1
-
-NO_STAGE= yes
pre-configure:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \
${WRKSRC}/Makefile.in
.endif
+ ${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh
post-install:
.if !defined(NOPORTDOCS)
- @${RM} ${NULLDOCS:S|^|${DOCSDIR}/|}
+ ${RM} -f ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|}
.endif
.include <bsd.port.mk>