summaryrefslogtreecommitdiff
path: root/shells/fd
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-07-13 04:19:38 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-07-13 04:19:38 +0000
commitf172aa69269016623bbbd10758cc2fb4a98facc4 (patch)
tree767ae29b8eca34c3d1fb86153d27ce299bc3ab0c /shells/fd
parentI no longer run seti; drop maintainership of these ports. (diff)
- Update to 2.01b.
- Honor CC and CFLAGS. (which hasn't been working since 2.0)
Diffstat (limited to 'shells/fd')
-rw-r--r--shells/fd/Makefile8
-rw-r--r--shells/fd/distinfo2
2 files changed, 8 insertions, 2 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index 48ef7f319dff..ba089c7ce021 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fd
-PORTVERSION= 2.01a
+PORTVERSION= 2.01b
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/
@@ -14,9 +14,12 @@ DISTNAME= FD-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
+USE_REINPLACE= yes
+
MANLANG= "" ja
MAN1= fd.1
MAKE_ENV= LANG=ja
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
DOCS_EN= FAQ.eng \
LICENSES.eng \
@@ -30,6 +33,9 @@ DOCS_JA= FAQ \
TECHKNOW \
ToAdmin
+post-patch:
+ ${REINPLACE_CMD} -E -e 's|^(#define[[:space:]]+EXTENDCCOPT[[:space:]]+)"-O"$$|\1 "${CFLAGS}"|' ${WRKSRC}/machine.h
+
post-install:
@${ECHO} "Updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
diff --git a/shells/fd/distinfo b/shells/fd/distinfo
index 037a403aee4b..2fe747c8d0c4 100644
--- a/shells/fd/distinfo
+++ b/shells/fd/distinfo
@@ -1 +1 @@
-MD5 (FD-2.01a.tar.gz) = 681b764713c702f8504c3865f2ec3044
+MD5 (FD-2.01b.tar.gz) = f4484485ac3a9733e3d873cd2aec925c