[23302] trunk/dports/devel/slib-guile/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 28 09:43:12 PDT 2007


Revision: 23302
          http://trac.macosforge.org/projects/macports/changeset/23302
Author:   mas at macports.org
Date:     2007-03-28 09:43:12 -0700 (Wed, 28 Mar 2007)

Log Message:
-----------
add variant +guile16 to use guile16 instead of the standard (current) guile package; depend on ports instead of library files; whitespace and documentation cleanup; claim maintainership while I'm at it

Modified Paths:
--------------
    trunk/dports/devel/slib-guile/Portfile

Modified: trunk/dports/devel/slib-guile/Portfile
===================================================================
--- trunk/dports/devel/slib-guile/Portfile	2007-03-28 16:35:45 UTC (rev 23301)
+++ trunk/dports/devel/slib-guile/Portfile	2007-03-28 16:43:12 UTC (rev 23302)
@@ -3,23 +3,32 @@
 PortSystem 1.0
 name		slib-guile
 version		1.0
-revision	1
+revision	2
 categories	devel
-maintainers	nomaintainer at macports.org
+maintainers	mas at macports.org
 platforms	darwin
 description	Wrapper port to properly set up slib and guile together
-long_description	${description}
-depends_lib	lib:slib:slib lib:guile:guile
+long_description	Create two symbolic links and a catalog file \
+			so that guile can find the slib library files.
+depends_lib	port:slib port:guile
 distfiles
 
 use_configure	no
+
 build {}
+
 destroot {
 	system "mkdir -p ${workpath}/destroot/${prefix}/share/guile"
 	system "mkdir -p ${workpath}/destroot/${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`"
 	system "ln -s ${prefix}/lib/slib ${workpath}/destroot/${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`/slib"
 	file link -s ${workpath}/destroot/${prefix}/share/guile/slib ${prefix}/lib/slib
 }
+
 post-activate {
 	system "${prefix}/bin/guile -c \"(use-modules (ice-9 slib)) (require 'new-catalog)\""
 }
+
+variant guile16 {
+	depends_lib-delete	port:guile
+	depends_lib-append	port:guile16
+}

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


More information about the macports-changes mailing list