Optar stands for OPTical ARchiver.

It's a codec for encoding data on paper, then you print it with a laser printer.
If you want to read the recording, scan it with a scanner and feed into the
decoder program.

WWW: http://ronja.twibright.com/optar/

PR:		ports/127796
Submitted by:	antonakis at gmail.com
This commit is contained in:
Martin Wilke 2008-10-05 10:09:53 +00:00
parent 53ceca8a39
commit 3f18c37026
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221219
5 changed files with 56 additions and 0 deletions

View File

@ -495,6 +495,7 @@
SUBDIR += openjpeg
SUBDIR += openrm
SUBDIR += ophoto
SUBDIR += optar
SUBDIR += optipng
SUBDIR += orca
SUBDIR += osg

33
graphics/optar/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: optar
# Date created: 27 September 2008
# Whom: antonakis@gmail.com
#
# $FreeBSD$
#
PORTNAME= optar
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= http://ronja.twibright.com/:main \
http://ronja.twibright.com/grx/optar/:header
#EXTRACT_SUFX= .tgz
DISTFILES= optar.tgz:main \
font.h:header
EXTRACT_ONLY= optar.tgz
MAINTAINER= antonakis@gmail.com
COMMENT= A tool for encoding data on paper
BUILD_DEPENDS= ${LOCALBASE}/include/libpng/png.h:${PORTSDIR}/graphics/png
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/optar
PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps
post-extract:
@${RM} -v ${WRKSRC}/font.h
@${CP} -v ${DISTDIR}/font.h ${WRKSRC}/font.h
.include <bsd.port.mk>

6
graphics/optar/distinfo Normal file
View File

@ -0,0 +1,6 @@
MD5 (optar.tgz) = 83e75d96b405e76b5a3c33a55fdf30f6
SHA256 (optar.tgz) = 9c37dfba31e2d5ebb43a2ac066b67d774bf7ba059f882047668be6567793c942
SIZE (optar.tgz) = 28384
MD5 (font.h) = 7ba772998b3e5ec78864c48304860ba9
SHA256 (font.h) = f4e284c152fde4034f0950e4b52ee137f0e3085dd510f3ccc898aaaf3d8f3bce
SIZE (font.h) = 81164

View File

@ -0,0 +1,10 @@
--- ./Makefile.orig 2008-03-02 21:42:19.000000000 +0200
+++ ./Makefile 2008-10-01 19:12:22.000000000 +0300
@@ -1,6 +1,5 @@
LDFLAGS=-lm
-CFLAGS=-O3 -Wall -Wuninitialized -fomit-frame-pointer -funroll-loops \
- -fstrength-reduce -DNODEBUG `libpng-config --I_opts`
+CFLAGS= `libpng-config --I_opts`
all: optar unoptar

6
graphics/optar/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Optar stands for OPTical ARchiver.
It's a codec for encoding data on paper, then you print it with a laser printer.
If you want to read the recording, scan it with a scanner and feed into the
decoder program.
WWW: http://ronja.twibright.com/optar/