aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Cdk
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-02-06 06:22:27 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-02-06 06:22:27 +0000
commit3383bc307d6434e2db53d34afd29e01d6a275f09 (patch)
tree709d84f4a17a7c0b736dd361de84f7dc243dc423 /devel/p5-Cdk
parenta8ce5e0d1eb6bf843b223585b42c3033b061dd8a (diff)
downloadports-3383bc307d6434e2db53d34afd29e01d6a275f09.tar.gz
ports-3383bc307d6434e2db53d34afd29e01d6a275f09.zip
1: Fixes shared library dependency and adapts api changes of the underlying
library, devel/cdk. 2: reset MAINTAINER to ports@ PR: ports/47712 Submitted by: maintainer.
Notes
Notes: svn path=/head/; revision=74946
Diffstat (limited to 'devel/p5-Cdk')
-rw-r--r--devel/p5-Cdk/Makefile5
-rw-r--r--devel/p5-Cdk/files/patch-aa2
-rw-r--r--devel/p5-Cdk/files/patch-ac30
-rw-r--r--devel/p5-Cdk/files/patch-ad12
4 files changed, 46 insertions, 3 deletions
diff --git a/devel/p5-Cdk/Makefile b/devel/p5-Cdk/Makefile
index e24d96c5758c..ac7c64664b76 100644
--- a/devel/p5-Cdk/Makefile
+++ b/devel/p5-Cdk/Makefile
@@ -7,14 +7,15 @@
PORTNAME= Cdk
PORTVERSION= 4.9.6
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= http://www.vexus.ca/release/
PKGNAMEPREFIX= p5-
DISTNAME= cdkperl
-MAINTAINER= clkao@clkao.org
+MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= cdk.1:${PORTSDIR}/devel/cdk
+LIB_DEPENDS= cdk.4:${PORTSDIR}/devel/cdk
WRKSRC= ${WRKDIR}/Cdk
PERL_CONFIGURE= yes
diff --git a/devel/p5-Cdk/files/patch-aa b/devel/p5-Cdk/files/patch-aa
index 8e2eb4d9f938..5791e2facb01 100644
--- a/devel/p5-Cdk/files/patch-aa
+++ b/devel/p5-Cdk/files/patch-aa
@@ -8,7 +8,7 @@
+ 'LIBS' => ['-L/usr/local/lib -lcdk -lncurses'],
'DEFINE' => '-DHAVE_USLEEP -DHAVE_NCURSES -DHAVE_COLOR -DCDK_PERL_EXT',
- 'INC' => '-I/usr/include/ncurses -I/home/glover/local/include/cdk',
-+ 'INC' => '-I/usr/include -I/usr/local/include/cdk',
++ 'INC' => '-I/usr/include -I/usr/local/include -I/usr/local/include/cdk',
'clean' => {FILES => 'Makefile.old'},
);
diff --git a/devel/p5-Cdk/files/patch-ac b/devel/p5-Cdk/files/patch-ac
new file mode 100644
index 000000000000..ca94edd5078e
--- /dev/null
+++ b/devel/p5-Cdk/files/patch-ac
@@ -0,0 +1,30 @@
+--- Cdk.xs.orig Fri Jan 31 15:36:39 2003
++++ Cdk.xs Fri Jan 31 15:32:12 2003
+@@ -130,7 +130,7 @@
+ /*
+ * The callback callback to run Perl callback routines. Are you confused???
+ */
+-void PerlBindCB (EObjectType cdktype, void *object, void *data, chtype input)
++int PerlBindCB (EObjectType cdktype, void *object, void *data, chtype input)
+ {
+ dSP ;
+
+@@ -2385,12 +2385,13 @@
+ RETVAL
+
+ void
+-Draw(object)
++Draw(object,Box=TRUE)
+ CDKMENU * object
+- CODE:
+- {
+- drawCDKMenu (object);
+- }
++ int Box = sv2int ($arg);
++ CODE:
++ {
++ drawCDKMenu (object,Box);
++ }
+
+ void
+ Erase(object)
diff --git a/devel/p5-Cdk/files/patch-ad b/devel/p5-Cdk/files/patch-ad
new file mode 100644
index 000000000000..0cfc03c0c13f
--- /dev/null
+++ b/devel/p5-Cdk/files/patch-ad
@@ -0,0 +1,12 @@
+--- demos/rolodex.orig Fri Dec 11 03:03:35 1998
++++ demos/rolodex Fri Jan 31 15:34:45 2003
+@@ -22,7 +22,8 @@
+
+ # Create the menu object.
+ my $menu = new Cdk::Menu ('Menulist' => $menulist, 'Menuloc' => $menuloc);
+-$menu->draw();
++#$menu->draw("Box" => "FALSE");
++$menu->activate(0);
+
+ # Create the title.
+ my @title = ("<C></16/U>Cdk/Perl5 Rolodex", "<C></16>Written by Mike Glover");