From c19848a8f3122f250f30459d1586f388abc9bf6d Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 31 Dec 2012 11:49:36 +0000 Subject: - update to 5.0.20120323 - remove useless LICENSE_FILE - convert to new option framework --- devel/cdk/Makefile | 21 +++---- devel/cdk/distinfo | 4 +- devel/cdk/files/patch-man__cdk_display.3 | 99 -------------------------------- devel/cdk/pkg-plist | 3 +- 4 files changed, 12 insertions(+), 115 deletions(-) delete mode 100644 devel/cdk/files/patch-man__cdk_display.3 (limited to 'devel/cdk') diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index e046f6d80b8d..392a8e56d828 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -1,13 +1,8 @@ -# ex:ts=8 -# New ports collection makefile for: cdk -# Date created: 6 May 1999 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ -# PORTNAME= cdk -PORTVERSION= 5.0.20090215 +PORTVERSION= 5.0.20120323 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/cdk/ @@ -18,14 +13,14 @@ MAINTAINER= bapt@FreeBSD.org COMMENT= Curses Development Kit for speedy development of full screen programs LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/COPYING + USE_GMAKE= yes USE_NCURSES= yes GNU_CONFIGURE= yes PORTDOCS= COPYING EXPANDING INSTALL NOTES README TODO MAKE_JOBS_UNSAFE= yes -.include +.include CONFIGURE_ARGS+=--with-ncurses ALL_TARGET= default examples demos cli cdkshlib @@ -35,7 +30,7 @@ USE_LDCONFIG= yes .include "${.CURDIR}/maninfo.mk" post-extract: -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in .endif @@ -44,14 +39,14 @@ post-patch: -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.in pre-install: -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} PLIST_SUB+= EXAMPLES="" .else PLIST_SUB+= EXAMPLES="@comment " .endif post-install: -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${INSTALL} -d ${EXAMPLESDIR} ${INSTALL} -d ${EXAMPLESDIR}/cli cd ${WRKSRC}/cli; \ @@ -64,4 +59,4 @@ post-install: ${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${EXAMPLESDIR}/examples .endif -.include +.include diff --git a/devel/cdk/distinfo b/devel/cdk/distinfo index 1d2d6568ff98..b939d29b7e11 100644 --- a/devel/cdk/distinfo +++ b/devel/cdk/distinfo @@ -1,2 +1,2 @@ -SHA256 (cdk-5.0-20090215.tgz) = b388c3a91a86153dfb2e0e583e213457859e61b228959145dffd102eb42ffb9d -SIZE (cdk-5.0-20090215.tgz) = 429288 +SHA256 (cdk-5.0-20120323.tgz) = a7a8210a85b1505f3f9e794cd11afad1c66f42306e6387b197bd006b24534c74 +SIZE (cdk-5.0-20120323.tgz) = 466993 diff --git a/devel/cdk/files/patch-man__cdk_display.3 b/devel/cdk/files/patch-man__cdk_display.3 deleted file mode 100644 index 24df4e12b1f9..000000000000 --- a/devel/cdk/files/patch-man__cdk_display.3 +++ /dev/null @@ -1,99 +0,0 @@ ---- ./man/cdk_display.3.orig 2006-04-17 12:45:02.000000000 +0200 -+++ ./man/cdk_display.3 2010-11-22 12:30:11.667537601 +0100 -@@ -54,7 +54,7 @@ - .nf - .ce - \fI----------------------------------------\fR --#include -+#include - - void main() - { -@@ -66,11 +66,13 @@ - /* Initialize the Cdk screen. */ - screen = initscr(); - cdkscreen = initCDKScreen (screen); -+ /* Start CDK Colors */ -+ initCDKColor(); - - /* Set the labels up. */ -- mesg[0] = "This line should have a yellow foreground and a blue background."; -- mesg[1] = "This line should have a white foreground and a blue background."; -- mesg[2] = "This line should have a yellow foreground and a red background."; -+ mesg[0] = "This line should have a yellow foreground and a blue background."; -+ mesg[1] = "This line should have a white foreground and a blue background."; -+ mesg[2] = "This line should have a yellow foreground and a red background."; - mesg[3] = "This line should be set to whatever the screen default is."; - - /* Declare the labels. */ -@@ -121,7 +123,7 @@ - .nf - .ce - \fI----------------------------------------\fR --#include -+#include - - void main() - { -@@ -133,11 +135,13 @@ - /* Initialize the Cdk screen. */ - screen = initscr(); - cdkscreen = initCDKScreen (screen); -+ /* Start CDK Colors */ -+ initCDKColor(); - - /* Set the labels up. */ -- mesg[0] = "Bold text yellow foreground / blue background."; -- mesg[1] = "Underlined text white foreground / blue background."; -- mesg[2] = "Blinking text yellow foreground / red background."; -+ mesg[0] = "Bold text yellow foreground / blue background."; -+ mesg[1] = "Underlined text white foreground / blue background."; -+ mesg[2] = "Blinking text yellow foreground / red background."; - mesg[3] = "This line uses the screen default colors."; - - /* Declare the labels. */ -@@ -190,7 +194,7 @@ - .ce - \fI----------------------------------------\fR - .nf --#include -+#include - - void main() - { -@@ -202,10 +206,12 @@ - /* Initialize the Cdk screen. */ - screen = initscr(); - cdkscreen = initCDKScreen (screen); -+ /* Start CDK Colors */ -+ initCDKColor(); - - /* Set the labels up. */ -- mesg[0] = "This line should have a yellow foreground and a blue background."; -- mesg[1] = "This line should have a white foreground and a blue background."; -+ mesg[0] = "This line should have a yellow foreground and a blue background."; -+ mesg[1] = "This line should have a white foreground and a blue background."; - mesg[2] = "This is a bullet."; - mesg[3] = "This is indented 10 characters."; - mesg[4] = "This line should be set to whatever the screen default is."; -@@ -295,7 +301,7 @@ - .ce - \fI----------------------------------------\fR - .nf --#include "cdk.h" -+#include - - void main() - { -@@ -313,9 +319,9 @@ - initCDKColor(); - - /* Set the labels up. */ -- mesg[0] = "<#UL><#HL(25)><#UR>"; -+ mesg[0] = "<#UL><#HL(26)><#UR>"; - mesg[1] = "<#VL>This text should be boxed.<#VL>"; -- mesg[2] = "<#LL><#HL(25)><#LR>"; -+ mesg[2] = "<#LL><#HL(26)><#LR>"; - mesg[3] = "While this is not."; - - /* Declare the labels. */ diff --git a/devel/cdk/pkg-plist b/devel/cdk/pkg-plist index 8486ad25002e..a30b6f38663a 100644 --- a/devel/cdk/pkg-plist +++ b/devel/cdk/pkg-plist @@ -4,11 +4,12 @@ include/cdk/binding.h include/cdk/button.h include/cdk/buttonbox.h include/cdk/calendar.h -include/cdk/cdk.h +include/cdk.h include/cdk/cdk_compat.h include/cdk/cdk_config.h include/cdk/cdk_objs.h include/cdk/cdk_params.h +include/cdk/cdk_test.h include/cdk/cdk_util.h include/cdk/cdk_version.h include/cdk/cdkscreen.h -- cgit v1.2.3