From owner-svn-ports-head@freebsd.org Thu Dec 1 13:44:36 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 406D3C60CBA; Thu, 1 Dec 2016 13:44:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B0A01D2A; Thu, 1 Dec 2016 13:44:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB1DiZ1Y046491; Thu, 1 Dec 2016 13:44:35 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB1DiYmB046486; Thu, 1 Dec 2016 13:44:34 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201612011344.uB1DiYmB046486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 1 Dec 2016 13:44:34 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 13:44:36 -0000 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 +# $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 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/