- Update to 0.16

PR:		ports/106729
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2006-12-15 08:38:14 +00:00
parent d7aa9009e0
commit fbdea3e7ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179838
3 changed files with 9 additions and 7 deletions

View file

@ -6,7 +6,7 @@
# #
PORTNAME= ocrad PORTNAME= ocrad
PORTVERSION= 0.14 PORTVERSION= 0.16
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
@ -26,7 +26,7 @@ MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035 .if ${OSVERSION} < 500035
USE_GCC= 3.4 USE_GCC= 3.4+
post-patch: post-patch:
. for f in main.cc rational.cc . for f in main.cc rational.cc
@${REINPLACE_CMD} 's/std::snprintf/snprintf/g' ${WRKSRC}/$f @${REINPLACE_CMD} 's/std::snprintf/snprintf/g' ${WRKSRC}/$f

View file

@ -1,3 +1,3 @@
MD5 (ocrad-0.14.tar.bz2) = 6a72f723175e799cc72b81b96793491f MD5 (ocrad-0.16.tar.bz2) = 11436dd04e65a1e15ea62c2e2f26a4fa
SHA256 (ocrad-0.14.tar.bz2) = c31ba791840fae5a867f86cbb01880fe1ef3adf33175fdf30eeea857d9e9fcce SHA256 (ocrad-0.16.tar.bz2) = e3f98047f53bc19f6ff9d40de7b55ddf5e52d9b41453ab7f39f3bdf1ee974de6
SIZE (ocrad-0.14.tar.bz2) = 73632 SIZE (ocrad-0.16.tar.bz2) = 75532

View file

@ -1,12 +1,14 @@
--- configure.orig Fri Jan 23 22:55:38 2004 --- configure.orig Fri Jan 23 22:55:38 2004
+++ configure Mon Mar 1 11:34:35 2004 +++ configure Mon Mar 1 11:34:35 2004
@@ -19,13 +19,6 @@ @@ -19,15 +19,6 @@
progname=$0 progname=$0
srctrigger=ocrad.png srctrigger=ocrad.png
-# clear some things potentially inherited from environment. -# clear some things potentially inherited from environment.
-srcdir= -srcdir=
-prefix=/usr/local -prefix=/usr/local
-exec_prefix='$(prefix)'
-bindir='$(exec_prefix)/bin'
-datadir='$(prefix)/share' -datadir='$(prefix)/share'
-infodir='$(datadir)/info' -infodir='$(datadir)/info'
-mandir='$(datadir)/man' -mandir='$(datadir)/man'
@ -14,7 +16,7 @@
# Loop over all args # Loop over all args
while [ x$1 != x ] ; do while [ x$1 != x ] ; do
@@ -68,6 +62,11 @@ @@ -78,6 +72,11 @@
exit 1 ;; exit 1 ;;
esac esac
done done