# Created by: Andrey Zakhvatov # $FreeBSD$ PORTNAME= cdk DISTVERSION= 5.0-20160131 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/cdk/ MAINTAINER= ports@FreeBSD.org COMMENT= Curses Development Kit for speedy development of full screen programs LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses gmake tar:tgz GNU_CONFIGURE= yes PORTDOCS= EXPANDING INSTALL NOTES README TODO MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS+=--with-ncurses ALL_TARGET= default cdkshlib INSTALL_TARGET= install installCDKSHLibrary USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|gcc|$$(CC)| ; \ /^CDKREADME/s| COPYING||' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcdk*.so post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} "cli demos examples" \ ${STAGEDIR}${EXAMPLESDIR}) .include