summaryrefslogtreecommitdiff
path: root/x11/xvidcap
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-01-10 21:12:28 +0000
committerreed <reed@pkgsrc.org>2005-01-10 21:12:28 +0000
commitd8a09b7c5eff13b9f70a3221b6b7fe14f7bc4914 (patch)
treeaeeb7335a22ea62094b283135e5e03f5b1efec9c /x11/xvidcap
parent802b8a93f5974c8a412d171ddcf424ef06fcd988 (diff)
downloadpkgsrc-d8a09b7c5eff13b9f70a3221b6b7fe14f7bc4914.tar.gz
Only install gvidcap.1 when built with GTK2 support.
(It is the identical file, so use symlink.) Bump PKGREVISION. I will be splitting this up to add a new package: xvidcap-gtk2.
Diffstat (limited to 'x11/xvidcap')
-rw-r--r--x11/xvidcap/Makefile10
-rw-r--r--x11/xvidcap/PLIST4
-rw-r--r--x11/xvidcap/distinfo3
-rw-r--r--x11/xvidcap/patches/patch-ae13
4 files changed, 25 insertions, 5 deletions
diff --git a/x11/xvidcap/Makefile b/x11/xvidcap/Makefile
index 4b2bd40b026..f5e9cb55fad 100644
--- a/x11/xvidcap/Makefile
+++ b/x11/xvidcap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:18:40 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/01/10 21:12:28 reed Exp $
#
DISTNAME= xvidcap-1.1.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xvidcap/}
@@ -22,6 +22,12 @@ BUILD_DEFS+= XVIDCAP_GTK2_GUI
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
diff --git a/x11/xvidcap/PLIST b/x11/xvidcap/PLIST
index 70c9144cc2c..18dbd4db014 100644
--- a/x11/xvidcap/PLIST
+++ b/x11/xvidcap/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/01/10 21:12:28 reed Exp $
${GTK2_GUI}bin/gvidcap
bin/xvidcap
-man/man1/gvidcap.1
+${GTK2_GUI}man/man1/gvidcap.1
man/man1/xvidcap.1
share/doc/xvidcap_${PKGVERSION}/AUTHORS
share/doc/xvidcap_${PKGVERSION}/ChangeLog
diff --git a/x11/xvidcap/distinfo b/x11/xvidcap/distinfo
index 3c5a53d0215..23db6993b11 100644
--- a/x11/xvidcap/distinfo
+++ b/x11/xvidcap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2005/01/10 21:12:28 reed Exp $
SHA1 (xvidcap-1.1.3.tar.gz) = e6d86a4184c8cc3e74738fb6e20d49c0d1640025
Size (xvidcap-1.1.3.tar.gz) = 1627036 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-aa) = 9196f59ec849a361821fd5cae800ec6aef2a1dfc
SHA1 (patch-ab) = 3e3835f57e204aa24a30b5940afc221d70cfc9f5
SHA1 (patch-ac) = 0de9d748e3808a210ec68d140eb1dfd5e18d9e4f
SHA1 (patch-ad) = ac40095849f721cfd8aa1e0143dff3ac9b705be7
+SHA1 (patch-ae) = fc4fa298ed796225ce80ac780cebf46e46f3d21b
diff --git a/x11/xvidcap/patches/patch-ae b/x11/xvidcap/patches/patch-ae
new file mode 100644
index 00000000000..b72219fb21a
--- /dev/null
+++ b/x11/xvidcap/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2005/01/10 21:12:28 reed Exp $
+
+--- src/Makefile.in.orig 2004-02-14 12:06:20.000000000 -0800
++++ src/Makefile.in
+@@ -195,7 +195,7 @@ xvidcap_LDADD = ../Xw/libXw.a $(am__app
+ @WITHGTK2_TRUE@gvidcap_LDFLAGS = $(AM_LDFLAGS) `pkg-config --libs gtk+-2.0`
+ @WITHGTK2_TRUE@@WITHGT_TRUE@gvidcap_LDADD = ../gt/libgt.a
+
+-man1_MANS = ../man/xvidcap.man ../man/gvidcap.man
++man1_MANS = ../man/xvidcap.man
+
+ EXTRA_DIST = mkresfile.sh
+ subdir = src