Date: 15 Jun 2000 04:45:02 -0000 From: lioux@uol.com.br To: FreeBSD-gnats-submit@freebsd.org Subject: ports/19291: New port math/thx-1138 uses x11-toolkits/jx Message-ID: <20000615044502.21981.qmail@Fedaykin.here>
next in thread | raw e-mail | index | archive | help
>Number: 19291 >Category: ports >Synopsis: New port math/thx-1138 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: Electronic Paper for Calculations and Graphs 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: # # thx-1138 # thx-1138/patches # thx-1138/patches/patch-aa # thx-1138/patches/patch-ab # thx-1138/pkg # thx-1138/pkg/COMMENT # thx-1138/pkg/DESCR # thx-1138/pkg/PLIST # thx-1138/files # thx-1138/files/md5 # thx-1138/Makefile # echo c - thx-1138 mkdir -p thx-1138 > /dev/null 2>&1 echo c - thx-1138/patches mkdir -p thx-1138/patches > /dev/null 2>&1 echo x - thx-1138/patches/patch-aa sed 's/^X//' >thx-1138/patches/patch-aa << 'END-of-thx-1138/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-thx-1138/patches/patch-aa echo x - thx-1138/patches/patch-ab sed 's/^X//' >thx-1138/patches/patch-ab << 'END-of-thx-1138/patches/patch-ab' X--- programs/thx-1138/Make.header.orig Thu Jun 15 00:07:41 2000 X+++ programs/thx-1138/Make.header Thu Jun 15 00:08:06 2000 X@@ -47,17 +47,6 @@ X X # library dependencies X X-ifdef J_BUILD_SHARED_LIB X- LIB_DEPS := ${JLIBDIR}/libjcore-${JX_LIB_VERSION}.so \ X- ${JLIBDIR}/libjx-${JX_LIB_VERSION}.so \ X- ${JLIBDIR}/libjparser-${JPARSER_LIB_VERSION}.so \ X- ${JLIBDIR}/libj2dplot-${J2DPLOT_LIB_VERSION}.so X-else X- LIB_DEPS := ${JLIBDIR}/libjcore-${JX_LIB_VERSION}.a \ X- ${JLIBDIR}/libjx-${JX_LIB_VERSION}.a \ X- ${JLIBDIR}/libjparser-${JPARSER_LIB_VERSION}.a \ X- ${JLIBDIR}/libj2dplot-${J2DPLOT_LIB_VERSION}.a X-endif X X # make variables X X@@ -68,7 +57,7 @@ X ##### X X .PHONY : default X-default: libs thx-1138 X+default: thx-1138 X X .PHONY : Makefiles X Makefiles: END-of-thx-1138/patches/patch-ab echo c - thx-1138/pkg mkdir -p thx-1138/pkg > /dev/null 2>&1 echo x - thx-1138/pkg/COMMENT sed 's/^X//' >thx-1138/pkg/COMMENT << 'END-of-thx-1138/pkg/COMMENT' XElectronic Paper for Calculations and Graphs END-of-thx-1138/pkg/COMMENT echo x - thx-1138/pkg/DESCR sed 's/^X//' >thx-1138/pkg/DESCR << 'END-of-thx-1138/pkg/DESCR' XTHX-1138 X XFrom the software readme: X XTHX-1138 is the calculator you've always wanted, short of handwriting Xrecognition. X XTHX-1138 (pronounced "thex") provides a calculator and the ability Xto plot functions. X XI chose the name as a tribute to the character in George Lucas' Xmovie. Free software and old SF movies do not compete, and I Xencourage everybody to rent the movie, but if anybody still wants Xto sue me, please remember that I don't have enough money to make Xit worth the trouble, so just notify me, and I'll change the name. X XWWW: http://www.newplanetsoftware.com/thx/ END-of-thx-1138/pkg/DESCR echo x - thx-1138/pkg/PLIST sed 's/^X//' >thx-1138/pkg/PLIST << 'END-of-thx-1138/pkg/PLIST' Xbin/thx-1138 X%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE X%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary X%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%% END-of-thx-1138/pkg/PLIST echo c - thx-1138/files mkdir -p thx-1138/files > /dev/null 2>&1 echo x - thx-1138/files/md5 sed 's/^X//' >thx-1138/files/md5 << 'END-of-thx-1138/files/md5' XMD5 (thx-1138_source-1.0.5.tar.gz) = a0b87c02def611b7399717e144820333 END-of-thx-1138/files/md5 echo x - thx-1138/Makefile sed 's/^X//' >thx-1138/Makefile << 'END-of-thx-1138/Makefile' X# New ports collection makefile for: thx-1138 X# Date created: 14 June 2000 X# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. X# X# $FreeBSD$ X# X XPORTNAME= thx-1138 XPORTVERSION= 1.0.5 XCATEGORIES= math XMASTER_SITES= ftp://ftp.newplanetsoftware.com/pub/thx/source/ XDISTNAME= ${PORTNAME}_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 -I${X11BASE}/include X X# Installs dir with proper permissions XINSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 X# program files XPROGRAMFILES= thx-1138/thx-1138 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-thx-1138/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?20000615044502.21981.qmail>