Bug 21667 - new port
Summary: new port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: alex
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-01 11:10 UTC by brett
Modified: 2000-10-01 11:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brett 2000-10-01 11:10:01 UTC
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
Comment 1 alex freebsd_committer freebsd_triage 2000-10-01 11:26:36 UTC
State Changed
From-To: open->closed

The port is restricted, i.e. one cannot sell the software. 
I first have to contact the author 
to get the permission to put it on the CD's. 

In the meanwhil,ewhile, I'd like to ask you, if you can rename the 
tarball on your distfiles place to something beter, e.g. xbarcode-1.0.zip. 
(note that the version number is important). 

Please tell me iwhen you have done so. Thanks! 

(wow, my ssh connection to Freefall sucks :)
Comment 2 alex freebsd_committer freebsd_triage 2000-10-01 11:29:20 UTC
Responsible Changed
From-To: freebsd-ports->alex

Hey, this is mine now!