aboutsummaryrefslogtreecommitdiff
path: root/graphics/iec16022
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-07-03 13:04:08 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-07-03 13:04:08 +0000
commit3788a621e1379be9a5ac135b34d7fdbd9e2ee800 (patch)
tree9d091b354620a8a1aabdea99bf2f3e7bb9dbab77 /graphics/iec16022
parentba03f05c3e36e37afe768f43a5ca0fa3a173697a (diff)
downloadports-3788a621e1379be9a5ac135b34d7fdbd9e2ee800.tar.gz
ports-3788a621e1379be9a5ac135b34d7fdbd9e2ee800.zip
Add iec16022 0.2.2, create 2D barcodes, also known as DataMatrix.
Notes
Notes: svn path=/head/; revision=216231
Diffstat (limited to 'graphics/iec16022')
-rw-r--r--graphics/iec16022/Makefile32
-rw-r--r--graphics/iec16022/distinfo3
-rw-r--r--graphics/iec16022/pkg-descr4
3 files changed, 39 insertions, 0 deletions
diff --git a/graphics/iec16022/Makefile b/graphics/iec16022/Makefile
new file mode 100644
index 000000000000..4aea12a8953d
--- /dev/null
+++ b/graphics/iec16022/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: iec16022
+# Date created: Thu Jul 3 14:13:08 CEST 2008
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iec16022
+PORTVERSION= 0.2.2
+CATEGORIES= graphics
+MASTER_SITES= http://datenfreihafen.org/~stefan/iec16022/ \
+ CRITICAL
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Create 2D barcodes, also known as DataMatrix
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+GNU_CONFIGURE= yes
+
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+PLIST_FILES= bin/iec16022
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \
+ ${WRKSRC}/iec16022ecc200.c ${WRKSRC}/reedsol.c ${WRKSRC}/image.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/iec16022/distinfo b/graphics/iec16022/distinfo
new file mode 100644
index 000000000000..c370cb79ebbf
--- /dev/null
+++ b/graphics/iec16022/distinfo
@@ -0,0 +1,3 @@
+MD5 (iec16022-0.2.2.tar.gz) = 84ca2bcd351ecaba84bd123cf0ba078b
+SHA256 (iec16022-0.2.2.tar.gz) = 0c569e22cdc3ff73defba27ba11e430b454c7cfede31d0371331d48ed23d3c6b
+SIZE (iec16022-0.2.2.tar.gz) = 328369
diff --git a/graphics/iec16022/pkg-descr b/graphics/iec16022/pkg-descr
new file mode 100644
index 000000000000..5434d7ddbb99
--- /dev/null
+++ b/graphics/iec16022/pkg-descr
@@ -0,0 +1,4 @@
+Create 2D barcodes, also known as Data Matrix. These barcodes are defined in
+ISO/IEC 16022.
+
+WWW: http://datenfreihafen.org/projects/iec16022.html