Ignore:
Timestamp:
Jun 9, 2013, 6:12:57 PM (7 years ago)
Author:
aronnax@…
Message:

htcondor: update to 8.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/htcondor/Portfile

    r105542 r106881  
    77PortGroup               active_variants 1.1
    88
    9 github.setup            htcondor htcondor 7_8_8 V
     9github.setup            htcondor htcondor 8_0_0 V
    1010version                 [strsed ${github.version} g/_/\./]
    1111maintainers             aronnax
     
    3939}
    4040
    41 checksums               rmd160  05bf7ab149aef9590776efe3f48c83a7038f346d \
    42                         sha256  2077dcc0e74d84f45793b50dde84854519931649fad9c6a33550a5fa715a6f21
     41checksums               rmd160  d7a11387a78b1a25d2ecd04f2d136d74f2f5fb6c \
     42                        sha256  d07e2ccc24beefc84f5c878b702468e52ca20a26ef326b3eca2a2c531fa95876
    4343
    4444depends_build-append    port:latex2html
     
    4848                        port:kerberos5 \
    4949                        port:openssl \
    50                         port:pcre
     50                        port:pcre \
     51                        port:python27
    5152
    5253license_noconflict      latex2html
     
    5657# @executable_path/../lib/libexpat.1.dylib, etc. Why?
    5758patchfiles              patch-src-condor_scripts-macosx_rewrite_libs.diff \
    58                         patch-src-condor_utils-condor_config.cpp.diff
     59                        patch-src-condor_utils-condor_config.cpp.diff \
     60                        patch-src-python-bindings-CMakeLists.txt.diff \
     61                        patch-build-cmake-CondorPackageConfig.cmake.diff
    5962
    6063post-patch {
     
    6568
    6669# FIXME: Globus support is disabled because Globus is not available in MacPorts.
    67 configure.args-append   -DWITH_GLOBUS:BOOL="0"
     70configure.args-append   -DWITH_GLOBUS:BOOL="0" -DBUILD_TESTING:BOOL="0" -DC_PYTHONARCHLIB:PATH="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"
    6871
     72# Man pages are not part of the default build target.
    6973post-build {
    7074    system -W ${worksrcpath}/doc "make just-man-pages"
    7175}
    7276
     77# These are empty directories that are needed by the personal Condor pool.
    7378destroot.keepdirs       ${destroot}${prefix}/etc/condor/config.d \
    7479                        ${destroot}${prefix}/var/lib/condor/execute \
     
    7984# ${prefix}/share/doc/${name}.
    8085post-destroot {
     86    # Move manpages into place.
    8187    eval xinstall [glob ${worksrcpath}/doc/man/man1/*] \
    8288        ${destroot}${prefix}/share/man/man1
    8389
     90    # Remove SysV-init and Fedora-style service scripts.
     91    # See https://htcondor-wiki.cs.wisc.edu/index.cgi/tktview?tn=3684
     92    file delete ${destroot}${prefix}/etc/init.d/condor
     93    file delete ${destroot}${prefix}/etc/sysconfig/condor
     94
     95    # Remove packaging scripts.
    8496    file delete ${destroot}${prefix}/sbin/condor_configure
    8597    file delete ${destroot}${prefix}/sbin/condor_install
     98
     99    # Move documentation into ${prefix}/share.
    86100    file mkdir ${destroot}${prefix}/share/doc/${name}
    87101    move \
    88       ${destroot}${prefix}/DOC \
    89102      ${destroot}${prefix}/examples \
    90       ${destroot}${prefix}/INSTALL \
    91103      ${destroot}${prefix}/LICENSE-2.0.txt \
    92104      ${destroot}${prefix}/README \
    93105      ${destroot}${prefix}/share/doc/${name}
    94106
     107    # Move example configuration files from ${prefix}/etc to ${prefix}/share.
     108    move \
     109      ${destroot}${prefix}/etc/examples \
     110      ${destroot}${prefix}/share/doc/${name}/examples/config
     111
     112    # If deploying a personal Condor pool, create all necessary directories.
    95113    if {[variant_isset personal]} {
    96114        xinstall -d ${destroot}${prefix}/etc/condor/config.d
Note: See TracChangeset for help on using the changeset viewer.