diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-10 17:12:36 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-10 17:12:36 +0000 |
commit | 6648b0f821c7b6e2184c730a842e4ab8b61f3829 (patch) | |
tree | 0d369d9a391cbb5e5e98bc456827428d21a01b86 /shells/fd/Makefile | |
parent | Chase checksum: no functional changes other than both recompressed (diff) |
Update FD, a GUI-based file and directory management tool for text
terminal to version 2.00a.
Put MAINTAINER's suggestions into the default configuration file.
Transfer the maintainership over to knu@FreeBSD.org.
Approved by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> (ex-MAINTAINER)
Notes
Notes:
svn path=/head/; revision=54487
Diffstat (limited to 'shells/fd/Makefile')
-rw-r--r-- | shells/fd/Makefile | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile index caf5025a7116..33ef514bb589 100644 --- a/shells/fd/Makefile +++ b/shells/fd/Makefile @@ -6,33 +6,51 @@ # PORTNAME= fd -PORTVERSION= 1.03u -PORTREVISION= 2 +PORTVERSION= 2.00a CATEGORIES= shells MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \ ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/ DISTNAME= FD-${PORTVERSION} -MAINTAINER= nobu@psrc.isac.co.jp +MAINTAINER= knu@FreeBSD.org -MANLANG= ja +MANLANG= "" ja MAN1= fd.1 -MAKE_ENV= LANG=${MANLANG} -DOCS= README FAQ HISTORY ToAdmin -SIGNATURE= Nobuhiro Yasutomi <${MAINTAINER}> +MAKE_ENV= LANG=ja -# require maintainer signature for binary package distributions -do-configure: - @cd ${WRKSRC}; v=version.h; ${MV} $$v $$v.orig; \ - ${SED} 's/\(distributor = \)NULL/\1"${SIGNATURE}"/' $$v.orig > $$v +DOCS_EN= FAQ.eng \ + LICENSES.eng \ + README.eng \ + TECHKNOW.eng \ + ToAdmin.eng +DOCS_JA= FAQ \ + HISTORY \ + LICENSES \ + README \ + TECHKNOW \ + ToAdmin post-install: + @${ECHO} "Updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/fdsh /etc/shells.bak; \ + ${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells + @${RM} /etc/shells.bak .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/fd - @for i in $(DOCS); do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/fd; \ + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME} + @for i in ${DOCS_EN}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/${PORTNAME}; \ done -.endif + @for i in ${DOCS_JA}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/ja/${PORTNAME}; \ + done + @${INSTALL_DATA} ${WRKSRC}/_fdrc.orig ${PREFIX}/etc/fd2rc.dist + @${INSTALL_DATA} ${WRKSRC}/_fdrc ${PREFIX}/etc/fd2rc.sample + if [ ! -f ${PREFIX}/etc/fd2rc ]; then \ + ${CP} -p ${PREFIX}/etc/fd2rc.sample ${PREFIX}/etc/fd2rc; \ + fi @${CAT} ${PKGMESSAGE} +.endif .include <bsd.port.mk> |