DragonFly BSD
DragonFly submit List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Update ports URL


From: Victor Balada Diaz <victor@xxxxxxxxx>
Date: Wed, 9 Aug 2006 20:08:55 +0200

Hi,
this is an update so that the generated links of <filename
role="package"> point to pkgsrc.se instead of FreeBSD ports url.

-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 
Index: dragonfly.dsl
===================================================================
RCS file: /dcvs/doc/share/sgml/dragonfly.dsl,v
retrieving revision 1.5
diff -u -r1.5 dragonfly.dsl
--- dragonfly.dsl	9 Aug 2006 03:52:13 -0000	1.5
+++ dragonfly.dsl	9 Aug 2006 17:58:51 -0000
@@ -213,10 +213,8 @@
 	  (let*	((class		(attribute-string (normalize "role"))))
 	    (cond
 	     ((equal? class "package")
-	      (let* ((urlurl	"http://www.FreeBSD.org/cgi/url.cgi";)
-		     (href	(string-append urlurl "?ports/"
-					       (data (current-node))
-					       "/pkg-descr")))
+	      (let* ((urlurl	"http://pkgsrc.se/";)
+		     (href	(string-append urlurl (data (current-node)))))
 		(create-link (list (list "HREF" href)) ($mono-seq$))))
 	     (else ($mono-seq$)))))
 


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]