Skip site navigation (1)Skip section navigation (2)
Date:      5 Jun 2000 19:04:14 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19039: New port x11-toolkits/libjtree
Message-ID:  <20000605190414.22066.qmail@Fedaykin.here>

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

>Number:         19039
>Category:       ports
>Synopsis:       New port x11-toolkits/libjtree
>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:   Mon Jun 05 12:20:00 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 #17: Wed May 24 19:49:37 EST 2000     root@:/usr/src/sys/compile/LIOUX  i386

>Description:

An additional library to x11-toolkits/JX needed to build, e.g.,
codecrusader.
This depends upon ports/19030.

>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:
#
#	libjtree
#	libjtree/patches
#	libjtree/patches/patch-aa
#	libjtree/pkg
#	libjtree/pkg/COMMENT
#	libjtree/pkg/DESCR
#	libjtree/pkg/PLIST
#	libjtree/files
#	libjtree/files/md5
#	libjtree/Makefile
#
echo c - libjtree
mkdir -p libjtree > /dev/null 2>&1
echo c - libjtree/patches
mkdir -p libjtree/patches > /dev/null 2>&1
echo x - libjtree/patches/patch-aa
sed 's/^X//' >libjtree/patches/patch-aa << 'END-of-libjtree/patches/patch-aa'
X--- Makefile.orig	Tue May 30 13:04:38 2000
X+++ Makefile	Tue May 30 13:09:41 2000
X@@ -264,11 +264,6 @@
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@@ -276,11 +271,6 @@
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-libjtree/patches/patch-aa
echo c - libjtree/pkg
mkdir -p libjtree/pkg > /dev/null 2>&1
echo x - libjtree/pkg/COMMENT
sed 's/^X//' >libjtree/pkg/COMMENT << 'END-of-libjtree/pkg/COMMENT'
XJTree is an additional library for the JX widget library
END-of-libjtree/pkg/COMMENT
echo x - libjtree/pkg/DESCR
sed 's/^X//' >libjtree/pkg/DESCR << 'END-of-libjtree/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-libjtree/pkg/DESCR
echo x - libjtree/pkg/PLIST
sed 's/^X//' >libjtree/pkg/PLIST << 'END-of-libjtree/pkg/PLIST'
Xinclude/jtree/JNamedTreeList.h
Xinclude/jtree/JNamedTreeNode.h
Xinclude/jtree/JTree.h
Xinclude/jtree/JTreeLibVersion.h
Xinclude/jtree/JTreeList.h
Xinclude/jtree/JTreeNode.h
Xinclude/jtree/JXNamedTreeListWidget.h
Xinclude/jtree/JXTLWAdjustToTreeTask.h
Xinclude/jtree/JXTreeListWidget.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:%%@dirrm share/doc/JX
X@dirrm include/%%INCLUDEDIR%%
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
END-of-libjtree/pkg/PLIST
echo c - libjtree/files
mkdir -p libjtree/files > /dev/null 2>&1
echo x - libjtree/files/md5
sed 's/^X//' >libjtree/files/md5 << 'END-of-libjtree/files/md5'
XMD5 (JTree_source-1.1.7.tar.gz) = 79749772c85d3234409d8a4bcac2ffd5
END-of-libjtree/files/md5
echo x - libjtree/Makefile
sed 's/^X//' >libjtree/Makefile << 'END-of-libjtree/Makefile'
X# New ports collection makefile for:	libjtree
X# Date created:		30 May 2000
X# Whom:			Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libjtree
XPORTVERSION=	1.1.7
XCATEGORIES=	x11-toolkits
XMASTER_SITES=   ftp://ftp.newplanetsoftware.com/pub/jx/source-1.5.3/ \
X		ftp://ftp.newplanetsoftware.com/pub/jcc/source/ \
X		ftp://ftp.newplanetsoftware.com/pub/medic/source/ \
X		ftp://ftp.cs.itu.edu.tr/pub/linux/x11/jx/
XDISTNAME=	JTree_source-${PORTVERSION}
X
XMAINTAINER=	lioux@linf.unb.br
X
XBUILD_DEPENDS=	nonexistent:${JXPORT}:patch \
X		makemake:${JXPORT}
XLIB_DEPENDS=	jx-1_5_3.1:${JXPORT}
X
XWRKSRC=		${WRKDIR}/JX-1.5.3
X
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XMAKE_ENV=	JX_INSTALL_ROOT="${PREFIX}/bin" \
X		JX_LIB_ROOT="${PREFIX}/lib" \
X		X11PREFIX="${X11PREFIX}" \
X		PORTCFLAGS="${CFLAGS}" \
X		PORTCXXFLAGS="${CXXFLAGS}" \
X		PORTINCLUDES="${PORTINCLUDES}"
XPLIST_SUB=	PORTNAME="${PORTNAME}" \
X		LIBNUMBER="${LIBNUMBER}" \
X		LIBVERSION="${LIBVERSION}" \
X		EXTRALIBFILES_MAKE_FILES="${EXTRALIBFILES_MAKE_FILES}" \
X		INCLUDEDIR="${INCLUDEDIR}"
X
X# Proper X11R6 Prefix
X# Change it, if you need it
XX11PREFIX?=	${X11BASE}
X
X# Make environment
XPORTINCLUDES=	-I${LOCALBASE}/include/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_7
X# the libraries
XLIBFILES=	${PORTNAME}-${LIBVERSION}.a ${PORTNAME}-${LIBVERSION}.so
X# header files
XINCLUDEDIR=	jtree
X# documentation
XDOCDIR_PREFIX=	${PREFIX}/share/doc/JX
XDOCDIRS=	${PORTNAME}
XDOCDIRFILES=	LICENSE
X# additional configuration and header files
XEXTRALIB_PREFIX=		${PREFIX}/lib/jx
XEXTRALIBDIRS=			lib make
XEXTRALIBFILES_MAKE_WRKSRC=	include/make
XEXTRALIBFILES_MAKE_FILES=	jtree_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 lib libjcore
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-build:
X	@cd ${WRKSRC}/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \
X		${SETENV} ${MAKE_ENV} ${GMAKE}
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	do \
X		${INSTALL_DATA} $${j} ${PREFIX}/include/${i} ; \
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-libjtree/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?20000605190414.22066.qmail>