1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/misc/kcd/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

# 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
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www-scf.usc.edu/~lerdsuwa/util/
MASTER_SITE_SUBDIR= utils/shell
MAINTAINER= ports@FreeBSD.org
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>