Changeset 82285
- Timestamp:
- 08/11/11 14:58:37 (4 years ago)
- File:
-
- 1 edited
-
users/pixilla/dports/sysutils/logrotate/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
users/pixilla/dports/sysutils/logrotate/Portfile
r82267 r82285 39 39 use_configure no 40 40 41 build.env-append \ 42 CC="${configure.cc} [get_canonical_archflags]" \ 41 build.env CC="${configure.cc} [get_canonical_archflags]" \ 43 42 CXX="${configure.cxx} [get_canonical_archflags]" \ 44 43 CPP="${configure.cpp} [get_canonical_archflags]" \ … … 46 45 POPT_DIR="${prefix}/include" \ 47 46 STATEFILE="${prefix}/var/run/logrotate/logrotate.status" \ 48 DEFAULT_MAIL_COMMAND="/usr/sbin/mail" \ 49 USEINSTALL="install" 47 DEFAULT_MAIL_COMMAND="/usr/sbin/mail" 50 48 51 destroot.env-append BASEDIR=[string trimleft ${destroot}${prefix} /] 49 destroot.env-append INSTALL="install" \ 50 BASEDIR=[string trimleft ${destroot}${prefix} /] 52 51 destroot.keepdirs ${destroot}${prefix}/etc/logrotate.d \ 53 52 ${destroot}${prefix}/var/run/logrotate 54 53 post-destroot { 55 xinstall -m 755 ${worksrcpath}/examples/logrotate-default \ 56 ${destroot}${prefix}/etc/logrotate.conf.sample 57 xinstall -d ${destroot}${prefix}/etc/logrotate.d 58 xinstall -d ${destroot}${prefix}/var/run/logrotate 59 } 60 61 post-activate { 62 # delete ${prefix}/etc/logrotate.d/.turd_${name} \ 63 # ${prefix}/var/run/logrotate/.turd_${name} 54 xinstall -m 755 ${worksrcpath}/examples/logrotate-default \ 55 ${destroot}${prefix}/etc/logrotate.conf.sample 56 move ${destroot}${prefix}/man/man5/logrotate.conf.5 \ 57 ${destroot}${prefix}/share/man/man5/logrotate.conf.5 58 move ${destroot}${prefix}/man/man8/logrotate.8 \ 59 ${destroot}${prefix}/share/man/man8/logrotate.8 64 60 } 65 61
Note: See TracChangeset
for help on using the changeset viewer.

