|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
apt most recent diffversion 0.5.27
Scroll down toward the bottom of the page to get installation instructions for apt. The raw portfile for apt 0.5.27 is located here: http://apt.darwinports.com/dports/sysutils/apt/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/apt The apt Portfile 50980 2009-05-14 19:41:55Z and.damore # Thanks to the Fink Project for their work on porting apt PortSystem 1.0 Name: apt Version: 0.5.27 Revision: 7 Platform: darwin freebsd Category: sysutils Maintainers: landonf openmaintainer Description: Advanced front-end for dpkg Long Description: Apt is Debian's next generation front-end for the dpkg package manager. It provides the apt-get utility and APT dselect method that provides a simpler, safer way to install and upgrade packages. Homepage: http://www.debian.org/ Master Sites: http://ftp.debian.org/debian/pool/main/a/apt/ Checksums: md5 36f0b6012806569d27be98c80a6d57ff distname ${name}_${version} worksrcdir ${name}-${version} depends_lib path:bin/dpkg:dpkg bin:bash:bash Patch Files: ostable.diff paths.diff patch-aclocal.m4 patch-configure.in patch-configure patch-static-constructors soname-magic.diff # Work around case insensitive file system issues configure.cmd ../configure configure.dir ${worksrcpath}/build pre-configure { file mkdir ${worksrcpath}/build } configure.cflags-append "-L${prefix}/lib" configure.cxxflags-append "-D__USE_MISC" configure.args --without-sgml-doc --disable-rpath build.dir ${configure.dir} build.type gnu set varapt ${destroot}${prefix}/var/db/apt destroot.keepdirs ${varapt} ${varapt}/cache/archives/partial ${varapt}/state/lists/partial ${destroot}/${prefix}/etc/apt ${destroot}/${prefix}/etc/apt/apt.conf.d ### Operating System Variants ### platform darwin { global aptpkg-longversion aptpkg-version aptpkg-shortversion global aptinst-longversion aptinst-version aptinst-shortversion global apt-libsuffix set apt-libsuffix dylib set aptpkg-longversion 3.3.0.dylib set aptpkg-version 3.3.dylib set aptpkg-shortversion 3.dylib set aptinst-longversion 1.0.0.dylib set aptinst-version 1.0.dylib set aptinst-shortversion 1.dylib depends_lib-append port:gettext depends_build-append bin:gnumake:gmake # c++pragma.diff generated with the following, provided by # Peter O'Gorman: # for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi -e 's/#ifdef # __GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done patchfiles-append sig_t.diff c++pragma.diff darwinshlibs-hack.diff use-libintl.diff } platform freebsd { global aptpkg-longversion aptpkg-version aptpkg-shortversion global aptinst-longversion aptinst-version aptinst-shortversion global apt-libsuffix set apt-libsuffix so set aptpkg-longversion so.3.3.0 set aptpkg-version so.3.3 set aptpkg-shortversion so.3 set aptinst-longversion so.1.0.0 set aptinst-version so.1.0 set aptinst-shortversion so.1 depends_lib-append port:gettext depends_build-append bin:gmake:gmake patchfiles-append sig_t.diff use-libintl.diff } ### Target Overrides ### post-patch { reinplace "s| # Hack for lack of post-patch-append if {[variant_isset freebsd]} { reinplace "s|make -s|gmake -s|g" ${worksrcpath}/configure } } # apt's makefiles do not have an install target destroot { set build ${build.dir} # Install binaries set bindest ${destroot}${prefix}/bin/ file mkdir ${bindest} xinstall -m 755 ${build}/bin/apt-cache ${bindest} xinstall -m 755 ${build}/bin/apt-cdrom ${bindest} xinstall -m 755 ${build}/bin/apt-config ${bindest} xinstall -m 755 ${build}/bin/apt-extracttemplates ${bindest} xinstall -m 755 ${build}/bin/apt-get ${bindest} xinstall -m 755 ${build}/bin/apt-sortpkgs ${bindest} # Install libraries set libdest ${destroot}${prefix}/lib/ file mkdir ${libdest} xinstall -m 644 ${build}/bin/libapt-pkg.${aptpkg-longversion} ${libdest} system "cd ${libdest} && ln -sf libapt-pkg.${aptpkg-longversion} libapt-pkg.${aptpkg-version} && ln -sf libapt-pkg.${aptpkg-version} libapt-pkg.${aptpkg-shortversion} && ln -sf libapt-pkg.${aptpkg-shortversion} libapt-pkg.${apt-libsuffix}" xinstall -m 644 ${build}/bin/libapt-inst.${aptinst-longversion} ${libdest} system "cd ${libdest} && ln -sf libapt-inst.${aptinst-longversion} libapt-inst.${aptinst-version} && ln -sf libapt-inst.${aptinst-version} libapt-inst.${aptinst-shortversion} && ln -sf libapt-inst.${aptinst-shortversion} libapt-inst.${apt-libsuffix}" # Install methods set methdest ${destroot}${prefix}/libexec/apt/methods/ file mkdir ${methdest} xinstall -m 755 ${build}/bin/methods/cdrom ${methdest} xinstall -m 755 ${build}/bin/methods/copy ${methdest} xinstall -m 755 ${build}/bin/methods/file ${methdest} xinstall -m 755 ${build}/bin/methods/ftp ${methdest} xinstall -m 755 ${build}/bin/methods/gzip ${methdest} xinstall -m 755 ${build}/bin/methods/http ${methdest} xinstall -m 755 ${build}/bin/methods/rsh ${methdest} system "cd ${methdest} && ln -sf rsh ssh" file mkdir ${methdest}/apt xinstall -m 644 ${build}/scripts/dselect/desc.apt ${methdest}/apt/ xinstall -m 755 ${build}/scripts/dselect/install ${methdest}/apt/ xinstall -m 644 ${build}/scripts/dselect/names ${methdest}/apt/ xinstall -m 755 ${build}/scripts/dselect/setup ${methdest}/apt/ xinstall -m 755 ${build}/scripts/dselect/update ${methdest}/apt/ # Install includes set incdest ${destroot}${prefix}/include/apt-pkg/ file mkdir ${incdest} foreach file [readdir ${build}/include/apt-pkg/] { if {"$file" == "." || "$file" == ".."} { continue } xinstall -m 644 ${build}/include/apt-pkg/${file} ${incdest} } # Install man pages set mandest ${destroot}${prefix}/share/man file mkdir ${mandest} file mkdir ${mandest}/man1 file mkdir ${mandest}/man5 file mkdir ${mandest}/man8 xinstall -m 644 ${build}/docs/apt-cache.8 ${build}/docs/apt-cdrom.8 ${build}/docs/apt-config.8 ${build}/docs/apt-get.8 ${mandest}/man8/ xinstall -m 644 ${build}/docs/apt-extracttemplates.1 ${build}/docs/apt-ftparchive.1 ${build}/docs/apt-sortpkgs.1 ${mandest}/man1/ xinstall -m 644 ${build}/docs/apt.conf.5 ${build}/docs/apt_preferences.5 ${build}/docs/sources.list.5 ${build}/docs/vendors.list.5 ${mandest}/man5/ # Install configuration files set confdest ${destroot}/${prefix}/etc/apt/apt.conf.d file mkdir ${confdest} xinstall -m 644 ${filespath}/sources.list ${destroot}/${prefix}/etc/apt/sources.list xinstall -m 644 ${worksrcpath}/build/docs/examples/apt.conf ${destroot}/${prefix}/etc/apt/apt.conf # Create var directoriesa file mkdir ${destroot}${prefix}/var/db/apt/cache/archives/partial file mkdir ${destroot}${prefix}/var/db/apt/state/lists/partial } 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/aptYou 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 apt with these commands: % man apt Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




