aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-05-07 21:41:50 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-05-07 21:41:50 +0000
commit1640ea33b405f51938c7ed7b80a7dadf87730f5f (patch)
tree05d331c4a6028cce85d79516f0fc1f0489f91e62 /misc
parent89f97c7ac7086fd2675ee7ddbae10bbf29ccd1ec (diff)
downloadports-1640ea33b405f51938c7ed7b80a7dadf87730f5f.tar.gz
ports-1640ea33b405f51938c7ed7b80a7dadf87730f5f.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/kcd-devel/Makefile52
-rw-r--r--misc/kcd-devel/distinfo2
-rw-r--r--misc/kcd-devel/pkg-descr2
-rw-r--r--misc/kcd-devel/pkg-plist4
-rw-r--r--misc/kcd/Makefile52
-rw-r--r--misc/kcd/distinfo2
-rw-r--r--misc/kcd/pkg-descr2
-rw-r--r--misc/kcd/pkg-plist4
8 files changed, 60 insertions, 60 deletions
diff --git a/misc/kcd-devel/Makefile b/misc/kcd-devel/Makefile
index 581834c00153..71f28783939d 100644
--- a/misc/kcd-devel/Makefile
+++ b/misc/kcd-devel/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-devel/distinfo b/misc/kcd-devel/distinfo
index 676189b21774..602f94f569f4 100644
--- a/misc/kcd-devel/distinfo
+++ b/misc/kcd-devel/distinfo
@@ -1 +1 @@
-MD5 (kcd-4.11.1.tar.gz) = c51a04ed4e964a59ac80f7563a960986
+MD5 (kcd-4.11.2.tar.gz) = 932583bb246fe79380db267d75bedd67
diff --git a/misc/kcd-devel/pkg-descr b/misc/kcd-devel/pkg-descr
index 6e31fc82db47..98a968a03ed4 100644
--- a/misc/kcd-devel/pkg-descr
+++ b/misc/kcd-devel/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-devel/pkg-plist b/misc/kcd-devel/pkg-plist
index 9493b19e98a2..d4749b515622 100644
--- a/misc/kcd-devel/pkg-plist
+++ b/misc/kcd-devel/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
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