[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cdk

File: [cvs.NetBSD.org] / pkgsrc / devel / cdk / Makefile (download)

Revision 1.41, Sat Jul 27 14:04:06 2019 UTC (17 months, 4 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.40: +2 -2 lines

cdk: Update to 5.0-20190303

Changes:

2019/03/03
+ deprecate installCDKLibrary rule by install.libs, which is used in
  the newer shared-library macros.
+ conditionally-comment action lines for the part of install-rules
  which conflict with the newer shared-library rules (report by Tom
  Brownridge).

2019/02/24
+ use HDR_ROOTNAME rather than PACKAGE in top-level makefile, to
  simplify building cdk and cdkw packages with non-conflicting paths.
+ add "check" rule to top-level makefile, for testing Arch Linux
  package.
+ modify test-package for RPMs to work with SUSE and Mageia.

2019/02/20
+ updated rpm spec-file, for test-builds.
+ added pkgsrc files, for test-builds.
+ updated FreeBSD port-files, for test-builds.
+ add getCdkTitle, which uses new display encoding "<#10>" for newline
  in the example which demonstrates it, mentry_ex2 (prompted by
  discussion with Stéphane Goujet).
+ fix similar memory leaks in setCDKRadioItems and setCDKSelectionItems
+ fix memory leak in setCDKScrollItems (report by Stéphane Goujet).
+ make functionKey parameter to getchCDKObject optional
  (suggested by Stéphane Goujet).
+ modify test-packages to adjust includes in cdk.h when using test
  package for ncurses6 which would confuse test-package for cdk-perl.
+ change shlib-version in test-package to "abi", for better
  compatibility with the test-package for cdk-perl.
+ add manpage for cdk5-config
+ documentation improvements (report by Stéphane Goujet).
+ add check in drawCDKScrollCurrent() in case the list is not
  initialized (report by Stéphane Goujet).
+ modify writeCharAttrib to replace the color in the target cell rather
  than OR'ing it from the source-attribute (patch by Aarian P. Aleahmad)
+ add a null-pointer check in viewer.c's PatternNotFound() function
  (report by "c").
+ improve macros/markup in manpages.
+ updated configure macros, from lynx and ncurses development:
  CF_ADD_INCDIR, CF_CC_ENV_FLAGS, CF_CURSES_CPPFLAGS, CF_CURSES_LIBS,
  CF_FIND_LINKAGE, CF_GCC_WARNINGS, CF_GNU_SOURCE, CF_LD_RPATH_OPT,
  CF_NCURSES_CONFIG, CF_PDCURSES_X11, CF_POSIX_C_SOURCE, CF_PROG_EXT,
  CF_SHARED_OPTS, CF_TRY_XOPEN_SOURCE, CF_WITH_VERSIONED_SYMS,
  CF_XOPEN_CURSES, CF_XOPEN_SOURCE, CF_X_ATHENA_CPPFLAGS
+ update config.guess, config.sub

# $NetBSD: Makefile,v 1.41 2019/07/27 14:04:06 nia Exp $

DISTNAME=		cdk-5.0-20190303
PKGNAME=		${DISTNAME:S/5.0-/5.0./}
CATEGORIES=		devel
MASTER_SITES=		ftp://ftp.invisible-island.net/cdk/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://invisible-island.net/cdk/
COMMENT=		Curses Development Kit

WRKSRC=			${WRKDIR}/${DISTNAME}
USE_NCURSES=		yes # uses ncurses internals
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

BUILD_TARGET=		default

INSTALL_MAKE_FLAGS+=	INSTALL_DIR=${DESTDIR}${PREFIX} \
			MAN_DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
INSTALLATION_DIRS=	share/examples/cdk

# put Cdk's include-directory at the front to avoid conflict with menu.h
CFLAGS+=		-I./include

post-install:
	for file in ${WRKSRC}/examples/*.c ${WRKSRC}/examples/Makefile; do \
		${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/examples/cdk/; \
	done

.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"