diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-12-05 13:30:06 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-12-05 13:30:06 +0000 |
commit | b99add0ca9b8a734adb527719de5a03c35b2e7e0 (patch) | |
tree | 41da35e995511eb1e60a19455f4b27c157348c61 /lang/cfortran/Makefile | |
parent | 175c869d3fcd7b341b62c3a9ef4c08026a0fd8a4 (diff) | |
download | ports-b99add0ca9b8a734adb527719de5a03c35b2e7e0.tar.gz ports-b99add0ca9b8a734adb527719de5a03c35b2e7e0.zip |
Notes
Diffstat (limited to 'lang/cfortran/Makefile')
-rw-r--r-- | lang/cfortran/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/cfortran/Makefile b/lang/cfortran/Makefile new file mode 100644 index 000000000000..1c2d170a783a --- /dev/null +++ b/lang/cfortran/Makefile @@ -0,0 +1,41 @@ +# New ports collection Makefile for: cfortran +# Date created: 5 December 2008 +# Whom: gahr +# +# $FreeBSD$ +# + +PORTNAME= cfortran +PORTVERSION= 4.3 +CATEGORIES= lang +MASTER_SITES= http://www-zeus.desy.de/~burow/cfortran/ +DISTFILES= cfortran.h \ + cfortran.html \ + cfortran.doc \ + cfortran.examples.tar.gz +EXTRACT_ONLY= # none + +MAINTAINER= gahr@FreeBSD.org +COMMENT= An easy-to-use powerful bridge between C and FORTRAN + +NO_BUILD= yes +WRKSRC= ${WRKDIR} + +post-extract: +.for dfile in ${DISTFILES} + ${CP} ${DISTDIR}/${dfile} ${WRKDIR} +.endfor + +do-install: + ${INSTALL_DATA} ${WRKDIR}/cfortran.h ${PREFIX}/include +.if !defined(NOPORTDOCS) + ${INSTALL} -d ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/cfortran.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/cfortran.doc ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${INSTALL} -d ${EXAMPLESDIR} + ${TAR} --strip-components 1 -xf ${WRKDIR}/cfortran.examples.tar.gz -C ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> |