Update to 0.9.9

PR:		38044
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Patrick Li 2002-05-14 21:33:56 +00:00
parent c4fe05b924
commit ca281c5e74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59107
4 changed files with 23 additions and 21 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= claraocr
PORTVERSION= 0.9.8
PORTVERSION= 0.9.9
CATEGORIES= graphics
MASTER_SITES= ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrake-devel/projects/claraocr/ \
ftp://ftp.wtfo.com/pub/linux/Mandrake-devel/projects/claraocr/ \
@ -24,7 +24,8 @@ MAKE_ENV= MKDIR="${MKDIR}"
MAN1= clara-adv.1 clara-dev.1 clara.1
post-patch:
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},g' ${WRKSRC}/clara.pl \
${WRKSRC}/mkdoc.pl ${WRKSRC}/selthresh.pl
.for file in clara.pl mkdoc.pl selthresh.pl
@${PERL} -pi -e 's|^#!/usr/bin/perl|#!${PERL}|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (clara-0.9.8.tar.gz) = ffdb2c3a419c76635d3c653af8914615
MD5 (clara-0.9.9.tar.gz) = 00d92f2caeb0a4759638c5e808307529

View file

@ -1,23 +1,22 @@
--- Makefile.orig Sun Oct 21 07:16:38 2001
+++ Makefile Sat Dec 8 10:42:09 2001
@@ -28,13 +28,13 @@
#
--- Makefile.orig Sat May 4 10:45:07 2002
+++ Makefile Wed May 8 00:58:04 2002
@@ -29,22 +29,22 @@
# Configure the destination directories:
#
-BINDIR=/usr/local/bin
#BINDIR=/usr/local/bin
-BINDIR=/usr/bin
+BINDIR=${PREFIX}/bin
#BINDIR=/usr/bin
-MANDIR=/usr/local/man/man1
#MANDIR=/usr/local/man/man1
-MANDIR=/usr/man/man1
+MANDIR=${PREFIX}/man/man1
#MANDIR=/usr/man/man1
-DOCDIR=/usr/local/doc/clara
+DOCDIR=${PREFIX}/share/doc/clara
#DOCDIR=/usr/local/doc/clara
#DOCDIR=/usr/doc/clara
#DOCDIR=/usr/doc/clara-$(VERSION)
#DOCDIR=/usr/share/doc/clara
@@ -42,9 +42,9 @@
-DOCDIR=/usr/share/doc/clara
+DOCDIR=${PREFIX}/share/doc/clara
#
# Configure these variables accordingly to your system:
#
@ -30,15 +29,16 @@
#
# Now choose the Clara OCR compilation options:
@@ -83,14 +83,14 @@
@@ -85,7 +85,7 @@
#
# Add or remove flags if necessary:
#
-CFLAGS = $(INCLUDE) -g -O2 -Wall $(COPTS)
-CFLAGS = $(INCLUDE) -g -Wall $(COPTS)
+CFLAGS += $(INCLUDE) $(COPTS)
#CFLAGS = $(INCLUDE) -g -O2 -Wall $(COPTS)
#CFLAGS = $(INCLUDE) -g -O2 -pedantic $(COPTS)
#CFLAGS = $(INCLUDE) -g -O2 $(COPTS)
@@ -93,7 +93,7 @@
#
# Add or remove flags if necessary:
#
@ -47,7 +47,7 @@
#
# If your system requires additional libs, please add them:
@@ -153,13 +153,15 @@
@@ -175,13 +175,15 @@
./clara -p 2
install: all
@ -69,4 +69,4 @@
+.endif
clean:
rm -f clara sclara $(OBJS) doc/clara-*.1 doc/clara-*.html doc/FAQ
rm -f clara sclara $(OBJS) doc/clara*.1 doc/clara*.html doc/FAQ

View file

@ -6,5 +6,6 @@ bin/selthresh.pl
%%PORTDOCS%%share/doc/clara/clara-adv.html
%%PORTDOCS%%share/doc/clara/clara-dev.html
%%PORTDOCS%%share/doc/clara/clara-faq.html
%%PORTDOCS%%share/doc/clara/clara-glo.html
%%PORTDOCS%%share/doc/clara/clara-tut.html
%%PORTDOCS%%@dirrm share/doc/clara