|
|||||||||
Saturday the 6th of September, 2008 |
|||||||||
getopt most recent diff
Scroll down toward the bottom of the page to get installation instructions for getopt. The raw portfile for getopt 1.1.4 is located here: http://getopt.darwinports.com/dports/sysutils/getopt/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/getopt # $Id: Portfile 32369 2007-12-28 05:55:15Z boeyms PortSystem 1.0 Name: getopt Version: 1.1.4 revision 1 Category: sysutils Maintainers: boeyms openmaintainer Description: Replacement getopt for shell script use Long Description: Getopt(1) is a program to help shell scripts parse command-line parameters. It can do anything that the GNU getopt(3) routines can do. It can cope with spaces and shell metacharacters within arguments. It can parse long parameters. It can shuffle parameters, so you can mix options and other parameters on the command-line. It can be easily identified as an enhanced getopt(1) from within shell scripts. It can report parse errors as coming from the shell script. It is fully compatible with other getopt(1) implementations. Platform: darwin Homepage: http://software.frodo.looijaard.name/getopt/ master_sites http://software.frodo.looijaard.name/getopt/files/ checksums md5 02188ca68da27c4175d6e9f3da732101 sha1 8b9b329b3a8f5d52c91c0381616ecbd1ba291486 rmd160 79fffccf1b48956bfc1fbb19c22c2d94adf10dff patchfiles patch-Makefile.diff depends_lib port:gettext use_configure no build.args LIBCGETOPT=0 prefix=${prefix} mandir=${prefix}/share/man destroot.args ${build.args} destroot.target install install_doc post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} COPYING Changelog README TODO ${destroot}${docdir} } Variant: universal { post-patch { reinplace -E "/^CFLAGS/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile reinplace -E "/^LDFLAGS/s|\$| ${configure.universal_ldflags}|" ${worksrcpath}/Makefile } } livecheck.check regex livecheck.url ${homepage}download.php livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) 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/getoptYou 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 getopt with these commands: % man getopt Where to find more information:
|
![]() |
![]() Digg getopt 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 |
|||||||
| |




