1999-12-29 09:29:06 +00:00
|
|
|
# New ports collection makefile for: kcd
|
|
|
|
# Date created: 5 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
PORTNAME= kcd
|
|
|
|
PORTVERSION= 4.11.2
|
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://download.sourceforge.net/kcd/
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
|
|
|
LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
|
|
|
|
.endif
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00: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 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cc
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00: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 09:29:06 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-05-07 21:41:50 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/kcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/kcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kcd
|
1999-12-29 09:29:06 +00:00
|
|
|
.endif
|
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
.include <bsd.port.post.mk>
|