Ignore:
Timestamp:
Dec 21, 2004, 2:39:54 AM (15 years ago)
Author:
landonf
Message:

Added example configuration files
Create all apt required directories in the destroot

Location:
trunk/dports/sysutils/apt
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/apt/Portfile

    r9871 r9873  
    1 # $Id: Portfile,v 1.11 2004/12/21 01:37:29 landonf Exp $
     1# $Id: Portfile,v 1.12 2004/12/21 02:39:53 landonf Exp $
    22# Thanks to the Fink Project for their work on porting apt
    33
     
    55name                    apt
    66version                 0.5.27
    7 revision                5
     7revision                6
    88platforms               darwin
    99categories              sysutils
     
    4747build.dir               ${configure.dir}
    4848build.type              gnu
     49
     50set varapt              ${destroot}${prefix}/var/db/apt
     51destroot.keepdirs       ${varapt} \
     52                        ${varapt}/archives/partial \
     53                        ${varapt}/lists/partial \
     54                        ${destroot}/${prefix}/etc/apt \
     55                        ${destroot}/${prefix}/etc/apt/apt.conf.d
    4956
    5057### Operating System Variants ###
     
    197204
    198205        # Install configuration files
    199         set confdest ${destroot}/etc/apt/apt.conf.d
     206        set confdest ${destroot}/${prefix}/etc/apt/apt.conf.d
    200207        file mkdir ${confdest}
    201         #xinstall -m 644 sources.list.opendarwin ${destroot}/${prefix}/etc/apt/sources.list
     208        xinstall -m 644 ${filespath}/sources.list ${destroot}/${prefix}/etc/apt/sources.list
     209        xinstall -m 644 ${worksrcpath}/build/docs/examples/apt.conf ${destroot}/${prefix}/etc/apt/apt.conf
    202210
    203211        # Create var directories
Note: See TracChangeset for help on using the changeset viewer.