[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.43, Tue Mar 24 13:18:05 2020 UTC (10 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.42: +5 -3 lines

cdk: Update to 5.0.20200228

2020/02/28
	+ updated configure script, to work around ncurses 6.2 vs xcode's c99
	  "-W" option.
	+ update config.guess, config.sub

# $NetBSD: Makefile,v 1.43 2020/03/24 13:18:05 nia Exp $

DISTNAME=		cdk-5.0-20200228
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
LICENSE=		original-bsd

WRKSRC=			${WRKDIR}/${DISTNAME}
USE_NCURSES=		yes # uses ncurses internals
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config

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"