Skip site navigation (1)Skip section navigation (2)
Date:      15 Jun 2000 04:26:26 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19283: New port x11-toolkits/libjparser for x11-toolkits/jx
Message-ID:  <20000615042626.20623.qmail@Fedaykin.here>

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

>Number:         19283
>Category:       ports
>Synopsis:       New port x11-toolkits/libjparser for x11-toolkits/jx
>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:   Wed Jun 14 21:30:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #2: Fri Jun  9 13:22:10 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

JParser is an additional library for the JX widget library

>How-To-Repeat:

n/a

>Fix:

# 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:
#
#	libjparser
#	libjparser/files
#	libjparser/files/md5
#	libjparser/pkg
#	libjparser/pkg/COMMENT
#	libjparser/pkg/DESCR
#	libjparser/pkg/PLIST
#	libjparser/patches
#	libjparser/patches/patch-aa
#	libjparser/patches/patch-ab
#	libjparser/patches/patch-ac
#	libjparser/Makefile
#	libjparser/
#
echo c - libjparser
mkdir -p libjparser > /dev/null 2>&1
echo c - libjparser/files
mkdir -p libjparser/files > /dev/null 2>&1
echo x - libjparser/files/md5
sed 's/^X//' >libjparser/files/md5 << 'END-of-libjparser/files/md5'
XMD5 (JParser_source-1.1.8.tar.gz) = 04077a9b037781210ec0085d5e1a6b1b
END-of-libjparser/files/md5
echo c - libjparser/pkg
mkdir -p libjparser/pkg > /dev/null 2>&1
echo x - libjparser/pkg/COMMENT
sed 's/^X//' >libjparser/pkg/COMMENT << 'END-of-libjparser/pkg/COMMENT'
XJParser is an additional library for the JX widget library
END-of-libjparser/pkg/COMMENT
echo x - libjparser/pkg/DESCR
sed 's/^X//' >libjparser/pkg/DESCR << 'END-of-libjparser/pkg/DESCR'
XJX is a full-featured application framework and widget library for
Xuse with the X Window System. It provides support for all facets
Xof application development, including distributed applications,
Xand aims to combine the best of MacOS and NeXTSTEP. It is built
Xdirectly on top of Xlib and has been carefully optimized for
Xperformance.
X
XWWW: http://www.newplanetsoftware.com/jx/
END-of-libjparser/pkg/DESCR
echo x - libjparser/pkg/PLIST
sed 's/^X//' >libjparser/pkg/PLIST << 'END-of-libjparser/pkg/PLIST'
Xinclude/jparser/JAbsValue.h
Xinclude/jparser/JAlgSign.h
Xinclude/jparser/JArcCosine.h
Xinclude/jparser/JArcHypCosine.h
Xinclude/jparser/JArcHypSine.h
Xinclude/jparser/JArcHypTangent.h
Xinclude/jparser/JArcSine.h
Xinclude/jparser/JArcTangent.h
Xinclude/jparser/JArcTangent2.h
Xinclude/jparser/JBinaryDecision.h
Xinclude/jparser/JBinaryDecision.tmpl
Xinclude/jparser/JBinaryDecision.tmpls
Xinclude/jparser/JBinaryFunction.h
Xinclude/jparser/JBinaryOperator.h
Xinclude/jparser/JBooleanAND.h
Xinclude/jparser/JBooleanConstant.h
Xinclude/jparser/JBooleanDecision.h
Xinclude/jparser/JBooleanNOT.h
Xinclude/jparser/JBooleanOR.h
Xinclude/jparser/JBooleanXOR.h
Xinclude/jparser/JConjugate.h
Xinclude/jparser/JConstantValue.h
Xinclude/jparser/JCosine.h
Xinclude/jparser/JDecision.h
Xinclude/jparser/JDecisionType.h
Xinclude/jparser/JDecisionWithVar.h
Xinclude/jparser/JDiscVarValue.h
Xinclude/jparser/JDiscVarValueIndex.h
Xinclude/jparser/JDiscreteEquality.h
Xinclude/jparser/JDiscreteVarEquality.h
Xinclude/jparser/JDivision.h
Xinclude/jparser/JExponent.h
Xinclude/jparser/JExprEditor.h
Xinclude/jparser/JExprNodeList.h
Xinclude/jparser/JExprRectList.h
Xinclude/jparser/JExprRenderer.h
Xinclude/jparser/JFunction.h
Xinclude/jparser/JFunctionComparison.h
Xinclude/jparser/JFunctionEquality.h
Xinclude/jparser/JFunctionType.h
Xinclude/jparser/JFunctionWithArgs.h
Xinclude/jparser/JFunctionWithVar.h
Xinclude/jparser/JGreaterEqualThan.h
Xinclude/jparser/JGreaterThan.h
Xinclude/jparser/JHypCosine.h
Xinclude/jparser/JHypSine.h
Xinclude/jparser/JHypTangent.h
Xinclude/jparser/JImagPart.h
Xinclude/jparser/JLessEqualThan.h
Xinclude/jparser/JLessThan.h
Xinclude/jparser/JLogB.h
Xinclude/jparser/JLogE.h
Xinclude/jparser/JMaxFunc.h
Xinclude/jparser/JMinFunc.h
Xinclude/jparser/JNamedConstant.h
Xinclude/jparser/JNaryFunction.h
Xinclude/jparser/JNaryOperator.h
Xinclude/jparser/JNegation.h
Xinclude/jparser/JParallel.h
Xinclude/jparser/JParseResult.h
Xinclude/jparser/JParserLibVersion.h
Xinclude/jparser/JPhaseAngle.h
Xinclude/jparser/JPiecewiseFunction.h
Xinclude/jparser/JProduct.h
Xinclude/jparser/JRealPart.h
Xinclude/jparser/JRotateComplex.h
Xinclude/jparser/JRoundToInt.h
Xinclude/jparser/JSine.h
Xinclude/jparser/JSquareRoot.h
Xinclude/jparser/JSummation.h
Xinclude/jparser/JTangent.h
Xinclude/jparser/JTruncateToInt.h
Xinclude/jparser/JUnaryFunction.h
Xinclude/jparser/JUserInputFunction.h
Xinclude/jparser/JValueUnknown.h
Xinclude/jparser/JVariableList.h
Xinclude/jparser/JVariableValue.h
Xinclude/jparser/JXExprEditor.h
Xinclude/jparser/JXExprEditorSet.h
Xinclude/jparser/JXExprEvalDirector.h
Xinclude/jparser/JXExprInput.h
Xinclude/jparser/jExprUIUtil.h
Xinclude/jparser/jFindLPOperator.h
Xinclude/jparser/jParseDecision.h
Xinclude/jparser/jParseDecision.ph
Xinclude/jparser/jParseFunction.h
Xinclude/jparser/jParseFunction.ph
Xinclude/jparser/jParseUtil.h
Xinclude/jparser/jParserData.h
Xlib/jx/lib/%%PORTNAME%%-%%LIBVERSION%%.a
Xlib/jx/lib/%%PORTNAME%%-%%LIBVERSION%%.so
Xlib/jx/make/%%EXTRALIBFILES_MAKE_FILES%%
Xlib/%%PORTNAME%%-%%LIBVERSION%%.a
Xlib/%%PORTNAME%%-%%LIBVERSION%%.so
Xlib/%%PORTNAME%%-%%LIBVERSION%%.so.%%LIBNUMBER%%
X%%PORTDOCS:%%share/doc/jx/LICENSE_%%PORTNAME%%
X%%PORTDOCS:%%share/doc/jx/README_%%PORTNAME%%
X%%PORTDOCS:%%@unexec rmdir %D/share/doc/jx 2>/dev/null || true
X@dirrm include/%%INCLUDEDIR%%
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
END-of-libjparser/pkg/PLIST
echo c - libjparser/patches
mkdir -p libjparser/patches > /dev/null 2>&1
echo x - libjparser/patches/patch-aa
sed 's/^X//' >libjparser/patches/patch-aa << 'END-of-libjparser/patches/patch-aa'
X--- Makefile.orig	Sat Sep 11 17:44:38 1999
X+++ Makefile	Wed Jun 14 01:07:15 2000
X@@ -262,25 +262,11 @@
X freebsd2.x: prep
X 	@ln -s sys/FreeBSD-2.x_g++ \
X            include/make/jx_config
X-	@ln -s ../../include/missing_proto/jMissingProto_empty.h \
X-           include/jcore/jMissingProto.h
X-	@ln -s config-freebsd.h \
X-           ACE/ACE_wrappers/ace/config.h
X-	@ln -s platform_freebsd.GNU \
X-           ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU
X-	@${INSTALL_CMD}
X 
X .PHONY : freebsd3.x
X freebsd3.x: prep
X 	@ln -s sys/FreeBSD-3.x_g++ \
X            include/make/jx_config
X-	@ln -s ../../include/missing_proto/jMissingProto_empty.h \
X-           include/jcore/jMissingProto.h
X-	@ln -s config-freebsd-pthread.h \
X-           ACE/ACE_wrappers/ace/config.h
X-	@ln -s platform_freebsd_pthread.GNU \
X-           ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU
X-	@${INSTALL_CMD}
X 
X #
X # SunOS 4.x
END-of-libjparser/patches/patch-aa
echo x - libjparser/patches/patch-ab
sed 's/^X//' >libjparser/patches/patch-ab << 'END-of-libjparser/patches/patch-ab'
X--- include/make/sys/FreeBSD-2.x_g++.orig	Wed Jun 14 01:44:51 2000
X+++ include/make/sys/FreeBSD-2.x_g++	Wed Jun 14 01:45:00 2000
X@@ -35,7 +35,7 @@
X # Comment this out if ACE or other code gives you warnings that
X # you can't avoid.
X 
X-J_DIE_ON_WARNING := -Werror
X+#J_DIE_ON_WARNING := -Werror
X 
X # Uncomment this if istrstream is broken.  One way to check is to run
X # testjcore/testJFileArray.
END-of-libjparser/patches/patch-ab
echo x - libjparser/patches/patch-ac
sed 's/^X//' >libjparser/patches/patch-ac << 'END-of-libjparser/patches/patch-ac'
X--- include/make/sys/FreeBSD-3.x_g++.orig	Wed Jun 14 01:44:51 2000
X+++ include/make/sys/FreeBSD-3.x_g++	Wed Jun 14 01:45:00 2000
X@@ -35,7 +35,7 @@
X # Comment this out if ACE or other code gives you warnings that
X # you can't avoid.
X 
X-J_DIE_ON_WARNING := -Werror
X+#J_DIE_ON_WARNING := -Werror
X 
X # Uncomment this if istrstream is broken.  One way to check is to run
X # testjcore/testJFileArray.
END-of-libjparser/patches/patch-ac
echo x - libjparser/Makefile
sed 's/^X//' >libjparser/Makefile << 'END-of-libjparser/Makefile'
X# New ports collection makefile for:	libjparser
X# Date created:				14 June 2000
X# Whom:					Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libjparser
XPORTVERSION=	1.1.8
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/glove/source/ \
X		ftp://ftp.newplanetsoftware.com/pub/thx/source/
XDISTNAME=	JParser_source-${PORTVERSION}
X
XMAINTAINER=	lioux@linf.unb.br
X
XBUILD_DEPENDS=	nonexistent:${JXPORT}:configure \
X		makemake:${JXPORT}
XLIB_DEPENDS=	jx-1_5_3.1:${JXPORT}
X
XWRKSRC=		${WRKDIR}/JX-1.5.3
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XMAKE_ARGS=	CC="${CC}" CXX="${CXX}" \
X		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
XMAKE_ENV=	JX_INSTALL_ROOT="${PREFIX}/bin" \
X		JX_LIB_ROOT="${PREFIX}/lib"
XPLIST_SUB=	PORTNAME="${PORTNAME}" \
X		LIBNUMBER="${LIBNUMBER}" \
X		LIBVERSION="${LIBVERSION}" \
X		EXTRALIBFILES_MAKE_FILES="${EXTRALIBFILES_MAKE_FILES}" \
X		INCLUDEDIR="${INCLUDEDIR}"
X
X# Make environment
XPORTINCLUDES=	-I${X11BASE}/include/jcore -I${X11BASE}/include/jx \
X		-I${X11BASE}/share/jx
X
X# Installs dir with proper permissions
XINSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
X# New version number
XLIBVERSION=	1_1_8
X# the libraries
XLIBFILES=	${PORTNAME}-${LIBVERSION}.a ${PORTNAME}-${LIBVERSION}.so
X# header files
XINCLUDEDIR=	jparser
X# documentation
XDOCDIR_PREFIX=	${PREFIX}/share/doc/jx
XDOCDIRS=	${PORTNAME}
XDOCDIRFILES=	LICENSE README
X# additional configuration and header files
XEXTRALIB_PREFIX=		${PREFIX}/lib/jx
XEXTRALIBDIRS=			lib make
XEXTRALIBFILES_MAKE_WRKSRC=	include/make
XEXTRALIBFILES_MAKE_FILES=	jparser_constants
X# main jx distribution port wrksrc
XJXPORT=		${PORTSDIR}/x11-toolkits/jx
XJXPORT_WRKSRC=	${JXPORT}/work/JX-1.5.3
X# main jx distribution files needed for building
XCOPY_JXDIRS=		include
XCOPY_JXFILES=		Makefile
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} >= 300000
XALL_TARGET=	freebsd3.x
XLIBNUMBER=	1
X.else
XALL_TARGET=	freebsd2.x
XLIBNUMBER=	1.1
X.endif
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=	PORTDOCS:="@comment "
X.else
XPLIST_SUB+=	PORTDOCS:=
X.endif # !defined(NOPORTDOCS)
X
Xpost-extract:
X.for i in ${COPY_JXDIRS}
X	@${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC}
X.endfor
X.for i in ${COPY_JXFILES}
X	@${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC}
X.endfor
X
Xpost-patch:
X	@${ECHO} "SEARCHDIRS += ${PORTINCLUDES}" >> \
X		${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/jx_constants
X
Xpost-build:
X	@cd ${WRKSRC}/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \
X		${SETENV} ${MAKE_ENV} ${GMAKE} \
X			${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X# Install all documentation
X.for i in ${DOCDIRS}
X	@for j in ${DOCDIRFILES} ; \
X	do \
X		if [ -f ${WRKSRC}/programs/${i}/$${j} ]; \
X		then \
X			${INSTALL_DATA} ${WRKSRC}/programs/${i}/$${j} \
X				${DOCDIR_PREFIX}/$${j}_${i} ; \
X		elif [ -f ${WRKSRC}/${i}/$${j} ]; \
X		then \
X			${INSTALL_DATA} ${WRKSRC}/${i}/$${j} \
X				${DOCDIR_PREFIX}/$${j}_${i} ; \
X		fi ; \
X	done
X.endfor
X.endif # !defined(NOPORTDOCS)
X# Install all header files
X.for i in ${INCLUDEDIR}
X	@${INSTALL_DATA_DIR} ${PREFIX}/include/${i} ; \
X	for j in ${WRKSRC}/include/${i}/*.*h \
X		${WRKSRC}/include/${i}/*.tmpl \
X		${WRKSRC}/include/${i}/*.tmpls ; \
X	do \
X		if [ -f $${j} ]; \
X		then \
X			${INSTALL_DATA} $${j} ${PREFIX}/include/${i}/ ; \
X		fi ; \
X	done
X.endfor
X# Install all libraries
X.for i in ${LIBFILES}
X	@${INSTALL_PROGRAM} ${WRKSRC}/lib/${i} ${PREFIX}/lib
X.endfor
X# Install additional library files
X.for i in ${EXTRALIBDIRS}
X	@${INSTALL_DATA_DIR} ${EXTRALIB_PREFIX}/${i}
X.endfor
X.for i in ${EXTRALIBFILES_MAKE_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/${i} \
X		${EXTRALIB_PREFIX}/make/${i}
X.endfor
X
Xpost-install:
X	@${LN} -sf ${PORTNAME}-${LIBVERSION}.so \
X		${PREFIX}/lib/${PORTNAME}-${LIBVERSION}.so.${LIBNUMBER}
X.for i in ${LIBFILES}
X	@${LN} -sf ../../${i} ${EXTRALIB_PREFIX}/lib/${i}
X.endfor
X
X.include <bsd.port.post.mk>
END-of-libjparser/Makefile
echo c - libjparser/
mkdir -p libjparser/ > /dev/null 2>&1
exit



>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?20000615042626.20623.qmail>