Trac problems and slrn-devel upgrade

Sbranzo sbranzo at gmail.com
Wed Nov 7 12:34:35 PST 2007


On 06/11/07 15:28, Weissmann Markus wrote:
> would it be possible to supply a diff? The attached files has practically 
> nothing in common with the Portfile in trunk:
> $ slrn-devel> diff -u Portfile slrn-devel.portfile | wc -l
>       92
> $ slrn-devel> wc -l *
>       50 Portfile
>       43 slrn-devel.portfile
>       93 total

Hi,
thanks to Olaf Foellinger we have a smaller patch :-).
The only thing left is the master_sites directive because I don't know
where the sources'll be stored.

Gufo
-------------- next part --------------
--- Portfile	2007-11-07 20:57:56.000000000 +0100
+++ Portfile.new	2007-11-07 20:57:43.000000000 +0100
@@ -1,10 +1,8 @@
-# $Id: Portfile 24142 2007-04-17 10:28:26Z ryandesign at macports.org $
-
 PortSystem		1.0
 name			slrn-devel
-set betaversion		0.9.8.1pl2
-set cvsversion		20070125
-version			${betaversion}-${cvsversion}
+set betaversion		0.9.9pre
+set svnversion		43
+version			${betaversion}-${svnversion}
 categories		news net
 platforms		darwin
 maintainers		sbranzo at gmail.com
@@ -17,26 +15,19 @@
 			the SLang macro language.
 			
 master_sites 		http://ftp.debian.org/debian/pool/main/s/slrn/
-distname		slrn_${betaversion}~cvs${cvsversion}.orig
-worksrcdir      	slrn-${betaversion}~cvs${cvsversion} 
-checksums		sha1 6154f18f059c707d281a0627c7186cbe376729a4
+distname		slrn-${betaversion}-${svnversion}
+checksums		sha1 67f93dda0f8242477774fb46b6337d5d21a5d137 \
+			md5 0d48e077197b23fb1b096b790fa99d0a
 
 use_bzip2		no
 
 depends_lib		port:slang2 \
 			port:libiconv
 
-# Works for tiger (automake-1.6)
-pre-configure {
-	cd ${worksrcpath}/autoconf
-	foreach f {config.guess config.sub depcomp install-sh missing} {
-		delete ${f}
-		file link ${f} /usr/share/automake-1.6/${f}
-	}
-}
-
 configure.args		--with-libiconv-prefix=${prefix} \
 			--mandir=${prefix}/share/man
+			--with-slang-library=${prefix}/lib \
+			--with-slang-includes=${prefix}/include
 
 # adds slrnpull
 variant	pull		{ configure.args-append	--with-slrnpull }


More information about the macports-dev mailing list