pkgsrc/devel/cdk/Makefile
nia 65ce31ef28 cdk: update to 5.0.20210324
2021/03/24
	+ updated configure script, for _Noreturn and exit_curses checks.
2021-07-13 08:39:28 +00:00

35 lines
996 B
Makefile

# $NetBSD: Makefile,v 1.46 2021/07/13 08:39:28 nia Exp $
DISTNAME= cdk-5.0-20210324
PKGNAME= ${DISTNAME:S/5.0-/5.0./}
CATEGORIES= devel
MASTER_SITES= https://invisible-mirror.net/archives/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"