[29353] trunk/dports/devel/libgcrypt/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 21 14:59:01 PDT 2007


Revision: 29353
          http://trac.macosforge.org/projects/macports/changeset/29353
Author:   nox at macports.org
Date:     2007-09-21 14:59:01 -0700 (Fri, 21 Sep 2007)

Log Message:
-----------
libgcrypt:
 * Added standard doc install.
 * Added sha1 and rmd160 checksums.
 * Removed obsolete infodir configure arg.

Modified Paths:
--------------
    trunk/dports/devel/libgcrypt/Portfile

Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile	2007-09-21 21:26:38 UTC (rev 29352)
+++ trunk/dports/devel/libgcrypt/Portfile	2007-09-21 21:59:01 UTC (rev 29353)
@@ -5,6 +5,7 @@
 
 name            libgcrypt
 version         1.2.4
+revision        1
 categories      devel security
 maintainers     sfiera openmaintainer
 description     Crypto library
@@ -22,25 +23,34 @@
     supporting functions.
 
 master_sites    gnupg
-checksums       md5 3675d3e74c3a44aed629d9b12a30bb51
 use_bzip2       yes
 
+checksums       md5 3675d3e74c3a44aed629d9b12a30bb51 \
+                sha1 c72406c69d6ad9fb3fa1e9824b04566cf204093b \
+                rmd160 3ce5553e3a3e7508d3eac624c2d2296114d3df5e
+
 depends_lib     port:libgpg-error
 
-configure.args  --disable-asm --infodir=${prefix}/share/info
+configure.args  --disable-asm
 
 platform darwin 6 {
-   patchfiles-append    patch-src-ath.h
+    patchfiles-append   patch-src-ath.h
 }
 platform darwin 8 {
-   configure.compiler	gcc-4.0
+    configure.compiler  gcc-4.0
 }
 
-# Delete info dir file (yuck)
 post-destroot {
-   file delete ${destpath}/${prefix}/share/info/dir
+    # Delete info dir file (yuck)
+    delete ${destroot}${prefix}/share/info/dir
+
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING COPYING.LIB ChangeLog \
+        NEWS README THANKS TODO VERSION ${destroot}${docdir}
 }
 
 livecheck.check regex
 livecheck.url   http://mirrors.rootmode.com/ftp.gnupg.org/${name}/?O=D
 livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070921/12bed427/attachment.html


More information about the macports-changes mailing list