From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 31 01:30:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B33EC16A418 for ; Thu, 31 Jan 2008 01:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8895513C45B for ; Thu, 31 Jan 2008 01:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0V1U1iY018445 for ; Thu, 31 Jan 2008 01:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0V1U1x2018442; Thu, 31 Jan 2008 01:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 31 Jan 2008 01:30:01 GMT Resent-Message-Id: <200801310130.m0V1U1x2018442@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15F8416A41B for ; Thu, 31 Jan 2008 01:23:13 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28]) by mx1.freebsd.org (Postfix) with ESMTP id D148B13C455 for ; Thu, 31 Jan 2008 01:23:12 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) by smithers.neuro.mcw.edu (8.13.6/8.13.6) with ESMTP id m0V1NCrQ042788 for ; Wed, 30 Jan 2008 19:23:12 -0600 (CST) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.13.6/8.13.6/Submit) id m0V1NCQa042787; Wed, 30 Jan 2008 19:23:12 -0600 (CST) (envelope-from bacon) Message-Id: <200801310123.m0V1NCQa042787@smithers.neuro.mcw.edu> Date: Wed, 30 Jan 2008 19:23:12 -0600 (CST) From: Jason Bacon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/120176: Maintainer update: math/lensnns Minor revision X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Bacon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 01:30:01 -0000 >Number: 120176 >Category: ports >Synopsis: Maintainer update: math/lensnns Minor revision >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 31 01:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: FreeBSD 6.1-RELEASE-p17 i386 >Organization: MCW >Environment: System: FreeBSD smithers.neuro.mcw.edu 6.1-RELEASE-p17 FreeBSD 6.1-RELEASE-p17 #0: Mon Jul 2 15:25:34 CDT 2007 bacon@pcbsd:/usr/obj/usr/src/sys/MCWPCBSD i386 >Description: This revision adds a few improvements to the port installation. >How-To-Repeat: >Fix: diff -ruN lensnns/Makefile lensnns-latest/Makefile --- lensnns/Makefile Mon Jun 4 16:06:18 2007 +++ lensnns-latest/Makefile Wed Jan 30 19:12:00 2008 @@ -1,15 +1,16 @@ # New ports collection makefile for: lensnns # Date created: 9 jan 2007 -# Whom: Jason W. Bacon +# Whom: Jason W. Bacon # -# $FreeBSD: ports/math/lensnns/Makefile,v 1.1 2007/06/04 21:06:18 miwi Exp $ +# $FreeBSD$ # PORTNAME= lensnns PORTVERSION= 2.63 +PORTREVISION= 1 CATEGORIES= math science MASTER_SITES= http://tedlab.mit.edu/~dr/Lens/Dist/ \ - http://www.neuro.mcw.edu/~bacon/Ports/distfiles/ + http://www.neuro.mcw.edu/Ports/distfiles/ DISTNAME= lens MAINTAINER= bacon@smithers.neuro.mcw.edu @@ -17,27 +18,16 @@ LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83 \ tk83.1:${PORTSDIR}/x11-toolkits/tk83 +RUN_DEPENDS= bestbrowser:${PORTSDIR}/www/bestbrowser USE_GMAKE= yes -MAKE_ENV+= HOSTTYPE="FreeBSD" - MAN1= lensnns.1 -SUB_FILES= pkg-message lensnns.1 +SUB_FILES= pkg-message lensnns.1 lensnns.cshrc lensnns.profile PKGMESSAGE= ${WRKDIR}/pkg-message -WEB_BROWSER?= konqueror - -pre-everything:: - @${ECHO_CMD} "" - @${ECHO_CMD} "========================================================" - @${ECHO_CMD} "The default WEB browser for viewing the manual is KDE's" - @${ECHO_CMD} "konqueror. If you want to change this, type Ctrl+C now," - @${ECHO_CMD} "and run make again with -DWEB_BROWSER, e.g." - @${ECHO_CMD} "" - @${ECHO_CMD} " make -DWEB_BROWSER=firefox" - @${ECHO_CMD} "========================================================" - @${ECHO_CMD} "" +WEB_BROWSER?= bestbrowser +MAKE_ENV+= HOSTTYPE="FreeBSD" post-extract: ${MKDIR} ${WRKDIR}/lens @@ -49,7 +39,7 @@ ${INSTALL_PROGRAM} ${WRKSRC}/Bin/FreeBSD/lens-2.63 ${PREFIX}/bin ${LN} -s ${PREFIX}/bin/alens-2.63 ${PREFIX}/bin/alensnns ${LN} -s ${PREFIX}/bin/lens-2.63 ${PREFIX}/bin/lensnns - ${INSTALL_MAN} ${WRKDIR}/lensnns.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKDIR}/lensnns.1 ${MAN1PREFIX}/man/man1 ${MKDIR} ${PREFIX}/share/${PORTNAME}/Src/Images ${MKDIR} ${PREFIX}/share/${PORTNAME}/Examples ${MKDIR} ${PREFIX}/share/${PORTNAME}/Commands @@ -61,6 +51,9 @@ ${PREFIX}/share/${PORTNAME}/Examples ${INSTALL_DATA} ${WRKSRC}/Commands/* \ ${PREFIX}/share/${PORTNAME}/Commands + ${MKDIR} ${PREFIX}/etc/mri + ${INSTALL_SCRIPT} ${WRKDIR}/lensnns.cshrc ${WRKDIR}/lensnns.profile \ + ${PREFIX}/etc/mri post-install: @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} diff -ruN lensnns/files/lensnns.cshrc.in lensnns-latest/files/lensnns.cshrc.in --- lensnns/files/lensnns.cshrc.in Wed Dec 31 18:00:00 1969 +++ lensnns-latest/files/lensnns.cshrc.in Wed Jan 30 18:03:51 2008 @@ -0,0 +1 @@ +setenv LENSDIR %%DATADIR%% diff -ruN lensnns/files/lensnns.profile.in lensnns-latest/files/lensnns.profile.in --- lensnns/files/lensnns.profile.in Wed Dec 31 18:00:00 1969 +++ lensnns-latest/files/lensnns.profile.in Wed Jan 30 18:04:15 2008 @@ -0,0 +1,2 @@ +LENSDIR=%%DATADIR%% +export LENSDIR diff -ruN lensnns/files/pkg-message.in lensnns-latest/files/pkg-message.in --- lensnns/files/pkg-message.in Mon Jun 4 16:06:18 2007 +++ lensnns-latest/files/pkg-message.in Wed Jan 30 18:03:10 2008 @@ -4,16 +4,37 @@ man lensnns +--- + To use the default configuration, set the environment variable LENSDIR to %%DATADIR%% +As an alternative to manual setup shown above, this port (and many other MRI +ports) include configuration scripts to automaticaly perform this setup. +Using these scripts, a single addition to your shell's startup script will +automatically configure the environment for all MRI ports that include +a configuration script. + +To utilize these scripts in C-shell compatible shells, add the following +to your .cshrc: + +foreach script (%%PREFIX%%/etc/mri/*.cshrc) + source ${script} +end + +For Bourne-shell compatibles, add the following to your .profile: + +for script in %%PREFIX%%/etc/mri/*.profile; do + . ${script} +done + +--- + If you want to customize your environment, make a complete copy of %%DATADIR%% and set LENSDIR to the full pathname of your copy. - -Firefox is required to view the manual from the Help menu. =========================================================================== diff -ruN lensnns/pkg-descr lensnns-latest/pkg-descr --- lensnns/pkg-descr Mon Jun 4 16:06:18 2007 +++ lensnns-latest/pkg-descr Wed Jan 30 19:08:51 2008 @@ -1,3 +1,5 @@ Lens is an efficient, yet flexible, neural network simulator that runs on a variety of platforms, is able to handle large, complex simulations, but is also reasonably easy for novices to operate. + +WWW: http://tedlab.mit.edu/~dr/Lens/ diff -ruN lensnns/pkg-plist lensnns-latest/pkg-plist --- lensnns/pkg-plist Mon Jun 4 16:06:18 2007 +++ lensnns-latest/pkg-plist Wed Jan 30 19:14:42 2008 @@ -2,6 +2,8 @@ bin/alens-2.63 bin/lensnns bin/lens-2.63 +etc/mri/lensnns.cshrc +etc/mri/lensnns.profile %%DATADIR%%/Commands/addGroup.txt %%DATADIR%%/Commands/addLinkType.txt %%DATADIR%%/Commands/addNet.txt @@ -232,3 +234,4 @@ @dirrm %%DATADIR%%/Examples @dirrm %%DATADIR%%/Commands @dirrm %%DATADIR%% +@dirrmtry etc/mri >Release-Note: >Audit-Trail: >Unformatted: