1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/cdk/Makefile
Sunpoet Po-Chuan Hsieh 6269930ec0 Sort USES
2017-04-24 15:17:34 +00:00

42 lines
944 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= cdk
DISTVERSION= 5.0-20161210
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= gmake ncurses 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 <bsd.port.mk>