Changeset 4188 for trunk/dports
- Timestamp:
- Dec 10, 2003, 9:33:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/ez-ipupdate/Portfile
r3508 r4188 1 # $Id: Portfile,v 1. 2 2003/09/23 10:14:22mww Exp $1 # $Id: Portfile,v 1.3 2003/12/10 21:33:59 mww Exp $ 2 2 3 3 PortSystem 1.0 … … 6 6 categories net 7 7 maintainers mww@opendarwin.org 8 platforms darwin freebsd 8 9 description dynamic dns client 9 10 long_description ez-ipupdate is a small utility for updating your host \ … … 11 12 mode is currently not working under Darwin/OS-X. 12 13 13 homepage http://www.ez-ipupdate.com /14 master_sites ${homepage} dist/14 homepage http://www.ez-ipupdate.com 15 master_sites ${homepage}/dist/ 15 16 checksums md5 525be4550b4461fdf105aed8e753b020 16 17 post-patch { reinplace \18 "s|/usr/local/bin/ez-ipupdate|${prefix}/bin/ez-ipupdate|g" \19 ${worksrcpath}/example.conf }20 17 21 18 configure.args --cache-file=${prefix}/var/ez-ipupdate 22 19 23 variant darwin 20 variant darwin { 24 21 configure.env CPPFLAGS=-D__FreeBSD__ 25 22 configure.args-append --host=powerpc-apple-freebsd … … 28 25 build.target 29 26 30 destroot.destdir prefix=${destroot}${prefix} 27 pre-destroot { 28 reinplace "s|DESTDIR =|DESTDIR = ${destroot}|g" \ 29 ${worksrcpath}/Makefile 30 } 31 31 32 post-destroot { system "install -m 755 -d \ 33 ${destroot}${prefix}/share/doc/ez-ipupdate \ 34 && install -m 644 ${worksrcpath}/README \ 35 ${destroot}${prefix}/share/doc/ez-ipupdate \ 36 && install -m 644 ${worksrcpath}/COPYING \ 37 ${destroot}${prefix}/share/doc/ez-ipupdate \ 38 && install -m 700 ${worksrcpath}/example.conf \ 39 ${destroot}${prefix}/etc/ez-ipupdate.conf.sample" } 32 post-destroot { 33 file mkdir ${destroot}${prefix}/share/doc/${name} 34 file copy ${worksrcpath}/README ${worksrcpath}/COPYING \ 35 ${destroot}${prefix}/share/doc/${name} 36 file copy ${worksrcpath}/example.conf \ 37 ${destroot}${prefix}/etc/ez-ipupdate.conf.sample 38 reinplace "s|/usr/local/bin/ez-ipupdate|${prefix}/bin/ez-ipupdate|g" \ 39 ${destroot}${prefix}/etc/ez-ipupdate.conf.sample 40 } 40 41 41 post-install { if {![file exists ${prefix}/etc/ez-ipupdate.conf]} { 42 system "cp ${prefix}/etc/ez-ipupdate.conf.sample \ 43 ${prefix}/etc/ez-ipupdate.conf" 44 } } 42 post-install { 43 if { ![file exists ${prefix}/etc/ez-ipupdate.conf] } { 44 file copy ${prefix}/etc/ez-ipupdate.conf.sample \ 45 ${prefix}/etc/ez-ipupdate.conf 46 } 47 }
Note: See TracChangeset
for help on using the changeset viewer.