summaryrefslogtreecommitdiff
path: root/graphics/xbarcode
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-10-01 15:27:35 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-10-01 15:27:35 +0000
commita7f22521195e404147ea9c8749293ebc9946a277 (patch)
treefed8348aa6844bf7420a62d726b7cc0f432d9022 /graphics/xbarcode
parent- Update to 4.1.0 (diff)
Add xbarcode, a (NO_CDROM) program to generate and save graphics of
barcodes in different industry standards. PR: 21667 Submitted by: brett <brett@nodetree.net>
Notes
Notes: svn path=/head/; revision=33291
Diffstat (limited to 'graphics/xbarcode')
-rw-r--r--graphics/xbarcode/Makefile29
-rw-r--r--graphics/xbarcode/distinfo1
-rw-r--r--graphics/xbarcode/files/patch-aa18
-rw-r--r--graphics/xbarcode/files/patch-ab10
-rw-r--r--graphics/xbarcode/pkg-comment1
-rw-r--r--graphics/xbarcode/pkg-descr7
-rw-r--r--graphics/xbarcode/pkg-plist2
7 files changed, 68 insertions, 0 deletions
diff --git a/graphics/xbarcode/Makefile b/graphics/xbarcode/Makefile
new file mode 100644
index 000000000000..387c48d63433
--- /dev/null
+++ b/graphics/xbarcode/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xbarcode
+# Date created: 1 October 2000
+# Whom: brett@nodetree.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= xbarcode
+PORTVERSION= 1.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.nodetree.net/distfiles/
+
+MAINTAINER= brett@nodetree.net
+
+LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
+RUN_DEPENDS= pnmfile:${PORTSDIR}/graphics/netpbm
+
+NO_CDROM= Must not be sold
+MAN1= XBarcode.1
+MLINKS= XBarcode.1 bar.1
+ALL_TARGET= XBarcode
+USE_XLIB= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/XBarcode ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bar ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/XBarcode.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/graphics/xbarcode/distinfo b/graphics/xbarcode/distinfo
new file mode 100644
index 000000000000..3058186961e6
--- /dev/null
+++ b/graphics/xbarcode/distinfo
@@ -0,0 +1 @@
+MD5 (xbarcode-1.0.tar.gz) = 5ec1556f14e328266bd197bfc52247b6
diff --git a/graphics/xbarcode/files/patch-aa b/graphics/xbarcode/files/patch-aa
new file mode 100644
index 000000000000..0922526362e1
--- /dev/null
+++ b/graphics/xbarcode/files/patch-aa
@@ -0,0 +1,18 @@
+--- Makefile Tue Sep 13 19:15:08 1994
++++ Makefile Sun Oct 1 02:21:12 2000
+@@ -4,13 +4,12 @@
+ #
+
+ OBJ = mainbarcode.o barcode.o fileio.o help.o
+-OPTIONS =
+-LIBPATH = /usr/openwin/lib # Pfad fuer XVIEW Library angeben !!!
++OPTIONS = -I${X11BASE}/include
++LIBPATH = ${X11BASE}/lib # Pfad fuer XVIEW Library angeben !!!
+
+ XBarcode: $(OBJ)
+ gcc $(OPTIONS) bar.o fileio.o help.o barcode.o -o bar
+ gcc -o XBarcode $(OBJ) -lxview -lolgx -lX11 -L$(LIBPATH)
+- cp XBarcode.1 /usr/man/cat1/XBarcode.1
+
+ mainbarcode.o: mainbarcode.c barcode.h german.h
+ gcc $(OPTIONS) -c mainbarcode.c
diff --git a/graphics/xbarcode/files/patch-ab b/graphics/xbarcode/files/patch-ab
new file mode 100644
index 000000000000..1702d1013dea
--- /dev/null
+++ b/graphics/xbarcode/files/patch-ab
@@ -0,0 +1,10 @@
+--- bar.c~ Tue Sep 13 18:25:32 1994
++++ bar.c Sun Oct 1 02:35:31 2000
+@@ -40,6 +40,7 @@
+ ywert=100;
+ xwert=100;
+ strcpy(Wert,"");
++ if(argc<2) { fprintf(stderr,"%s",ErrText4); exit(-1); }
+ if (strcmp(argv[1],"-HELP")==0)
+ {
+ help();
diff --git a/graphics/xbarcode/pkg-comment b/graphics/xbarcode/pkg-comment
new file mode 100644
index 000000000000..f54386cad478
--- /dev/null
+++ b/graphics/xbarcode/pkg-comment
@@ -0,0 +1 @@
+Generate bar codes
diff --git a/graphics/xbarcode/pkg-descr b/graphics/xbarcode/pkg-descr
new file mode 100644
index 000000000000..0df5ee9c146e
--- /dev/null
+++ b/graphics/xbarcode/pkg-descr
@@ -0,0 +1,7 @@
+This is a port of XBarcode, which will let you generate barcodes in a
+variety of image formats.
+
+WWW: http://www.fmi.uni-passau.de/~laitenbe/download.shtml
+
+- brett
+brett@nodetree.net
diff --git a/graphics/xbarcode/pkg-plist b/graphics/xbarcode/pkg-plist
new file mode 100644
index 000000000000..af1b5c565269
--- /dev/null
+++ b/graphics/xbarcode/pkg-plist
@@ -0,0 +1,2 @@
+bin/XBarcode
+bin/bar