Update ports URL

Victor Balada Diaz victor at bsdes.net
Wed Aug 9 11:14:37 PDT 2006


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$)))))
 




More information about the Submit mailing list