aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-10-01 23:27:35 +0800
committeralex <alex@FreeBSD.org>2000-10-01 23:27:35 +0800
commit16bb1ac300ba3d890686a403cb99799ff93cfd7b (patch)
tree361060214e8bdaf56b44a6793d744c6d57712412 /graphics
parent8e56dd2e43bca1dbef6f49179019c09dc4ade0f7 (diff)
downloadfreebsd-ports-gnome-16bb1ac300ba3d890686a403cb99799ff93cfd7b.tar.gz
freebsd-ports-gnome-16bb1ac300ba3d890686a403cb99799ff93cfd7b.tar.zst
freebsd-ports-gnome-16bb1ac300ba3d890686a403cb99799ff93cfd7b.zip
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>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-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
8 files changed, 69 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 876231111471..05835542f850 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -189,6 +189,7 @@
SUBDIR += wmicons
SUBDIR += xanim
SUBDIR += xaos
+ SUBDIR += xbarcode
SUBDIR += xbmbrowser
SUBDIR += xdgagrab
SUBDIR += xdl
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