Revision
75735
Author
jmr@macports.org
Date
2011-02-05 22:27:47 -0800 (Sat, 05 Feb 2011)

Log Message

fpp: update homepage, build with our CFLAGS, use byacc (#22599)

Modified Paths

Diff

Modified: trunk/dports/devel/fpp/Portfile (75734 => 75735)


--- trunk/dports/devel/fpp/Portfile	2011-02-06 02:29:15 UTC (rev 75734)
+++ trunk/dports/devel/fpp/Portfile	2011-02-06 06:27:47 UTC (rev 75735)
@@ -11,16 +11,20 @@
 long_description	fpp is a Fortran preprocessor for FORTRAN 77 and Fortran \
 			90 programs.
 
-homepage		http://scicomp.ewha.ac.kr/netlib/fortran/
-master_sites	http://scicomp.ewha.ac.kr/netlib/fortran/ \
+homepage		http://www.netlib.org/fortran/
+master_sites	${homepage} \
 				ftp://ftp.netlib.org/fortran/ freebsd
 distname		fdfpp
 extract.suffix	.tgz
 checksums		md5 46c29fc941b2a36ace11f6abbc4e94d2
 patchfiles		patch-Makefile patch-sparc-Makefile patch-src-Makefile.common
 
+depends_build	port:byacc
+
 use_configure	no
 
-build.args CC=${configure.cc}
+build.args	CC=${configure.cc} \
+		CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
+		YACC=byacc
 
 destroot.destdir	PREFIX=${destroot}${prefix}