FreeBSD Bugzilla – Attachment 84215 Details for
Bug 120176
Maintainer update: math/lensnns Minor revision
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.05 KB, created by
Jason Bacon
on 2008-01-31 01:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jason Bacon
Created:
2008-01-31 01:30:01 UTC
Size:
5.05 KB
patch
obsolete
>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 <bacon@smithers.neuro.mcw.edu> >+# Whom: Jason W. Bacon <jwbacon@tds.net> > # >-# $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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120176
: 84215