Skip site navigation (1)Skip section navigation (2)
Date:      15 Jun 2000 04:42:41 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19288: New port x11-fm/systemg uses x11-toolkits/jx
Message-ID:  <20000615044241.21807.qmail@Fedaykin.here>

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

>Number:         19288
>Category:       ports
>Synopsis:       New port x11-fm/systemg 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: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 #2: Fri Jun  9 13:22:10 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

UNIX File Manager based on the design of the Macintosh System 7

>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:
#
#	systemg
#	systemg/patches
#	systemg/patches/patch-aa
#	systemg/patches/patch-ad
#	systemg/patches/patch-ac
#	systemg/patches/patch-ab
#	systemg/pkg
#	systemg/pkg/COMMENT
#	systemg/pkg/DESCR
#	systemg/pkg/PLIST
#	systemg/files
#	systemg/files/md5
#	systemg/Makefile
#
echo c - systemg
mkdir -p systemg > /dev/null 2>&1
echo c - systemg/patches
mkdir -p systemg/patches > /dev/null 2>&1
echo x - systemg/patches/patch-aa
sed 's/^X//' >systemg/patches/patch-aa << 'END-of-systemg/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-systemg/patches/patch-aa
echo x - systemg/patches/patch-ad
sed 's/^X//' >systemg/patches/patch-ad << 'END-of-systemg/patches/patch-ad'
X--- programs/systemg/Make.header.orig	Mon Oct  4 19:52:16 1999
X+++ programs/systemg/Make.header	Wed Jun 14 23:56:30 2000
X@@ -19,7 +19,7 @@
X 
X # Directories to search for header files
X 
X-SEARCHDIRS := -I- \
X+SEARCHDIRS = -I- \
X               -I${CODEDIR} \
X 	     	  -I${BINDINGSDIR} \
X 			  -I${TREEDIR} \
X@@ -27,7 +27,8 @@
X               -I${JCOREDIR} \
X               -I${JXDIR} \
X               -I${MENUIMGDIR} \
X-              -I${ACE_ROOT}
X+              -I${ACE_ROOT} \
X+		${J_X11_INCLUDE_DIR}
X 
X # other constants
X 
X@@ -44,13 +45,6 @@
X 
X # library dependencies
X 
X-ifdef J_BUILD_SHARED_LIB
X-  LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.so \
X-              ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.so 
X-else
X-  LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.a \
X-              ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.a 
X-endif
X 
X # make variables
X 
X@@ -66,7 +60,7 @@
X #####
X 
X .PHONY : default
X-default: libs systemg
X+default: systemg
X 
X .PHONY : Makefiles
X Makefiles:
END-of-systemg/patches/patch-ad
echo x - systemg/patches/patch-ac
sed 's/^X//' >systemg/patches/patch-ac << 'END-of-systemg/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-systemg/patches/patch-ac
echo x - systemg/patches/patch-ab
sed 's/^X//' >systemg/patches/patch-ab << 'END-of-systemg/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-systemg/patches/patch-ab
echo c - systemg/pkg
mkdir -p systemg/pkg > /dev/null 2>&1
echo x - systemg/pkg/COMMENT
sed 's/^X//' >systemg/pkg/COMMENT << 'END-of-systemg/pkg/COMMENT'
XUNIX File Manager based on the design of the Macintosh System 7
END-of-systemg/pkg/COMMENT
echo x - systemg/pkg/DESCR
sed 's/^X//' >systemg/pkg/DESCR << 'END-of-systemg/pkg/DESCR'
XSystem G
X
XDealing with the UNIX command line, especially the file system, is
Xone of the biggest hurdles to widespread use of UNIX and Linux.
XSystem G was written to provide simple, intuitive access to the
Xfile system in the form of a graphical hierarchy of files and
Xfolders, based on the design of the Macintosh System 7.
X
XWWW: http://www.newplanetsoftware.com/systemg/
END-of-systemg/pkg/DESCR
echo x - systemg/pkg/PLIST
sed 's/^X//' >systemg/pkg/PLIST << 'END-of-systemg/pkg/PLIST'
Xbin/systemg
END-of-systemg/pkg/PLIST
echo c - systemg/files
mkdir -p systemg/files > /dev/null 2>&1
echo x - systemg/files/md5
sed 's/^X//' >systemg/files/md5 << 'END-of-systemg/files/md5'
XMD5 (SystemG_source-1.0.1.tar.gz) = ce380a3cde6b18024e5f46c4db0b2906
END-of-systemg/files/md5
echo x - systemg/Makefile
sed 's/^X//' >systemg/Makefile << 'END-of-systemg/Makefile'
X# New ports collection makefile for:	SystemG
X# Date created:		14 June 2000
X# Whom:			 Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	systemg
XPORTVERSION=	1.0.1
XCATEGORIES=	x11-fm
XMASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/systemg/source/
XDISTNAME=	SystemG_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		jtoolbar-0_5_4.0:${PORTSDIR}/x11-toolkits/libjtoolbar \
X		jtree-1_1_7.1:${PORTSDIR}/x11-toolkits/libjtree
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/jtoolbar \
X		-I${X11BASE}/include/jtree \
X		-I${X11BASE}/share/jx
X
X# Installs dir with proper permissions
XINSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
X# program files
XPROGRAMFILES=		systemg/systemg
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=	jtoolbar_constants jtree_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# 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-systemg/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?20000615044241.21807.qmail>