Changeset 98328
- Timestamp:
- Oct 3, 2012, 1:31:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/www/cgit/Portfile
r98323 r98328 5 5 6 6 name cgit 7 version 0.8.2.1 8 revision 1 9 set git-version 1.6.3 7 version 0.9.0.3 8 set git_version 1.7.4 10 9 categories www devel 11 10 maintainers sfiera openmaintainer … … 21 20 22 21 use_bzip2 yes 23 set cgit-dist ${distfiles} 24 set git-dist [suffix git-${git-version}] 25 distfiles ${cgit-dist}:cgit ${git-dist}:git 22 set cgit_distfile ${distfiles} 23 set git_distname git-${git_version} 24 set git_distfile [suffix ${git_distname}] 25 distfiles ${cgit_distfile}:cgit ${git_distfile}:git 26 26 master_sites ${homepage}snapshot:cgit \ 27 27 http://www.kernel.org/pub/software/scm/git:git 28 checksums ${cgit-dist} \ 29 md5 33e56f0621e53327f89233c7ccb7d8be \ 30 sha1 1c40de81530a3c0513bc963cc81f14685448f6f9 \ 31 rmd160 2e83250130aa1d4f087c853567c794b58a24368c \ 32 ${git-dist} \ 33 md5 a5e6165506cddd94954277cf81f44b14 \ 34 sha1 1dab1068d1886828bdb512e9b809bc779de35609 \ 35 rmd160 b496878b113ae8d13d2eaa1b65e4dd2d8e72834d 28 checksums ${cgit_distfile} \ 29 rmd160 a426468889aff48a19849acd01c9660b37cb0c0f \ 30 sha256 53ccf0c826f91c2184ec29b1b9ab8a6f42e0ef2e6fa9042c3759e2a2dc81baa5 \ 31 ${git_distfile} \ 32 rmd160 a064d7a5b2d3fae6171ca91a03082eb46d7bb9b7 \ 33 sha256 8e260b9e5dfb46a35f26e3db450c2dabb4d1df254bfb2820779945a1ecbcef51 36 34 37 35 depends_lib port:git-core \ … … 41 39 42 40 post-extract { 43 filedelete ${worksrcpath}/git44 file rename ${worksrcpath}/../git-${git-version} ${worksrcpath}/git41 delete ${worksrcpath}/git 42 move ${workpath}/${git_distname} ${worksrcpath}/git 45 43 } 46 44 … … 48 46 file copy ${filespath}/cgit.conf ${worksrcpath}/cgit.conf 49 47 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/cgit.conf 50 reinplace "s|@GIT_VER@|${git-version}|g" ${worksrcpath}/cgit.conf 48 reinplace "s|@GIT_VER@|${git_version}|g" ${worksrcpath}/cgit.conf 49 } 50 51 set user _www 52 set group _www 53 54 if {${os.platform} == "darwin" && ${os.major} <= 8} { 55 set user www 56 set group www 51 57 } 52 58 53 59 post-destroot { 54 60 xinstall -m 444 ${worksrcpath}/cgitrc.5.txt ${destroot}${prefix}/etc/cgitrc.sample 55 xinstall -m 700 -o www -g www-d ${destroot}${prefix}/var/cache/cgit61 xinstall -m 700 -o ${user} -g ${group} -d ${destroot}${prefix}/var/cache/cgit 56 62 destroot.keepdirs ${destroot}${prefix}/var/cache/cgit 57 63 } 58 64 59 65 use_configure no 66 variant universal {} 60 67 configure.ldflags-append -liconv 61 build.env CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}" 62 destroot.env CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}" 68 69 build.args CC="${configure.cc} [get_canonical_archflags cc]" 70 build.env CFLAGS="${configure.cflags}" \ 71 LDFLAGS="${configure.ldflags}" 72 73 eval destroot.args ${build.args} 74 eval destroot.env ${build.env} 63 75 64 76 livecheck.type regex
Note: See TracChangeset
for help on using the changeset viewer.