Date: Thu, 1 Dec 2016 13:44:34 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427500 - in head/graphics: . ssocr ssocr/files Message-ID: <201612011344.uB1DiYmB046486@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Dec 1 13:44:34 2016 New Revision: 427500 URL: https://svnweb.freebsd.org/changeset/ports/427500 Log: Add ssocr 2.16.3, a CLI to recognize digits of a seven segment display. Added: head/graphics/ssocr/ head/graphics/ssocr/Makefile (contents, props changed) head/graphics/ssocr/distinfo (contents, props changed) head/graphics/ssocr/files/ head/graphics/ssocr/files/patch-Makefile (contents, props changed) head/graphics/ssocr/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Thu Dec 1 13:40:50 2016 (r427499) +++ head/graphics/Makefile Thu Dec 1 13:44:34 2016 (r427500) @@ -1011,6 +1011,7 @@ SUBDIR += smillaenlarger SUBDIR += springgraph SUBDIR += squish + SUBDIR += ssocr SUBDIR += sswf SUBDIR += stamp SUBDIR += structuresynth Added: head/graphics/ssocr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ssocr/Makefile Thu Dec 1 13:44:34 2016 (r427500) @@ -0,0 +1,27 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= ssocr +PORTVERSION= 2.16.3 +CATEGORIES= graphics +MASTER_SITES= http://www.unix-ag.uni-kl.de/~auerswal/ssocr/ \ + LOCAL/ehaupt + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= CLI to recognize digits of a seven segment display + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libImlib2.so:graphics/imlib2 + +USES= tar:bzip2 gmake + +PLIST_FILES= bin/ssocr man/man1/ssocr.1.gz + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include <bsd.port.mk> Added: head/graphics/ssocr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ssocr/distinfo Thu Dec 1 13:44:34 2016 (r427500) @@ -0,0 +1,3 @@ +TIMESTAMP = 1480597440 +SHA256 (ssocr-2.16.3.tar.bz2) = 915ca0d5871ac8eb67b8445c94a9b6fbf8640052b5a855b0fa32f33575936a0d +SIZE (ssocr-2.16.3.tar.bz2) = 33542 Added: head/graphics/ssocr/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ssocr/files/patch-Makefile Thu Dec 1 13:44:34 2016 (r427500) @@ -0,0 +1,10 @@ +--- Makefile.orig 2016-12-01 13:14:44 UTC ++++ Makefile +@@ -1,5 +1,5 @@ +-CFLAGS := -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -Werror -pedantic-errors $(shell imlib2-config --cflags) -O3 +-LDLIBS := -lm $(shell imlib2-config --libs) ++CFLAGS += -D_FORTIFY_SOURCE=2 $(shell imlib2-config --cflags) ++LDLIBS += -lm $(shell imlib2-config --libs) + PREFIX := /usr/local + BINDIR := $(PREFIX)/bin + MANDIR := $(PREFIX)/share/man/man1 Added: head/graphics/ssocr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ssocr/pkg-descr Thu Dec 1 13:44:34 2016 (r427500) @@ -0,0 +1,7 @@ +Seven Segment Optical Character Recognition or ssocr for short is a program to +recognize digits of a seven segment display. An image of one row of digits is +used for input and the recognized number is written to the standard output. The +program runs on GNU/Linux, Mac OS X (using Homebrew to install Imlib2), and even +on Windows (using Cygwin). It uses Imlib2 to access image data. + +WWW: https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612011344.uB1DiYmB046486>