diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-08 18:42:40 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-08 18:42:40 +0000 |
commit | 5fe6c1f024cd6c6f69b723dc70e09a4c6eb32fe3 (patch) | |
tree | 0380182a7b962df9bc8a4c52e33410fb07c347e4 /misc/kcd/Makefile | |
parent | - Unbreak (diff) |
upgrade to 6.0.0
PR: 38999
Submitted by: Ports Fury
Diffstat (limited to 'misc/kcd/Makefile')
-rw-r--r-- | misc/kcd/Makefile | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/misc/kcd/Makefile b/misc/kcd/Makefile index 827780647798..4bbaf6783a67 100644 --- a/misc/kcd/Makefile +++ b/misc/kcd/Makefile @@ -6,37 +6,38 @@ # PORTNAME= kcd -PORTVERSION= 5.0.3 +PORTVERSION= 6.0.0 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -.include <bsd.port.pre.mk> -.if ${OSVERSION} < 400010 -LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses -.endif +LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext -USE_NEWGCC= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" -MAN1= kcd.1 +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lintl" -post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/kcd.1 +MAN1= kcd.1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/kcd-inst ${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 + ${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 .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/kcd - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kcd + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${EXAMPLESDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |