mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to version 0.9.
PR: 23626 Submitted by: Ports Furry
This commit is contained in:
parent
6d4b5c5dad
commit
a4b7ce27a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36085
5 changed files with 66 additions and 36 deletions
|
@ -1,22 +1,19 @@
|
||||||
# New ports collection makefile for: diction
|
# New ports collection makefile for: diction
|
||||||
# Date created: 2 August 1998
|
# Date created: 2 August 1998
|
||||||
# Whom: J Han <hjh@best.com>
|
# Whom: J Han <hjh@best.com>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= diction
|
PORTNAME= diction
|
||||||
PORTVERSION= 0.8
|
PORTVERSION= 0.9
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ftp://cantor.informatik.rwth-aachen.de/pub/unix/
|
MASTER_SITES= http://www.moria.de/~michael/diction/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
USE_AUTOCONF= yes
|
||||||
USE_GMAKE= yes
|
|
||||||
|
|
||||||
MAKE_ENV= MKDIR="$(MKDIR)"
|
MAN1= diction.1 style.1
|
||||||
|
|
||||||
MAN1= diction.1 style.1
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (diction-0.8.tar.gz) = 0765745433bfa6bdc303db81acded9a1
|
MD5 (diction-0.9.tar.gz) = 948e9c4b9001e8f06e6154231fbd06d7
|
||||||
|
|
|
@ -1,20 +1,39 @@
|
||||||
--- Makefile.in.orig Tue Aug 4 12:55:19 1998
|
--- Makefile.in.orig Tue May 16 03:10:04 2000
|
||||||
+++ Makefile.in Tue Aug 4 12:55:52 1998
|
+++ Makefile.in Tue Dec 19 00:32:28 2000
|
||||||
@@ -29,14 +29,14 @@
|
@@ -3,6 +3,10 @@
|
||||||
sed -e s+/usr/share+$(SHAREDIR)+ diction.1.in >$@
|
prefix= @prefix@
|
||||||
|
exec_prefix= @exec_prefix@
|
||||||
|
|
||||||
|
+INSTALL= @INSTALL@
|
||||||
|
+INSTALL_PROGRAM= @INSTALL_PROGRAM@
|
||||||
|
+INSTALL_DATA= @INSTALL_DATA@
|
||||||
|
+
|
||||||
|
CC= @CC@
|
||||||
|
CFLAGS= @CFLAGS@
|
||||||
|
CPPFLAGS= @CPPFLAGS@ -DSHAREDIR=\"@datadir@\"
|
||||||
|
@@ -20,16 +24,16 @@
|
||||||
|
getopt.o getopt1.o $(LIBM) $(LIBS)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
- $(INSTALL) -m 755 -d $(BINDIR)
|
- @INSTALL@ -m 755 -d @bindir@
|
||||||
+ $(MKDIR) $(BINDIR)
|
- @INSTALL@ diction @bindir@/diction
|
||||||
$(INSTALL_PROGRAM) -s diction $(BINDIR)/diction
|
- @INSTALL@ style @bindir@/style
|
||||||
$(INSTALL_PROGRAM) -s style $(BINDIR)/style
|
- @INSTALL@ -m 755 -d @datadir@/diction
|
||||||
- $(INSTALL) -m 755 -d $(SHAREDIR)/diction
|
- @INSTALL@ -m 644 de @datadir@/diction/de
|
||||||
+ $(MKDIR) $(SHAREDIR)/diction
|
- @INSTALL@ -m 644 en @datadir@/diction/en
|
||||||
$(INSTALL_DATA) de $(SHAREDIR)/diction/de
|
+ -mkdir -p @bindir@
|
||||||
$(INSTALL_DATA) en $(SHAREDIR)/diction/en
|
+ $(INSTALL_PROGRAM) diction @bindir@/diction
|
||||||
(cd $(SHAREDIR)/diction; rm -f C; ln en C)
|
+ $(INSTALL_PROGRAM) style @bindir@/style
|
||||||
- $(INSTALL) -m 755 -d $(MANDIR)/man1
|
+ -mkdir -p @datadir@/diction
|
||||||
+ $(MKDIR) $(MANDIR)/man1
|
+ $(INSTALL_DATA) de @datadir@/diction/de
|
||||||
$(INSTALL_DATA) diction.1 $(MANDIR)/man1/diction.1
|
+ $(INSTALL_DATA) en @datadir@/diction/en
|
||||||
$(INSTALL_DATA) style.1 $(MANDIR)/man1/style.1
|
(cd @datadir@/diction; rm -f C; ln en C)
|
||||||
|
- @INSTALL@ -m 755 -d @mandir@/man1
|
||||||
|
- @INSTALL@ -m 644 diction.1 @mandir@/man1/diction.1
|
||||||
|
- @INSTALL@ -m 644 style.1 @mandir@/man1/style.1
|
||||||
|
+ -mkdir -p @mandir@/man1
|
||||||
|
+ $(INSTALL_DATA) diction.1 @mandir@/man1/diction.1
|
||||||
|
+ $(INSTALL_DATA) style.1 @mandir@/man1/style.1
|
||||||
|
|
||||||
|
install.msg:
|
||||||
|
gencat -o @datadir@/locale/en_US/LC_MESSAGES/diction.cat diction-en.msg sent-en.msg
|
||||||
|
|
14
misc/diction/files/patch-ab
Normal file
14
misc/diction/files/patch-ab
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- configure.in.orig Tue May 16 03:08:09 2000
|
||||||
|
+++ configure.in Tue Dec 19 00:26:35 2000
|
||||||
|
@@ -19,11 +19,6 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_PROG_CC
|
||||||
|
-if test "$GCC" = yes
|
||||||
|
-then
|
||||||
|
- CFLAGS="${CFLAGS} ${PIPE}-Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common"
|
||||||
|
- LDFLAGS='-g'
|
||||||
|
-fi
|
||||||
|
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
AC_CHECK_FUNCS(strerror)
|
|
@ -1,17 +1,17 @@
|
||||||
This is the snapshot release 0.6 beta of GNU diction and style, free
|
This is the GNU diction and style, free implementations of old standard
|
||||||
implementations of old standard unix commands. For some reason,
|
unix commands. For some reason, many modern systems lack them. Diction
|
||||||
many modern systems lack them. Diction prints wordy and commonly
|
prints wordy and commonly misused phrases. Style analyses surface
|
||||||
misused phrases. Style analyses surface characteristics of a document,
|
characteristics of a document, e.g. sentence length and various
|
||||||
e.g. sentence length and various readability measures.
|
readability measures.
|
||||||
|
|
||||||
Both commands support English and German documents.
|
Both commands support English and German documents.
|
||||||
|
|
||||||
--
|
--
|
||||||
WWW: http://www.fsf.org/software/diction/diction.html
|
WWW: http://www.gnu.org/software/diction/diction.html
|
||||||
|
|
||||||
GNU style and diction are written by Michael Haardt
|
GNU style and diction are written by Michael Haardt
|
||||||
|
|
||||||
http://cantor.informatik.rwth-aachen.de/~michael/
|
http://www.moria.de/~michael/
|
||||||
|
|
||||||
--
|
--
|
||||||
J Han <hjh@best.com>
|
J Han <hjh@best.com>
|
||||||
|
|
Loading…
Add table
Reference in a new issue