[45428] trunk/dports/aqua/Books/Portfile

snc at macports.org snc at macports.org
Thu Jan 15 13:31:50 PST 2009


Revision: 45428
          http://trac.macports.org/changeset/45428
Author:   snc at macports.org
Date:     2009-01-15 13:31:50 -0800 (Thu, 15 Jan 2009)
Log Message:
-----------
updated version/download per ticket #17363, add missing attrs

Modified Paths:
--------------
    trunk/dports/aqua/Books/Portfile

Modified: trunk/dports/aqua/Books/Portfile
===================================================================
--- trunk/dports/aqua/Books/Portfile	2009-01-15 20:56:57 UTC (rev 45427)
+++ trunk/dports/aqua/Books/Portfile	2009-01-15 21:31:50 UTC (rev 45428)
@@ -1,10 +1,10 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem		1.0
-PortGroup		xcode 1.0
 
 name			Books
-version			2.2.0
+version			3.2.2
 categories		aqua
 maintainers		nomaintainer
 description		Books provides a virtual card catalog for your personal library.
@@ -17,18 +17,44 @@
 					retrieval, and XML support for importing and exporting \
 					collection information in HTML and XML. 
 
+platforms       darwin
 homepage		http://books.aetherial.net/
-master_sites	http://homepage.mac.com/cjkarr/Books/
-distname		Source-${version}
-extract.suffix	.tgz
+master_sites	${homepage}downloads/
+distname		${name}_${version}
+extract.cmd     bzip2
+extract.suffix  .tbz
 
-checksums		md5 a7c75e8931dee9b5bc0733a71c3f307e \
-				sha1 2a1460331f9037c2da9112cfd03b19d62ee30d46 \
-				rmd160 0a8932fb148f389f878b1ea89211420f606d9875
+platform darwin 6 {
+pre-fetch {
+return -code error "\n
+    ${name} ${version} will not install on less than OS X 10.4 and there isn't a
+    a ${name} 2.x port contributed as yet to accomodate 10.3.9\n"
+}
+}
 
+platform darwin 7 {
+pre-fetch {
+return -code error "\n
+    ${name} ${version} will not install on less than OS X 10.4 and there isn't a
+    a ${name} 2.x port contributed as yet to accomodate 10.3.9\n"
+}
+}
+
+checksums		md5 4c832de22a99f8b30e10cd988a8dd36d \
+				sha1 e086b62972a243465bd5d1d223c93b4ac0e44f83 \
+				rmd160 4a0cf32a8d79daf92fbf80c6e92f5048fe9e82ef
+
 worksrcdir		${name}
 
+prefix          /Applications/MacPorts
 universal_variant no
+use_configure   no
+build {}
+destroot {
+    set appPath ${destroot}/Applications/MacPorts
+    xinstall -d ${appPath}
+    file copy ${worksrcpath}.app ${appPath}
+}
 
 livecheck.check	regex
 livecheck.url	http://books.aetherial.net/wordpress/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090115/f8dcf895/attachment.html>


More information about the macports-changes mailing list