Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 03:07:23 -0700 (PDT)
From:      brett <brett@nodetree.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21667: xbarcode port (shell archive)
Message-ID:  <200010011007.DAA86653@nodetree.net>

next in thread | raw e-mail | index | archive | help

>Number:         21667
>Category:       ports
>Synopsis:       new port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 03:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     brett
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Nodetree
>Environment:

>Description:

New port

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xbarcode
#	xbarcode/files
#	xbarcode/files/md5
#	xbarcode/Makefile
#	xbarcode/pkg
#	xbarcode/pkg/DESCR
#	xbarcode/pkg/PLIST
#	xbarcode/pkg/COMMENT
#	xbarcode/patches
#	xbarcode/patches/patch-aa
#	xbarcode/patches/patch-ab
#
echo c - xbarcode
mkdir -p xbarcode > /dev/null 2>&1
echo c - xbarcode/files
mkdir -p xbarcode/files > /dev/null 2>&1
echo x - xbarcode/files/md5
sed 's/^X//' >xbarcode/files/md5 << 'END-of-xbarcode/files/md5'
XMD5 (xbarcode.zip) = 2c1ff32acbaf2369b90c2a4006048f51
END-of-xbarcode/files/md5
echo x - xbarcode/Makefile
sed 's/^X//' >xbarcode/Makefile << 'END-of-xbarcode/Makefile'
X# New ports collection makefile for:	xbarcode
X# Date created:		1 October 2000
X# Whom:			brett
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xbarcode
XPORTVERSION=	1.0
XCATEGORIES=	x11
XMASTER_SITES=	http://www.fmi.uni-passau.de/~laitenbe/ \
X		http://www.nodetree.net/distfiles/
XDISTNAME=	${PORTNAME}
X
XMAINTAINER=	brett@nodetree.net
X
XLIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview
XRUN_DEPENDS=	pnmfile:${PORTSDIR}/graphics/netpbm
X
XMAN1=		XBarcode.1
XMLINKS=		XBarcode.1 bar.1
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/XBarcode
XALL_TARGET=	XBarcode
XUSE_XLIB=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/XBarcode ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/bar ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/XBarcode.1 ${MAN1PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-xbarcode/Makefile
echo c - xbarcode/pkg
mkdir -p xbarcode/pkg > /dev/null 2>&1
echo x - xbarcode/pkg/DESCR
sed 's/^X//' >xbarcode/pkg/DESCR << 'END-of-xbarcode/pkg/DESCR'
XThis is a port of XBarcode, which will let you generate barcodes in a
Xvariety of image formats.
X
XWWW: http://www.fmi.uni-passau.de/~laitenbe/download.shtml
X
X- brett
Xbrett@nodetree.net
END-of-xbarcode/pkg/DESCR
echo x - xbarcode/pkg/PLIST
sed 's/^X//' >xbarcode/pkg/PLIST << 'END-of-xbarcode/pkg/PLIST'
Xbin/XBarcode
Xbin/bar
END-of-xbarcode/pkg/PLIST
echo x - xbarcode/pkg/COMMENT
sed 's/^X//' >xbarcode/pkg/COMMENT << 'END-of-xbarcode/pkg/COMMENT'
XGenerate bar codes
END-of-xbarcode/pkg/COMMENT
echo c - xbarcode/patches
mkdir -p xbarcode/patches > /dev/null 2>&1
echo x - xbarcode/patches/patch-aa
sed 's/^X//' >xbarcode/patches/patch-aa << 'END-of-xbarcode/patches/patch-aa'
X--- Makefile	Tue Sep 13 19:15:08 1994
X+++ Makefile	Sun Oct  1 02:21:12 2000
X@@ -4,13 +4,12 @@
X #
X 
X OBJ = mainbarcode.o barcode.o fileio.o help.o
X-OPTIONS = 
X-LIBPATH = /usr/openwin/lib           # Pfad fuer XVIEW Library angeben !!!
X+OPTIONS = -I${X11BASE}/include
X+LIBPATH = ${X11BASE}/lib           # Pfad fuer XVIEW Library angeben !!!
X 
X XBarcode: $(OBJ)
X 	gcc $(OPTIONS) bar.o fileio.o help.o barcode.o -o bar
X 	gcc -o XBarcode $(OBJ) -lxview -lolgx -lX11 -L$(LIBPATH) 
X-	cp XBarcode.1 /usr/man/cat1/XBarcode.1
X 
X mainbarcode.o: mainbarcode.c barcode.h german.h
X 	gcc $(OPTIONS) -c mainbarcode.c
END-of-xbarcode/patches/patch-aa
echo x - xbarcode/patches/patch-ab
sed 's/^X//' >xbarcode/patches/patch-ab << 'END-of-xbarcode/patches/patch-ab'
X--- bar.c~	Tue Sep 13 18:25:32 1994
X+++ bar.c	Sun Oct  1 02:35:31 2000
X@@ -40,6 +40,7 @@
X   ywert=100;
X   xwert=100;
X   strcpy(Wert,"");
X+  if(argc<2) { fprintf(stderr,"%s",ErrText4); exit(-1); }
X   if (strcmp(argv[1],"-HELP")==0)
X     {
X      help();
END-of-xbarcode/patches/patch-ab
exit


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010011007.DAA86653>