diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 10:09:53 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 10:09:53 +0000 |
commit | 3f18c3702628c29034c8fc2f3fcaae65feed293f (patch) | |
tree | 64bd54700b4fdd675bcbdc561e438fbdd1d36a84 /graphics | |
parent | 53ceca8a391dc98822a79fdbb359213616d6b224 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/optar/Makefile | 33 | ||||
-rw-r--r-- | graphics/optar/distinfo | 6 | ||||
-rw-r--r-- | graphics/optar/files/patch-Makefile | 10 | ||||
-rw-r--r-- | graphics/optar/pkg-descr | 6 |
5 files changed, 56 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 43674dd99bc9..7e6d13468dd9 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -495,6 +495,7 @@ SUBDIR += openjpeg SUBDIR += openrm SUBDIR += ophoto + SUBDIR += optar SUBDIR += optipng SUBDIR += orca SUBDIR += osg diff --git a/graphics/optar/Makefile b/graphics/optar/Makefile new file mode 100644 index 000000000000..b357766af0a7 --- /dev/null +++ b/graphics/optar/Makefile @@ -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> diff --git a/graphics/optar/distinfo b/graphics/optar/distinfo new file mode 100644 index 000000000000..fb364932faeb --- /dev/null +++ b/graphics/optar/distinfo @@ -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 diff --git a/graphics/optar/files/patch-Makefile b/graphics/optar/files/patch-Makefile new file mode 100644 index 000000000000..8554db9e8f28 --- /dev/null +++ b/graphics/optar/files/patch-Makefile @@ -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 + diff --git a/graphics/optar/pkg-descr b/graphics/optar/pkg-descr new file mode 100644 index 000000000000..5e91241396af --- /dev/null +++ b/graphics/optar/pkg-descr @@ -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/ |