diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:41:50 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:41:50 +0000 |
commit | 1640ea33b405f51938c7ed7b80a7dadf87730f5f (patch) | |
tree | 05d331c4a6028cce85d79516f0fc1f0489f91e62 /misc/kcd | |
parent | - Remove obsolete sites from MASTER_SITES (diff) |
Update port to 4.11.2
PR: 18440
Submitted by: tkato@prontomail.ne.jp
Notes
Notes:
svn path=/head/; revision=28354
Diffstat (limited to 'misc/kcd')
-rw-r--r-- | misc/kcd/Makefile | 52 | ||||
-rw-r--r-- | misc/kcd/distinfo | 2 | ||||
-rw-r--r-- | misc/kcd/pkg-descr | 2 | ||||
-rw-r--r-- | misc/kcd/pkg-plist | 4 |
4 files changed, 30 insertions, 30 deletions
diff --git a/misc/kcd/Makefile b/misc/kcd/Makefile index 581834c00153..71f28783939d 100644 --- a/misc/kcd/Makefile +++ b/misc/kcd/Makefile @@ -5,36 +5,38 @@ # $FreeBSD$ # -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 +PORTNAME= kcd +PORTVERSION= 4.11.2 +CATEGORIES= misc +MASTER_SITES= http://download.sourceforge.net/kcd/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 400010 +LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +.endif -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" -MAN1= kcd.1 +USE_NEWGCC= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ + LIBS="-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-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cc -post-install: +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 .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/kcd -.for file in CHANGES COPYING INSTALL README - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/kcd -.endfor + @${MKDIR} ${PREFIX}/share/doc/kcd + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/kcd + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kcd .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/misc/kcd/distinfo b/misc/kcd/distinfo index 676189b21774..602f94f569f4 100644 --- a/misc/kcd/distinfo +++ b/misc/kcd/distinfo @@ -1 +1 @@ -MD5 (kcd-4.11.1.tar.gz) = c51a04ed4e964a59ac80f7563a960986 +MD5 (kcd-4.11.2.tar.gz) = 932583bb246fe79380db267d75bedd67 diff --git a/misc/kcd/pkg-descr b/misc/kcd/pkg-descr index 6e31fc82db47..98a968a03ed4 100644 --- a/misc/kcd/pkg-descr +++ b/misc/kcd/pkg-descr @@ -18,4 +18,4 @@ kcd allows user to change directory by using various methods: directories with newer modified/changed time are scanned. - Sorted directory tree listing. -WWW: http://www-scf.usc.edu/~lerdsuwa/util/kcd.html +WWW: http://kcd.sourceforge.net/ diff --git a/misc/kcd/pkg-plist b/misc/kcd/pkg-plist index 9493b19e98a2..d4749b515622 100644 --- a/misc/kcd/pkg-plist +++ b/misc/kcd/pkg-plist @@ -1,10 +1,8 @@ bin/kcdmain bin/kcdscr share/doc/kcd/CHANGES -share/doc/kcd/COPYING -share/doc/kcd/INSTALL share/doc/kcd/README share/examples/kcd/kcd.csh.init share/examples/kcd/kcd.sh.init -@dirrm share/doc/kcd @dirrm share/examples/kcd +@dirrm share/doc/kcd |