ports/72167: New port: lang/xharbour An extended xBase compiler

Phil Krylov phil at newstar.rinet.ru
Wed Sep 29 14:00:44 UTC 2004


>Number:         72167
>Category:       ports
>Synopsis:       New port: lang/xharbour An extended xBase compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 29 14:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Philipp Krylov
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
www.xharbour.org
>Environment:
System: FreeBSD newstar.rinet.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 17 16:42:31 MSD 2003 marck at newstar.rinet.ru:/usr/obj/usr/src/sys/COMPILED i386


>Description:
	This is just a new port.
>How-To-Repeat:
>Fix:

--- xhb-port begins here ---
# 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:
#
#	xharbour
#	xharbour/Makefile
#	xharbour/pkg-descr
#	xharbour/pkg-plist
#	xharbour/distinfo
#	xharbour/files
#	xharbour/files/patch-Makefile
#	xharbour/files/patch-hb-func-0.99.0
#
echo c - xharbour
mkdir -p xharbour > /dev/null 2>&1
echo x - xharbour/Makefile
sed 's/^X//' >xharbour/Makefile << 'END-of-xharbour/Makefile'
X# New ports collection makefile for:    xharbour
X# Date created:         27 Sep 2004
X# Whom:                 Phil Krylov <phil at newstar.rinet.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xharbour
XPORTVERSION=	0.99.0
XCATEGORIES=	lang
XMASTER_SITES=	http://download.sourceforge.net/xharbour/
XDISTNAME=	xharbour-0.99.0.src
XEXTRACT_SUFX=	.zip
X
XMAINTAINER=	phil at newstar.rinet.ru
XCOMMENT=	An extended xBase compiler
X
XLIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
X
XUSE_ZIP=	yes
X# We need to convert all the DOS line endings with -a option of unzip.
XEXTRACT_BEFORE_ARGS=	-qoa
X
XWRKSRC=	${WRKDIR}
X
XUSE_BISON=	yes
XUSE_GMAKE=	yes
XNO_INSTALL_MANPAGES=yes
X
XINSTALLS_SHLIB= yes
X
XHB_DIR=		${WRKDIR}/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
Xpost-extract:
X	chmod a+x ${WRKDIR}/bin/postinst.sh
X
Xpre-install:
X	${MKDIR} ${PREFIX}/include/${PORTNAME}
X	${MKDIR} ${PREFIX}/lib/${PORTNAME}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKDIR}/doc/*.txt ${DOCSDIR}
X	${MKDIR} ${DOCSDIR}/en
X	${INSTALL_MAN} ${WRKDIR}/doc/en/*.txt ${DOCSDIR}/en
X	${MKDIR} ${DOCSDIR}/es
X	${INSTALL_MAN} ${WRKDIR}/doc/es/*.txt ${DOCSDIR}/es
X.endif
X	-@${ECHO}
X	-@${ECHO} @ Executable files are installed in ${PREFIX}/bin.
X	-@${ECHO} @ Header files are installed in ${PREFIX}/include/${PORTNAME}.
X	-@${ECHO} @ Library files are installed in ${PREFIX}/lib/${PORTNAME}.
X.if !defined(NOPORTDOCS)
X	-@${ECHO} @ Documentation files are installed in ${DOCSDIR},
X	-@${ECHO} @ ${DOCSDIR}/en, and ${DOCSDIR}/es.
X	-@${ECHO} @
X.endif
X	-@${ECHO} @ See pkg-plist for a list of all installed files.
X	-@${ECHO}
X
X.include <bsd.port.post.mk>
END-of-xharbour/Makefile
echo x - xharbour/pkg-descr
sed 's/^X//' >xharbour/pkg-descr << 'END-of-xharbour/pkg-descr'
XThis is a port of xHarbour, an open source extended xBase compiler.
X
XWWW: http://www.xharbour.org/
X
X- Phil Krylov
Xphil at newstar.rinet.ru
END-of-xharbour/pkg-descr
echo x - xharbour/pkg-plist
sed 's/^X//' >xharbour/pkg-plist << 'END-of-xharbour/pkg-plist'
Xbin/gharbour
Xbin/harbour
Xbin/harbour-link
Xbin/hb-mkslib
Xbin/hbdict
Xbin/hbdict_it_IT.hit
Xbin/hbdoc
Xbin/hbmake
Xbin/hbpp
Xbin/hbrun
Xbin/hbtest
Xbin/xbscript
Xbin/xhb-build
Xbin/xhbcc
Xbin/xhbcmp
Xbin/xhblnk
Xbin/xhbmk
Xinclude/xharbour/achoice.ch
Xinclude/xharbour/assert.ch
Xinclude/xharbour/assocarr.ch
Xinclude/xharbour/box.ch
Xinclude/xharbour/button.ch
Xinclude/xharbour/classex.ch
Xinclude/xharbour/clipdefs.h
Xinclude/xharbour/color.ch
Xinclude/xharbour/common.ch
Xinclude/xharbour/cstruct.ch
Xinclude/xharbour/dbedit.ch
Xinclude/xharbour/dbinfo.ch
Xinclude/xharbour/dbstruct.ch
Xinclude/xharbour/directry.ch
Xinclude/xharbour/error.api
Xinclude/xharbour/error.ch
Xinclude/xharbour/extend.api
Xinclude/xharbour/extend.h
Xinclude/xharbour/fileio.ch
Xinclude/xharbour/filesys.api
Xinclude/xharbour/fm.api
Xinclude/xharbour/getexit.ch
Xinclude/xharbour/gt.api
Xinclude/xharbour/gtinfo.ch
Xinclude/xharbour/hashapi.h
Xinclude/xharbour/hb_io.h
Xinclude/xharbour/hbapi.h
Xinclude/xharbour/hbapicdp.h
Xinclude/xharbour/hbapierr.h
Xinclude/xharbour/hbapifs.h
Xinclude/xharbour/hbapigt.h
Xinclude/xharbour/hbapiitm.h
Xinclude/xharbour/hbapilng.h
Xinclude/xharbour/hbapirdd.h
Xinclude/xharbour/hbclass.ch
Xinclude/xharbour/hbcommon.ch
Xinclude/xharbour/hbcomp.h
Xinclude/xharbour/hbcomprs.ch
Xinclude/xharbour/hbcomprs.h
Xinclude/xharbour/hbdate.h
Xinclude/xharbour/hbdbf.h
Xinclude/xharbour/hbdbferr.h
Xinclude/xharbour/hbdbsort.h
Xinclude/xharbour/hbdefs.h
Xinclude/xharbour/hberrors.h
Xinclude/xharbour/hbexprop.h
Xinclude/xharbour/hbextern.ch
Xinclude/xharbour/hbfast.h
Xinclude/xharbour/hbfixdj.h
Xinclude/xharbour/hbhash.h
Xinclude/xharbour/hbi18n.h
Xinclude/xharbour/hbinit.h
Xinclude/xharbour/hblang.ch
Xinclude/xharbour/hblog.ch
Xinclude/xharbour/hblogdef.ch
Xinclude/xharbour/hbmacro.ch
Xinclude/xharbour/hbmacro.h
Xinclude/xharbour/hbmath.h
Xinclude/xharbour/hbmemory.ch
Xinclude/xharbour/hbmemvar.ch
Xinclude/xharbour/hbnxs.h
Xinclude/xharbour/hboo.ch
Xinclude/xharbour/hbpcode.h
Xinclude/xharbour/hbpers.ch
Xinclude/xharbour/hbpp.h
Xinclude/xharbour/hbrddcdx.h
Xinclude/xharbour/hbrdddbf.h
Xinclude/xharbour/hbrdddbt.h
Xinclude/xharbour/hbrdddel.h
Xinclude/xharbour/hbrddfpt.h
Xinclude/xharbour/hbrddntx.h
Xinclude/xharbour/hbrddsdf.h
Xinclude/xharbour/hbrddwrk.h
Xinclude/xharbour/hbrpc.ch
Xinclude/xharbour/hbserv.ch
Xinclude/xharbour/hbset.h
Xinclude/xharbour/hbsetup.ch
Xinclude/xharbour/hbsetup.h
Xinclude/xharbour/hbstack.h
Xinclude/xharbour/hbstruct.ch
Xinclude/xharbour/hbtrace.h
Xinclude/xharbour/hbtypes.h
Xinclude/xharbour/hbundoc.api
Xinclude/xharbour/hbver.h
Xinclude/xharbour/hbvm.h
Xinclude/xharbour/hbvmpub.h
Xinclude/xharbour/hbxml.ch
Xinclude/xharbour/hbxml.h
Xinclude/xharbour/hrbdll.h
Xinclude/xharbour/inet.h
Xinclude/xharbour/inkey.ch
Xinclude/xharbour/item.api
Xinclude/xharbour/local.h
Xinclude/xharbour/math.ch
Xinclude/xharbour/memoedit.ch
Xinclude/xharbour/ord.ch
Xinclude/xharbour/rdd.api
Xinclude/xharbour/rddsys.ch
Xinclude/xharbour/regex.h
Xinclude/xharbour/reserved.ch
Xinclude/xharbour/rp_dot.src
Xinclude/xharbour/rp_run.src
Xinclude/xharbour/set.ch
Xinclude/xharbour/setcurs.ch
Xinclude/xharbour/simpleio.ch
Xinclude/xharbour/std.ch
Xinclude/xharbour/tbrowse.ch
Xinclude/xharbour/thread.h
Xinclude/xharbour/ttable.ch
Xinclude/xharbour/vm.api
Xlib/libxharbour.so
Xlib/libxharbourmt.so
Xlib/xharbour/libcodepage.a
Xlib/xharbour/libcommon.a
Xlib/xharbour/libdbfcdx.a
Xlib/xharbour/libdbfcdxmt.a
Xlib/xharbour/libdbfdbt.a
Xlib/xharbour/libdbfdbtmt.a
Xlib/xharbour/libdbffpt.a
Xlib/xharbour/libdbffptmt.a
Xlib/xharbour/libdbfntx.a
Xlib/xharbour/libdbfntxmt.a
Xlib/xharbour/libdebug.a
Xlib/xharbour/libfm.a
Xlib/xharbour/libfmmt.a
Xlib/xharbour/libgtcgi.a
Xlib/xharbour/libgtcrs.a
Xlib/xharbour/libgtnul.a
Xlib/xharbour/libgtpca.a
Xlib/xharbour/libgtsln.a
Xlib/xharbour/libgtstd.a
Xlib/xharbour/liblang.a
Xlib/xharbour/libmacro.a
Xlib/xharbour/libmacromt.a
Xlib/xharbour/libnulsys.a
Xlib/xharbour/libnulsysmt.a
Xlib/xharbour/libpp.a
Xlib/xharbour/libppmt.a
Xlib/xharbour/librdd.a
Xlib/xharbour/librddmt.a
Xlib/xharbour/librtl.a
Xlib/xharbour/librtlmt.a
Xlib/xharbour/libsamples.a
Xlib/xharbour/libvm.a
Xlib/xharbour/libvmmt.a
Xlib/xharbour/libxharbour-0.99.0.so
Xlib/xharbour/libxharbourmt-0.99.0.so
Xshare/doc/xharbour/c_std.txt
Xshare/doc/xharbour/class_tp.txt
Xshare/doc/xharbour/cmdline.txt
Xshare/doc/xharbour/codebloc.txt
Xshare/doc/xharbour/codestyl.txt
Xshare/doc/xharbour/cstruct.txt
Xshare/doc/xharbour/dirstruc.txt
Xshare/doc/xharbour/en/array.txt
Xshare/doc/xharbour/en/binnum.txt
Xshare/doc/xharbour/en/bkgtsks.txt
Xshare/doc/xharbour/en/browse.txt
Xshare/doc/xharbour/en/clipper.txt
Xshare/doc/xharbour/en/cmdline.txt
Xshare/doc/xharbour/en/command.txt
Xshare/doc/xharbour/en/compiler.txt
Xshare/doc/xharbour/en/datetime.txt
Xshare/doc/xharbour/en/dbdelim.txt
Xshare/doc/xharbour/en/dbsdf.txt
Xshare/doc/xharbour/en/dbstrux.txt
Xshare/doc/xharbour/en/defines.txt
Xshare/doc/xharbour/en/dir.txt
Xshare/doc/xharbour/en/diskspac.txt
Xshare/doc/xharbour/en/error.txt
Xshare/doc/xharbour/en/eval.txt
Xshare/doc/xharbour/en/file.txt
Xshare/doc/xharbour/en/garbage.txt
Xshare/doc/xharbour/en/gnulice.txt
Xshare/doc/xharbour/en/gtslang.txt
Xshare/doc/xharbour/en/harbext.txt
Xshare/doc/xharbour/en/hb_api.txt
Xshare/doc/xharbour/en/hb_apier.txt
Xshare/doc/xharbour/en/hb_apifs.txt
Xshare/doc/xharbour/en/hb_apigt.txt
Xshare/doc/xharbour/en/hb_apiit.txt
Xshare/doc/xharbour/en/hb_apiln.txt
Xshare/doc/xharbour/en/hb_apird.txt
Xshare/doc/xharbour/en/hb_compa.txt
Xshare/doc/xharbour/en/hb_date.txt
Xshare/doc/xharbour/en/hb_macro.txt
Xshare/doc/xharbour/en/hb_serv.txt
Xshare/doc/xharbour/en/hb_set.txt
Xshare/doc/xharbour/en/hb_vm.txt
Xshare/doc/xharbour/en/hvm.txt
Xshare/doc/xharbour/en/idle.txt
Xshare/doc/xharbour/en/indirect.txt
Xshare/doc/xharbour/en/input.txt
Xshare/doc/xharbour/en/lang.txt
Xshare/doc/xharbour/en/license.txt
Xshare/doc/xharbour/en/macro.txt
Xshare/doc/xharbour/en/math.txt
Xshare/doc/xharbour/en/memo.txt
Xshare/doc/xharbour/en/memvar2.txt
Xshare/doc/xharbour/en/menu.txt
Xshare/doc/xharbour/en/misc.txt
Xshare/doc/xharbour/en/nation.txt
Xshare/doc/xharbour/en/objfunc.txt
Xshare/doc/xharbour/en/operator.txt
Xshare/doc/xharbour/en/print.txt
Xshare/doc/xharbour/en/rdd.txt
Xshare/doc/xharbour/en/rdddb.txt
Xshare/doc/xharbour/en/rddmisc.txt
Xshare/doc/xharbour/en/rddord.txt
Xshare/doc/xharbour/en/readme.txt
Xshare/doc/xharbour/en/sayget.txt
Xshare/doc/xharbour/en/set.txt
Xshare/doc/xharbour/en/setmode.txt
Xshare/doc/xharbour/en/statement.txt
Xshare/doc/xharbour/en/string.txt
Xshare/doc/xharbour/en/strotype.txt
Xshare/doc/xharbour/en/subcodes.txt
Xshare/doc/xharbour/en/switch.txt
Xshare/doc/xharbour/en/tbrowse.txt
Xshare/doc/xharbour/en/tclass.txt
Xshare/doc/xharbour/en/terminal.txt
Xshare/doc/xharbour/en/tgetlist.txt
Xshare/doc/xharbour/en/tlabel.txt
Xshare/doc/xharbour/en/treport.txt
Xshare/doc/xharbour/en/try.txt
Xshare/doc/xharbour/en/var.txt
Xshare/doc/xharbour/en/zipnew.txt
Xshare/doc/xharbour/es/array.txt
Xshare/doc/xharbour/es/binnum.txt
Xshare/doc/xharbour/es/browse.txt
Xshare/doc/xharbour/es/clipper.txt
Xshare/doc/xharbour/es/cmdline.txt
Xshare/doc/xharbour/es/codebloc.txt
Xshare/doc/xharbour/es/command.txt
Xshare/doc/xharbour/es/compiler.txt
Xshare/doc/xharbour/es/datetime.txt
Xshare/doc/xharbour/es/dbdelim.txt
Xshare/doc/xharbour/es/dbsdf.txt
Xshare/doc/xharbour/es/dbstrux.txt
Xshare/doc/xharbour/es/dir.txt
Xshare/doc/xharbour/es/dirstruc.txt
Xshare/doc/xharbour/es/diskspac.txt
Xshare/doc/xharbour/es/error.txt
Xshare/doc/xharbour/es/eval.txt
Xshare/doc/xharbour/es/garbage.txt
Xshare/doc/xharbour/es/harbext.txt
Xshare/doc/xharbour/es/hb_set.txt
Xshare/doc/xharbour/es/hbpplib.txt
Xshare/doc/xharbour/es/howtobsd.txt
Xshare/doc/xharbour/es/idle.txt
Xshare/doc/xharbour/es/lang.txt
Xshare/doc/xharbour/es/license.txt
Xshare/doc/xharbour/es/math.txt
Xshare/doc/xharbour/es/memo.txt
Xshare/doc/xharbour/es/pcode.txt
Xshare/doc/xharbour/es/pragma.txt
Xshare/doc/xharbour/es/readme.txt
Xshare/doc/xharbour/es/setmode.txt
Xshare/doc/xharbour/es/simplex.txt
Xshare/doc/xharbour/es/statics.txt
Xshare/doc/xharbour/es/strotype.txt
Xshare/doc/xharbour/es/tracing.txt
Xshare/doc/xharbour/es/vm.txt
Xshare/doc/xharbour/funclist.txt
Xshare/doc/xharbour/gmake.txt
Xshare/doc/xharbour/gtapi.txt
Xshare/doc/xharbour/gtinfo.txt
Xshare/doc/xharbour/hash.txt
Xshare/doc/xharbour/hbi18n.txt
Xshare/doc/xharbour/hblog.txt
Xshare/doc/xharbour/hbmake.txt
Xshare/doc/xharbour/hbpplib.txt
Xshare/doc/xharbour/hbsignal.txt
Xshare/doc/xharbour/hbxml.txt
Xshare/doc/xharbour/hdr_tpl.txt
Xshare/doc/xharbour/howtobsd.txt
Xshare/doc/xharbour/howtocvs.txt
Xshare/doc/xharbour/howtoext.txt
Xshare/doc/xharbour/howtomak.txt
Xshare/doc/xharbour/hrb_faq.txt
Xshare/doc/xharbour/inet.txt
Xshare/doc/xharbour/inline_c.txt
Xshare/doc/xharbour/lang_id.txt
Xshare/doc/xharbour/license.txt
Xshare/doc/xharbour/linuxso_howto.txt
Xshare/doc/xharbour/pcode.txt
Xshare/doc/xharbour/pragma.txt
Xshare/doc/xharbour/readme.txt
Xshare/doc/xharbour/regex.txt
Xshare/doc/xharbour/runner.txt
Xshare/doc/xharbour/simplex.txt
Xshare/doc/xharbour/statics.txt
Xshare/doc/xharbour/thread.txt
Xshare/doc/xharbour/tracing.txt
Xshare/doc/xharbour/transfrm.txt
Xshare/doc/xharbour/vm.txt
Xshare/doc/xharbour/whatsnew.txt
Xshare/doc/xharbour/xhbt_internals.txt
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X at dirrm share/doc/xharbour/es
X at dirrm share/doc/xharbour/en
X at dirrm share/doc/xharbour
X at dirrm lib/xharbour
X at dirrm include/xharbour
END-of-xharbour/pkg-plist
echo x - xharbour/distinfo
sed 's/^X//' >xharbour/distinfo << 'END-of-xharbour/distinfo'
XMD5 (xharbour-0.99.0.src.zip) = 46313a6db1309d786ab6c2f558fd0482
XSIZE (xharbour-0.99.0.src.zip) = 3257257
END-of-xharbour/distinfo
echo c - xharbour/files
mkdir -p xharbour/files > /dev/null 2>&1
echo x - xharbour/files/patch-Makefile
sed 's/^X//' >xharbour/files/patch-Makefile << 'END-of-xharbour/files/patch-Makefile'
X--- Makefile.orig	Tue Sep 28 01:49:59 2004
X+++ Makefile	Tue Sep 28 01:56:03 2004
X@@ -2,6 +2,18 @@
X # $Id: Makefile,v 1.5 2003/12/13 17:55:10 druzus Exp $
X #
X 
X+export HB_ARCHITECTURE=bsd
X+export HB_GPM_MOUSE=no
X+export HB_COMPILER=gcc
X+export HB_GT_LIB=gtsln
X+export HB_MULTI_GT=yes
X+export HB_MT=MT
X+export HB_BIN_INSTALL=$(PREFIX)/bin/
X+export HB_INC_INSTALL=$(PREFIX)/include/xharbour/
X+export HB_LIB_INSTALL=$(PREFIX)/lib/xharbour/
X+
X+export C_USR=-I$(PREFIX)/include
X+
X ROOT = ./
X 
X DIRS=\
END-of-xharbour/files/patch-Makefile
echo x - xharbour/files/patch-hb-func-0.99.0
sed 's/^X//' >xharbour/files/patch-hb-func-0.99.0 << 'END-of-xharbour/files/patch-hb-func-0.99.0'
X--- bin/hb-func.sh.orig	Thu Jun 24 08:09:04 2004
X+++ bin/hb-func.sh	Tue Sep 28 15:57:54 2004
X@@ -96,7 +96,7 @@ mk_hbtools()
X 
X     cat > ${hb_tool} <<EOF
X #!/bin/sh
X-[ "\$BASH" ] || exec bash `which \$0` \${1+"\$@"}
X+[ "\$BASH" ] || exec bash \`which \$0\` \${1+"\$@"}
X #
X # ---------------------------------------------------------------
X # Copyright 2003 Przemyslaw Czerpak <druzus at polbox.com>
END-of-xharbour/files/patch-hb-func-0.99.0
exit
--- xhb-port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list