1999-12-29 09:29:06 +00:00
|
|
|
# New ports collection makefile for: kcd
|
|
|
|
# Date created: 5 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= kcd
|
|
|
|
PORTVERSION= 4.11.1
|
1999-12-29 09:29:06 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
|
|
http://www-scf.usc.edu/~lerdsuwa/util/
|
|
|
|
MASTER_SITE_SUBDIR= utils/shell
|
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-29 09:29:06 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
MAN1= kcd.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/kcd.1 ${PREFIX}/man/man1
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/examples/kcd
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${PREFIX}/share/examples/kcd
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${PREFIX}/share/examples/kcd
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/kcd
|
|
|
|
.for file in CHANGES COPYING INSTALL README
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/kcd
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|