diff options
author | Alexander Langer <alex@FreeBSD.org> | 2000-10-01 15:27:35 +0000 |
---|---|---|
committer | Alexander Langer <alex@FreeBSD.org> | 2000-10-01 15:27:35 +0000 |
commit | a7f22521195e404147ea9c8749293ebc9946a277 (patch) | |
tree | fed8348aa6844bf7420a62d726b7cc0f432d9022 /graphics | |
parent | 6988bd55ef6f271ff2c6a84cd060a3b2e08b4ecf (diff) | |
download | ports-a7f22521195e404147ea9c8749293ebc9946a277.tar.gz ports-a7f22521195e404147ea9c8749293ebc9946a277.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/xbarcode/Makefile | 29 | ||||
-rw-r--r-- | graphics/xbarcode/distinfo | 1 | ||||
-rw-r--r-- | graphics/xbarcode/files/patch-aa | 18 | ||||
-rw-r--r-- | graphics/xbarcode/files/patch-ab | 10 | ||||
-rw-r--r-- | graphics/xbarcode/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/xbarcode/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/xbarcode/pkg-plist | 2 |
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 |