Index: head/shells/fd/Makefile =================================================================== --- head/shells/fd/Makefile (revision 396418) +++ head/shells/fd/Makefile (revision 396419) @@ -1,48 +1,45 @@ # Created by: Nobuhiro Yasutomi # $FreeBSD$ PORTNAME= fd PORTVERSION= 3.01b CATEGORIES= shells net MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \ ftp://ftp.unixusers.net/src/fdclone/ DISTNAME= FD-${PORTVERSION} MAINTAINER= knu@FreeBSD.org COMMENT= CUI-based file and directory management tool -OPTIONS_DEFINE= DOCS - MAKE_ENV= LANG=ja -MAKE_ARGS= CC="${CC}" PREFIX="\$$(DESTDIR)${PREFIX}" CONFDIR="\$$(DESTDIR)${PREFIX}/etc" +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ + PREFIX="\$$(DESTDIR)${PREFIX}" \ + CONFDIR="\$$(DESTDIR)${PREFIX}/etc" \ DOCS_EN= FAQ.eng \ LICENSES.eng \ README.eng \ TECHKNOW.eng \ ToAdmin.eng DOCS_JA= FAQ \ HISTORY \ LICENSES \ README \ TECHKNOW \ ToAdmin -BROKEN_powerpc= Does not compile on powerpc: tzfile.h: No such file or directory +OPTIONS_DEFINE= DOCS -post-configure: - ${REINPLACE_CMD} -E -e 's|^(#[[:space:]]*define[[:space:]]+EXTENDCCOPT[[:space:]]+"([^"]+ )?)-O(["[:space:]])|\1${CFLAGS}\3|' ${WRKSRC}/machine.h - post-install: - @${INSTALL_DATA} ${WRKSRC}/_fdrc.orig ${STAGEDIR}${PREFIX}/etc/fd2rc.dist - @${INSTALL_DATA} ${WRKSRC}/_fdrc ${STAGEDIR}${PREFIX}/etc/fd2rc.sample + ${INSTALL_DATA} ${WRKSRC}/_fdrc.orig \ + ${STAGEDIR}${PREFIX}/etc/fd2rc.dist + ${INSTALL_DATA} ${WRKSRC}/_fdrc ${STAGEDIR}${PREFIX}/etc/fd2rc.sample + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME} - @for i in ${DOCS_EN}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${DOCSDIR}; \ - done - @for i in ${DOCS_JA}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME}; \ - done + ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} \ + ${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME} .include Index: head/shells/fd/files/patch-Makefile.in =================================================================== --- head/shells/fd/files/patch-Makefile.in (revision 396418) +++ head/shells/fd/files/patch-Makefile.in (nonexistent) @@ -1,13 +0,0 @@ ---- Makefile.in.orig Wed Sep 14 00:00:00 2005 -+++ Makefile.in Tue Nov 8 11:27:52 2005 -@@ -5,8 +5,8 @@ - TITLE = FD- - VERMAJ = __VERMAJ__ - VERSION = __VERSION__ --PREFIX = __PREFIX__ --CONFDIR = __CONFDIR__ -+PREFIX ?= __PREFIX__ -+CONFDIR ?= __CONFDIR__ - BUILD = - MANSEC = 1 - TOPDIR = $(BUILD)$(PREFIX) Property changes on: head/shells/fd/files/patch-Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/shells/fd/files/patch-machine.h =================================================================== --- head/shells/fd/files/patch-machine.h (nonexistent) +++ head/shells/fd/files/patch-machine.h (revision 396419) @@ -0,0 +1,37 @@ +--- machine.h.orig 2014-05-05 15:00:00 UTC ++++ machine.h +@@ -584,25 +584,6 @@ typedef long off_t; + #define USEINETATON + #endif + +-#if defined (__FreeBSD__) && defined (__powerpc__) +-#define BSD44 +-#define OSTYPE "JCCBSD" +-#define CODEEUC +-#define TARUSESPACE +-#define REGEXPLIB "-lcompat" +-#define DECLSIGLIST +-#define DECLERRLIST +-#define USELEAPCNT +-#define USEMOUNTH +-#define USEMNTINFO +-#define USERE_COMP +-#define USESETENV +-#define ULONGIOCTL +-#define USEMKTIME +-#define SIGFNCINT +-#define USEINETATON +-#endif +- + #if defined (__FreeBSD__) && !defined (OSTYPE) && !defined (__BOW__) + #define BSD44 + #define OSTYPE "FREEBSD" +@@ -1315,7 +1296,7 @@ typedef unsigned long u_long; + #define CCCOMMAND "cc" + #endif + #ifndef EXTENDCCOPT +-#define EXTENDCCOPT "-O" ++#define EXTENDCCOPT "" + #endif + #ifndef TERMCAPLIB + # ifdef USETERMINFO Property changes on: head/shells/fd/files/patch-machine.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/fd/pkg-descr =================================================================== --- head/shells/fd/pkg-descr (revision 396418) +++ head/shells/fd/pkg-descr (revision 396419) @@ -1,7 +1,7 @@ `FD' (FDclone) is a CUI-based file and directory management tool which allows you to browse and manipulate directories and files with an easy and intuitive user interface. It also has a built-in Bourne-shell compatible shell which can be run stand-alone by the name of `fdsh'. -This version is a clone of FD for DOS (AT and PC9801) designed & +This version is a clone of FD for DOS (AT and PC9801) designed and written by A. Idei (SDI00544@niftyserve.or.jp).