pkgsrc/devel/cdk/Makefile
nia 4ac76cc940 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
2020-03-24 13:18:05 +00:00

35 lines
989 B
Makefile

# $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"