d8a09b7c5e
(It is the identical file, so use symlink.) Bump PKGREVISION. I will be splitting this up to add a new package: xvidcap-gtk2.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2005/01/10 21:12:28 reed Exp $
|
|
#
|
|
|
|
DISTNAME= xvidcap-1.1.3
|
|
PKGREVISION= 2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xvidcap/}
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
HOMEPAGE= http://xvidcap.sourceforge.net/
|
|
COMMENT= Capture X display to individual frames or MPEG video
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_X11= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= XVIDCAP_GTK2_GUI
|
|
|
|
.if defined(XVIDCAP_GTK2_GUI) && !empty(XVIDCAP_GTK2_GUI:M[Yy][Ee][Ss])
|
|
PLIST_SUBST+= GTK2_GUI=
|
|
CONFIGURE_ARGS+= --with-gtk2
|
|
. include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
post-install:
|
|
${RM} -f ${PREFIX}/${PKGMANDIR}/man1/gvidcap.1 ; \
|
|
${LN} -s ${PREFIX}/${PKGMANDIR}/man1/xvidcap.1 \
|
|
${PREFIX}/${PKGMANDIR}/man1/gvidcap.1
|
|
|
|
.else
|
|
PLIST_SUBST+= GTK2_GUI='@comment '
|
|
.endif
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../multimedia/ffmpeg/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|