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

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

>Number:         19290
>Category:       ports
>Synopsis:       New port math/glove uses 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:50:01 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:

Data acquisition, manipulation, and analysis program for X
Depends upon ports/19283 and ports/19285

>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:
#
#	glove
#	glove/patches
#	glove/patches/patch-aa
#	glove/patches/patch-ad
#	glove/patches/patch-ac
#	glove/patches/patch-ab
#	glove/pkg
#	glove/pkg/COMMENT
#	glove/pkg/DESCR
#	glove/pkg/PLIST
#	glove/files
#	glove/files/md5
#	glove/Makefile
#
echo c - glove
mkdir -p glove > /dev/null 2>&1
echo c - glove/patches
mkdir -p glove/patches > /dev/null 2>&1
echo x - glove/patches/patch-aa
sed 's/^X//' >glove/patches/patch-aa << 'END-of-glove/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-glove/patches/patch-aa
echo x - glove/patches/patch-ad
sed 's/^X//' >glove/patches/patch-ad << 'END-of-glove/patches/patch-ad'
X--- programs/glove/Make.header.orig	Fri Sep 24 15:41:45 1999
X+++ programs/glove/Make.header	Wed Jun 14 22:55:54 2000
X@@ -17,14 +17,15 @@
X 
X # Directories to search for header files
X 
X-SEARCHDIRS := -I- \
X+SEARCHDIRS = -I- \
X               -I${CODEDIR} \
X 	 	      -I${PLOTDIR} \
X               -I${JCOREDIR} \
X               -I${JXDIR} \
X               -I${JPARSEDIR} \
X               -I${J2DPLOTDIR} \
X-              -I${ACE_ROOT}
X+              -I${ACE_ROOT} \
X+		${J_X11_INCLUDE_DIR}
X 
X # other constants
X 
X@@ -41,13 +42,6 @@
X 
X # library dependencies
X 
X-ifdef J_BUILD_SHARED_LIB
X-  LIB_DEPS := ${JLIBDIR}/libjparser-${JPARSER_LIB_VERSION}.so \
X-              ${JLIBDIR}/libj2dplot-${J2DPLOT_LIB_VERSION}.so
X-else
X-  LIB_DEPS := ${JLIBDIR}/libjparser-${JPARSER_LIB_VERSION}.a \
X-              ${JLIBDIR}/libj2dplot-${J2DPLOT_LIB_VERSION}.a
X-endif
X 
X # make variables
X 
X@@ -64,7 +58,7 @@
X #####
X 
X .PHONY : default
X-default: libs glove
X+default: glove
X 
X .PHONY : Makefiles
X Makefiles:
END-of-glove/patches/patch-ad
echo x - glove/patches/patch-ac
sed 's/^X//' >glove/patches/patch-ac << 'END-of-glove/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-glove/patches/patch-ac
echo x - glove/patches/patch-ab
sed 's/^X//' >glove/patches/patch-ab << 'END-of-glove/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-glove/patches/patch-ab
echo c - glove/pkg
mkdir -p glove/pkg > /dev/null 2>&1
echo x - glove/pkg/COMMENT
sed 's/^X//' >glove/pkg/COMMENT << 'END-of-glove/pkg/COMMENT'
XData acquisition, manipulation, and analysis program for X
END-of-glove/pkg/COMMENT
echo x - glove/pkg/DESCR
sed 's/^X//' >glove/pkg/DESCR << 'END-of-glove/pkg/DESCR'
XGlove
X
XGlove was developed for use in Caltech physics labs to provide an
Xinterface to data acquisition systems, sophisticated (and correct)
Xstatistical analysis, a flexible plotting tool, and the ability to
Xeasily and intuitively manipulate the data.
X
XWWW: http://www.newplanetsoftware.com/glove/
END-of-glove/pkg/DESCR
echo x - glove/pkg/PLIST
sed 's/^X//' >glove/pkg/PLIST << 'END-of-glove/pkg/PLIST'
Xbin/glove
X%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE
X%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary
X%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%%
END-of-glove/pkg/PLIST
echo c - glove/files
mkdir -p glove/files > /dev/null 2>&1
echo x - glove/files/md5
sed 's/^X//' >glove/files/md5 << 'END-of-glove/files/md5'
XMD5 (Glove_source-1.0.1.tar.gz) = a1fda27724402d7a1556c491fdcd052f
END-of-glove/files/md5
echo x - glove/Makefile
sed 's/^X//' >glove/Makefile << 'END-of-glove/Makefile'
X# New ports collection makefile for:	Glove
X# Date created:		14 June 2000
X# Whom:			 Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glove
XPORTVERSION=	1.0.1
XCATEGORIES=	math
XMASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/glove/source/
XDISTNAME=	Glove_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		j2dplot-0_6_5.0:${PORTSDIR}/x11-toolkits/libj2dplot \
X		jparser-1_1_8.1:${PORTSDIR}/x11-toolkits/libjparser
X
XWRKSRC=		${WRKDIR}/JX-1.5.3
X
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XMAKE_ARGS=	CC="${CC}" CXX="${CXX}" \
X		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
XMAKE_ENV=	JX_INSTALL_ROOT="${X11BASE}/bin" \
X		JX_LIB_ROOT="${X11BASE}/lib"
XPLIST_SUB=	PORTNAME="${PORTNAME}"
X
X# Make environment
XPORTINCLUDES=	-I${X11BASE}/include/jx \
X		-I${X11BASE}/include/jcore \
X		-I${X11BASE}/include/j2dplot \
X		-I${X11BASE}/include/jparser
X
X# Installs dir with proper permissions
XINSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
X# program files
XPROGRAMFILES=		glove/glove
X# documents
XDOCFILES=       LICENSE README.binary
XDOCDIR_PREFIX=  ${PREFIX}/share/doc/${PORTNAME}
X# additional configuration and header files
XEXTRALIB_PREFIX=	${X11BASE}/lib/jx
XEXTRALIBFILES_MAKE_WRKSRC=	include/make
X# main jx distribution files needed for building
XCOPY_JXDIRS=	include
XCOPY_JXFILES=	Makefile
X# main jx distribution port wrksrc
XJXPORT=		${PORTSDIR}/x11-toolkits/jx
XJXPORT_WRKSRC=	${JXPORT}/work/JX-1.5.3
XJX_MAKE_CONSTANTS=	j2dplot_constants jparser_constants
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} >= 300000
XALL_TARGET=	freebsd3.x
X.else
XALL_TARGET=	freebsd2.x
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
Xpre-build:
X.for i in ${JX_MAKE_CONSTANTS}
X	@${LN} -sf ${EXTRALIB_PREFIX}/make/${i} ${WRKSRC}/include/make
X.endfor
X
Xpost-build:
X	@cd ${WRKSRC}/programs/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \
X		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
X			${MAKEFILE} ${MAKE_ARGS}
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X# Install all documentation
X	@${INSTALL_DATA_DIR} ${DOCDIR_PREFIX}
X.for i in ${DOCFILES}
X	@${INSTALL_DATA} ${WRKSRC}/programs/${PORTNAME}/${i} ${DOCDIR_PREFIX}
X.endfor
X.endif # !defined(NOPORTDOCS)
X# Install all programs
X.for i in ${PROGRAMFILES}
X	@${INSTALL_PROGRAM} ${WRKSRC}/programs/${i} ${PREFIX}/bin
X.endfor
X
X.include <bsd.port.post.mk>
END-of-glove/Makefile
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?20000615044626.22160.qmail>