From owner-freebsd-ports Wed Jun 14 21:50:41 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3BC4937BFB2 for ; Wed, 14 Jun 2000 21:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA03141; Wed, 14 Jun 2000 21:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from 200-191-159-213-as.acessonet.com.br (200-191-159-213-as.acessonet.com.br [200.191.159.213]) by hub.freebsd.org (Postfix) with ESMTP id C893937BBC4 for ; Wed, 14 Jun 2000 21:42:44 -0700 (PDT) (envelope-from lioux@uol.com.br) Received: (qmail 21630 invoked by uid 1001); 15 Jun 2000 04:41:21 -0000 Message-Id: <20000615044121.21629.qmail@Fedaykin.here> Date: 15 Jun 2000 04:41:21 -0000 From: lioux@uol.com.br Reply-To: lioux@uol.com.br To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19289: New port misc/notebook uses x11-toolkits/jx Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19289 >Category: ports >Synopsis: New port misc/notebook 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: Organizer for storing information and to-do lists >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: # # notebook # notebook/patches # notebook/patches/patch-aa # notebook/patches/patch-ad # notebook/patches/patch-ac # notebook/patches/patch-ab # notebook/pkg # notebook/pkg/COMMENT # notebook/pkg/DESCR # notebook/pkg/PLIST # notebook/files # notebook/files/md5 # notebook/Makefile # echo c - notebook mkdir -p notebook > /dev/null 2>&1 echo c - notebook/patches mkdir -p notebook/patches > /dev/null 2>&1 echo x - notebook/patches/patch-aa sed 's/^X//' >notebook/patches/patch-aa << 'END-of-notebook/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-notebook/patches/patch-aa echo x - notebook/patches/patch-ad sed 's/^X//' >notebook/patches/patch-ad << 'END-of-notebook/patches/patch-ad' X--- programs/notebook/Make.header.orig Mon Oct 4 20:49:51 1999 X+++ programs/notebook/Make.header Wed Jun 14 23:46:30 2000 X@@ -14,13 +14,14 @@ X X # Directories to search for header files X X-SEARCHDIRS := -I- \ X+SEARCHDIRS = -I- \ X -I${CODEDIR} \ X -I${TREEDIR} \ X -I${TOOLBARDIR} \ X -I${JCOREDIR} \ X -I${JXDIR} \ X- -I${ACE_ROOT} X+ -I${ACE_ROOT} \ X+ ${J_X11_INCLUDE_DIR} X X # other constants X X@@ -37,15 +38,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-# ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.so X-else X- LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.a \ X- ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.a X-# ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.a X-endif X X # make variables X X@@ -64,7 +56,7 @@ X ##### X X .PHONY : default X-default: libs notebook X+default: notebook X X .PHONY : Makefiles X Makefiles: END-of-notebook/patches/patch-ad echo x - notebook/patches/patch-ac sed 's/^X//' >notebook/patches/patch-ac << 'END-of-notebook/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-notebook/patches/patch-ac echo x - notebook/patches/patch-ab sed 's/^X//' >notebook/patches/patch-ab << 'END-of-notebook/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-notebook/patches/patch-ab echo c - notebook/pkg mkdir -p notebook/pkg > /dev/null 2>&1 echo x - notebook/pkg/COMMENT sed 's/^X//' >notebook/pkg/COMMENT << 'END-of-notebook/pkg/COMMENT' XOrganizer for storing information and to-do lists END-of-notebook/pkg/COMMENT echo x - notebook/pkg/DESCR sed 's/^X//' >notebook/pkg/DESCR << 'END-of-notebook/pkg/DESCR' XBuzzer Electronic Notebook X XNothing is more annoying than trying to find the piece of information Xthat you need. If you have as many projects as we do, it rivals Xthe task of searching the Web! Buzzer is designed to solve this Xproblem by providing a single place to store all your information, Xnotes, tidbits, and to-do lists. X XWWW: http://www.newplanetsoftware.com/notebook/ END-of-notebook/pkg/DESCR echo x - notebook/pkg/PLIST sed 's/^X//' >notebook/pkg/PLIST << 'END-of-notebook/pkg/PLIST' Xbin/notebook X%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE X%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary X%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%% END-of-notebook/pkg/PLIST echo c - notebook/files mkdir -p notebook/files > /dev/null 2>&1 echo x - notebook/files/md5 sed 's/^X//' >notebook/files/md5 << 'END-of-notebook/files/md5' XMD5 (Notebook_source-1.0.1.tar.gz) = 124b6ebb276db6e4f82b24e0316e3802 END-of-notebook/files/md5 echo x - notebook/Makefile sed 's/^X//' >notebook/Makefile << 'END-of-notebook/Makefile' X# New ports collection makefile for: Notebook X# Date created: 14 June 2000 X# Whom: Mario S F Ferreira et al. X# X# $FreeBSD$ X# X XPORTNAME= notebook XPORTVERSION= 1.0.1 XCATEGORIES= misc XMASTER_SITES= ftp://ftp.newplanetsoftware.com/pub/notebook/source/ XDISTNAME= Notebook_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 X# Installs dir with proper permissions XINSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 X# program files XPROGRAMFILES= notebook/notebook 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= jtoolbar_constants jtree_constants X X.include 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 END-of-notebook/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