# $Id$ PortSystem 1.0 name perl5 version 5.8.8 revision 1 categories lang platforms darwin freebsd linux maintainers mcalhoun #description Perl 5 - Practical Extraction and Report Language (maintenance release) #long_description \ # Perl is a general-purpose programming language originally developed \ # for text manipulation and now used for a wide range of tasks including \ # system administration, web development, network programming, GUI \ # development, and more. #distname perl-${version} #use_bzip2 yes homepage http://www.perl.org/ #master_sites http://www.cpan.org/src/ #checksums md5 a377c0c67ab43fd96eeec29ce19e8382 \ # sha1 4aab490040727ca4419098720eca2ba4367df539 \ # rmd160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b # See http://trac.macports.org/changeset/34508 #patchfiles patch-makedepend.diff #platform darwin { # post-patch { # # See http://trac.macports.org/changeset/10638 # reinplace "s| socket bind inet | socket inet |g" ${worksrcpath}/Configure # # reinplace "s|ld=\"MACOSX_DEPLOYMENT_TARGET=10.3|ld=\"env MACOSX_DEPLOYMENT_TARGET=10.3|g" ${worksrcpath}/hints/darwin.sh # } #} #post-patch { # reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure # reinplace "s|ld='cc';||" ${worksrcpath}/hints/darwin.sh #} #configure.env LC_ALL=C #configure.cmd /bin/sh Configure #configure.pre_args #configure.post_args -des \ # -D prefix='${prefix}' \ # -D ccflags=\${CCFLAGS} \ # -D ldflags=\${LDFLAGS} \ # -D vendorprefix='${prefix}' \ # -D man3ext='3pm' \ # -D cc=\${CC} \ # -D ld=\${CC} ####################################################### fetch {} checksum {} extract {} use_configure no build {} description Placeholder port. See http://trac.macports.org/ticket/16830 long_description ${description} destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt" } archive {} livecheck.check none master_sites depends_lib port:perl5.8 ####################################################### universal_variant no #test.run yes #post-destroot { # ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name #} #variant threads description {Build with thread support} { # configure.args-append -Dusethreads #} #variant shared description {Build shared perl library} { # configure.args-append -Duseshrplib #} #platform darwin 9 { # post-patch { # if {[variant_isset shared]} { # reinplace \ # "s|\$(CC) \$(CLDFLAGS) \$(NAMESPACEFLAGS) -o miniperl |\$(CC) \$(CLDFLAGS) -o miniperl |g" \ # ${worksrcpath}/Makefile.SH # reinplace \ # "s|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) \$(LLIBPERL) \$(libs)|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) perl\$(OBJ_EXT) \$(filter-out op\$(OBJ_EXT),\$(obj)) \$(libs)|g" \ # ${worksrcpath}/Makefile.SH # } # } #} #livecheck.check regex #livecheck.url ${master_sites} #livecheck.regex latest_maint_is_(5\\.\\d+(?:\\.\\d+)*)