|
|||||||||
Tuesday the 2nd of December, 2008 |
|||||||||
struts most recent diffversion 1.2.7
Scroll down toward the bottom of the page to get installation instructions for struts. The raw portfile for struts 1.2.7 is located here: http://struts.darwinports.com/dports/java/struts/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/struts # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry PortSystem 1.0 Name: struts Version: 1.2.7 Category: java Maintainers: jberry openmaintainer Platform: darwin Description: Apache Struts Framework. Long Description: Struts is a framework for writing Java web applications, based on the model-view-controller paradigm. Homepage: http://struts.apache.org/ distname ${name}-${version}-src master_sites http://archive.apache.org/dist/struts/struts-${version}/ #master_sites apache:struts/source/ checksums md5 c6665758e2a3345d307a9b975b030543 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe port:commons-beanutils port:commons-collections port:commons-digester port:commons-fileupload port:commons-lang port:commons-logging port:commons-validator port:jakarta-oro port:servlet23-api port:antlr port:jakarta-taglibs-standard-11 use_configure no set javaLibs ${prefix}/share/java post-extract { file mkdir ${worksrcpath}/contrib ${worksrcpath}/lib } build { # Build Struts system "cd ${worksrcpath} && CLASSPATH=${javaLibs}/commons-digester-rss.jar ant dist -Dcommons-beanutils.jar=${javaLibs}/commons-beanutils.jar -Dcommons-collections.jar=${javaLibs}/commons-collections.jar -Dcommons-digester.jar=${javaLibs}/commons-digester.jar -Dcommons-fileupload.jar=${javaLibs}/commons-fileupload.jar -Dcommons-lang.jar=${javaLibs}/commons-lang.jar -Dcommons-logging.jar=${javaLibs}/commons-logging.jar -Dcommons-validator.jar=${javaLibs}/commons-validator.jar -Djakarta-oro.jar=${javaLibs}/jakarta-oro.jar -Dservlet.jar=${javaLibs}/servlet23-api.jar -Dantlr.jar=${javaLibs}/antlr.jar " # Extract tld files from standard.jar, needed by struts-el set tld_dir ${workpath}/tld file mkdir ${tld_dir} system "cd ${tld_dir} && jar xf ${javaLibs}/standard.jar META-INF" # Build Struts-EL system "cd ${worksrcpath}/contrib/struts-el && ant dist -Dservlet.jar=${javaLibs}/servlet23-api.jar -Djstl.tld.dir=${tld_dir}/META-INF -Djstl.jar=${javaLibs}/jstl.jar -Djstl-standard.jar=${javaLibs}/standard.jar -Dcommons-beanutils.jar=${javaLibs}/commons-beanutils.jar " } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java/${name} xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/contrib file copy ${worksrcpath}/contrib/struts-el/dist ${destroot}${prefix}/share/java/${name}/contrib/struts-el } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/strutsYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using struts with these commands: % man struts Where to find more information:
|
![]() |
![]() Digg struts on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |



