pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xvidcap Split up Makefile into a Makefile.common s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6afa6de6ae22
branches:  trunk
changeset: 487324:6afa6de6ae22
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Jan 12 19:45:50 2005 +0000

description:
Split up Makefile into a Makefile.common so it can be reused
for a xvidcap-gtk2 package. Remove the XVIDCAP_GTK2_GUI usage.

Add note to DESCRiption to clarify the version of this xvidcap.

diffstat:

 x11/xvidcap/DESCR           |   2 ++
 x11/xvidcap/Makefile        |  37 ++++---------------------------------
 x11/xvidcap/Makefile.common |  20 ++++++++++++++++++++
 x11/xvidcap/PLIST           |   4 +---
 4 files changed, 27 insertions(+), 36 deletions(-)

diffs (93 lines):

diff -r 463003dcdbd8 -r 6afa6de6ae22 x11/xvidcap/DESCR
--- a/x11/xvidcap/DESCR Wed Jan 12 18:42:42 2005 +0000
+++ b/x11/xvidcap/DESCR Wed Jan 12 19:45:50 2005 +0000
@@ -1,3 +1,5 @@
 xvidcap is a tool (like Lotus ScreenCam and Camtasia) that captures
 movement on a selected area of an X11 screen to files. Frame output
 formats include: XWD, PPM, PNG, MNG, JPEG and MPEG.
+
+This is the Xt Intrinsics version.
diff -r 463003dcdbd8 -r 6afa6de6ae22 x11/xvidcap/Makefile
--- a/x11/xvidcap/Makefile      Wed Jan 12 18:42:42 2005 +0000
+++ b/x11/xvidcap/Makefile      Wed Jan 12 19:45:50 2005 +0000
@@ -1,40 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2005/01/10 21:12:28 reed Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/12 19:45:50 reed Exp $
 #
 
-DISTNAME=              xvidcap-1.1.3
-PKGREVISION=           2
-CATEGORIES=            x11
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=xvidcap/}
+.include "Makefile.common"
 
-MAINTAINER=            reed%reedmedia.net@localhost
-HOMEPAGE=              http://xvidcap.sourceforge.net/
+PKGREVISION=           3
 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"
+CONFIGURE_ARGS+=       --without-gtk2
 
-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"
diff -r 463003dcdbd8 -r 6afa6de6ae22 x11/xvidcap/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xvidcap/Makefile.common       Wed Jan 12 19:45:50 2005 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2005/01/12 19:45:50 reed Exp $
+#
+
+# Note: when upgrading version, be sure to update distinfo in xvidcap-gtk2 also
+DISTNAME=              xvidcap-1.1.3
+CATEGORIES=            x11
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=xvidcap/}
+
+MAINTAINER=            reed%reedmedia.net@localhost
+HOMEPAGE=              http://xvidcap.sourceforge.net/
+
+USE_BUILDLINK3=                yes
+USE_X11=               yes
+GNU_CONFIGURE=         yes
+
+.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"
diff -r 463003dcdbd8 -r 6afa6de6ae22 x11/xvidcap/PLIST
--- a/x11/xvidcap/PLIST Wed Jan 12 18:42:42 2005 +0000
+++ b/x11/xvidcap/PLIST Wed Jan 12 19:45:50 2005 +0000
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2005/01/10 21:12:28 reed Exp $
-${GTK2_GUI}bin/gvidcap
+@comment $NetBSD: PLIST,v 1.3 2005/01/12 19:45:50 reed Exp $
 bin/xvidcap
-${GTK2_GUI}man/man1/gvidcap.1
 man/man1/xvidcap.1
 share/doc/xvidcap_${PKGVERSION}/AUTHORS
 share/doc/xvidcap_${PKGVERSION}/ChangeLog



Home | Main Index | Thread Index | Old Index