aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Cdk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-05-21 13:47:45 +0800
committermiwi <miwi@FreeBSD.org>2013-05-21 13:47:45 +0800
commit2fb0a830c4f01fda7c2da07897e386e3ca6bd81c (patch)
tree83844da2abb82833163bc5c17a45e017e71fb81c /devel/p5-Cdk
parentf4a9e13173958c76f90b7fc5ed5d99641ef16c95 (diff)
downloadfreebsd-ports-gnome-2fb0a830c4f01fda7c2da07897e386e3ca6bd81c.tar.gz
freebsd-ports-gnome-2fb0a830c4f01fda7c2da07897e386e3ca6bd81c.tar.zst
freebsd-ports-gnome-2fb0a830c4f01fda7c2da07897e386e3ca6bd81c.zip
- Update to 5.20120324
PR: 178155 Submitted by: ports fury
Diffstat (limited to 'devel/p5-Cdk')
-rw-r--r--devel/p5-Cdk/Makefile18
-rw-r--r--devel/p5-Cdk/distinfo4
-rw-r--r--devel/p5-Cdk/files/patch-Makefile.PL12
-rw-r--r--devel/p5-Cdk/pkg-descr2
-rw-r--r--devel/p5-Cdk/pkg-plist6
5 files changed, 17 insertions, 25 deletions
diff --git a/devel/p5-Cdk/Makefile b/devel/p5-Cdk/Makefile
index 5d05034195a6..5c700e46fea6 100644
--- a/devel/p5-Cdk/Makefile
+++ b/devel/p5-Cdk/Makefile
@@ -2,24 +2,26 @@
# $FreeBSD$
PORTNAME= Cdk
-PORTVERSION= 4.9.10
-PORTREVISION= 1
+PORTVERSION= 5.20120324
CATEGORIES= devel perl5
MASTER_SITES= ftp://dickey.his.com/cdk/
PKGNAMEPREFIX= p5-
-DISTNAME= cdk-perl-20031210
+DISTNAME= cdk-perl-${PORTVERSION:C,^[0-9]\.,,}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 module for Curses Development Kit
-LIB_DEPENDS= cdk.5:${PORTSDIR}/devel/cdk
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN= does not build
+LIB_DEPENDS= cdk:${PORTSDIR}/devel/cdk
-PERL_CONFIGURE= yes
+USE_PERL5= yes
+GNU_CONFIGURE= yes
+INSTALL_TARGET= pure_install
-post-patch:
- ${REINPLACE_CMD} 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/Makefile.PL
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>
diff --git a/devel/p5-Cdk/distinfo b/devel/p5-Cdk/distinfo
index a97fc83f8846..1f63a87b85fc 100644
--- a/devel/p5-Cdk/distinfo
+++ b/devel/p5-Cdk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cdk-perl-20031210.tgz) = 58e76ab154a41332c296372781958a5b60384460401983a21a439daedaffad40
-SIZE (cdk-perl-20031210.tgz) = 82357
+SHA256 (cdk-perl-20120324.tgz) = a97bc153e1b95cb78fdd6249d03a5298494b30012a7850e0cd98369cd141752b
+SIZE (cdk-perl-20120324.tgz) = 136019
diff --git a/devel/p5-Cdk/files/patch-Makefile.PL b/devel/p5-Cdk/files/patch-Makefile.PL
deleted file mode 100644
index dc0d689d2f52..000000000000
--- a/devel/p5-Cdk/files/patch-Makefile.PL
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./Makefile.PL.orig 2002-07-28 22:09:50.000000000 +0300
-+++ ./Makefile.PL 2009-06-05 21:13:48.635138099 +0300
-@@ -13,7 +13,7 @@
- WriteMakefile(
- 'NAME' => 'Cdk',
- 'VERSION' => '4.09010',
-- 'LIBS' => ['-L/usr/local/lib -lcdk -lcurses'],
-- 'INC' => '-I/usr/include/ncurses -I/usr/local/include/cdk',
-+ 'LIBS' => ['-L%%LOCALBASE%%/lib -lcdk -lcurses'],
-+ 'INC' => '-I/usr/include -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/cdk',
- 'clean' => {FILES => 'Makefile.old'},
- );
diff --git a/devel/p5-Cdk/pkg-descr b/devel/p5-Cdk/pkg-descr
index 1a22e464bf32..ec023c7b813a 100644
--- a/devel/p5-Cdk/pkg-descr
+++ b/devel/p5-Cdk/pkg-descr
@@ -1 +1,3 @@
Perl interface to Curses Development Kit.
+
+WWW: http://invisible-island.net/cdk/
diff --git a/devel/p5-Cdk/pkg-plist b/devel/p5-Cdk/pkg-plist
index 8033a6dc9197..b6a2c26415bb 100644
--- a/devel/p5-Cdk/pkg-plist
+++ b/devel/p5-Cdk/pkg-plist
@@ -10,11 +10,11 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Graph.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Histogram.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Itemlist.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Label.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Marquee.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Matrix.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Menu.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Mentry.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Label.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Menu.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Radio.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Scale.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Scroll.pm
@@ -24,8 +24,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Template.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cdk/Viewer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk/.packlist
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk/Cdk.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk/Cdk.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk/Cdk.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk/autosplit.ix
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cdk
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cdk