diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-14 21:33:56 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-14 21:33:56 +0000 |
commit | ca281c5e74703dd1cdf4be8c57648bfe4f0b3605 (patch) | |
tree | 2f8455b15ec94d4106b5417abe9d71cf36b8d301 /graphics/claraocr | |
parent | c4fe05b924524ffcac51ea5a2abd44da5ed349ae (diff) | |
download | ports-ca281c5e74703dd1cdf4be8c57648bfe4f0b3605.tar.gz ports-ca281c5e74703dd1cdf4be8c57648bfe4f0b3605.zip |
Notes
Diffstat (limited to 'graphics/claraocr')
-rw-r--r-- | graphics/claraocr/Makefile | 7 | ||||
-rw-r--r-- | graphics/claraocr/distinfo | 2 | ||||
-rw-r--r-- | graphics/claraocr/files/patch-Makefile | 34 | ||||
-rw-r--r-- | graphics/claraocr/pkg-plist | 1 |
4 files changed, 23 insertions, 21 deletions
diff --git a/graphics/claraocr/Makefile b/graphics/claraocr/Makefile index 2fa57e675196..e9ee0dea9182 100644 --- a/graphics/claraocr/Makefile +++ b/graphics/claraocr/Makefile @@ -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> diff --git a/graphics/claraocr/distinfo b/graphics/claraocr/distinfo index d7da70562aa0..6eee3f4e7854 100644 --- a/graphics/claraocr/distinfo +++ b/graphics/claraocr/distinfo @@ -1 +1 @@ -MD5 (clara-0.9.8.tar.gz) = ffdb2c3a419c76635d3c653af8914615 +MD5 (clara-0.9.9.tar.gz) = 00d92f2caeb0a4759638c5e808307529 diff --git a/graphics/claraocr/files/patch-Makefile b/graphics/claraocr/files/patch-Makefile index 9cb8d2ce0753..24e8a6abbfd5 100644 --- a/graphics/claraocr/files/patch-Makefile +++ b/graphics/claraocr/files/patch-Makefile @@ -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 diff --git a/graphics/claraocr/pkg-plist b/graphics/claraocr/pkg-plist index bff7383c1e8c..6375ee9f68b7 100644 --- a/graphics/claraocr/pkg-plist +++ b/graphics/claraocr/pkg-plist @@ -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 |