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
|
2005-11-16 21:30:18 +00:00
|
|
|
PORTVERSION= 7.6.1
|
|
|
|
PORTEPOCH= 1
|
2000-05-07 21:41:50 +00:00
|
|
|
CATEGORIES= misc
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Change directory in full-screen visual mode
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2002-11-20 12:55:41 +00:00
|
|
|
USE_PERL5= yes
|
2000-05-07 21:41:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-06-08 18:42:40 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-10-22 06:14:04 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lintl"
|
|
|
|
|
2002-06-08 18:42:40 +00:00
|
|
|
MAN1= kcd.1
|
1999-12-29 09:29:06 +00:00
|
|
|
|
2006-03-11 01:19:17 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 700013
|
|
|
|
IGNORE= allocates an infinite amount of memory in configure script
|
|
|
|
.endif
|
|
|
|
|
2000-05-07 21:41:50 +00:00
|
|
|
do-install:
|
2002-06-08 18:42:40 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/kcd-inst ${PREFIX}/bin
|
2000-05-07 21:41:50 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin
|
2002-06-08 18:42:40 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/kcd.1 ${MANPREFIX}/man/man1
|
|
|
|
.for i in en_GB en_GB.UTF-8 en_US.UTF-8
|
|
|
|
@${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \
|
|
|
|
${PREFIX}/share/locale/${i}/LC_MESSAGES/kcd.mo
|
|
|
|
.endfor
|
1999-12-29 09:29:06 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-06-08 18:42:40 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${EXAMPLESDIR}
|
1999-12-29 09:29:06 +00:00
|
|
|
.endif
|
|
|
|
|
2006-03-11 01:19:17 +00:00
|
|
|
.include <bsd.port.post.mk>
|