1999-12-29 04:29:06 -05:00
|
|
|
# New ports collection makefile for: kcd
|
|
|
|
# Date created: 5 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
PORTNAME= kcd
|
2000-08-21 16:54:44 -04:00
|
|
|
PORTVERSION= 5.0.2
|
2000-05-07 17:41:50 -04:00
|
|
|
CATEGORIES= misc
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-12-29 04:29:06 -05:00
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-29 04:29:06 -05:00
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
2000-11-16 08:14:26 -05:00
|
|
|
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
|
2000-05-07 17:41:50 -04:00
|
|
|
.endif
|
1999-12-29 04:29:06 -05:00
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
USE_NEWGCC= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= kcd.1
|
1999-12-29 04:29:06 -05:00
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
post-patch:
|
2000-08-20 06:21:02 -04:00
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/kcd.1
|
1999-12-29 04:29:06 -05:00
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
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
|
1999-12-29 04:29:06 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-05-07 17:41:50 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/kcd
|
2000-08-20 06:21:02 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/kcd
|
2000-05-07 17:41:50 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kcd
|
1999-12-29 04:29:06 -05:00
|
|
|
.endif
|
|
|
|
|
2000-05-07 17:41:50 -04:00
|
|
|
.include <bsd.port.post.mk>
|