aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-12-11 18:14:15 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-12-11 18:14:15 +0000
commit58bf980d22115cf3ae2fdff24d2477ac6f7d4802 (patch)
treeab4fbab1b6ad85a058a11c1fcaef6912e9f01965
parentde3bd6724f756c45d5d4e6eec4a93d458b65041e (diff)
downloadports-58bf980d22115cf3ae2fdff24d2477ac6f7d4802.tar.gz
ports-58bf980d22115cf3ae2fdff24d2477ac6f7d4802.zip
Notes
-rw-r--r--lang/cfortran/Makefile12
-rw-r--r--lang/cfortran/distinfo24
2 files changed, 19 insertions, 17 deletions
diff --git a/lang/cfortran/Makefile b/lang/cfortran/Makefile
index 1c2d170a783a..d2ed6ca41b84 100644
--- a/lang/cfortran/Makefile
+++ b/lang/cfortran/Makefile
@@ -13,6 +13,7 @@ DISTFILES= cfortran.h \
cfortran.html \
cfortran.doc \
cfortran.examples.tar.gz
+DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= # none
MAINTAINER= gahr@FreeBSD.org
@@ -23,19 +24,20 @@ WRKSRC= ${WRKDIR}
post-extract:
.for dfile in ${DISTFILES}
- ${CP} ${DISTDIR}/${dfile} ${WRKDIR}
+ ${CP} ${_DISTDIR}/${dfile} ${WRKSRC}
.endfor
+ (cd ${WRKSRC} && ${TAR} -xf cfortran.examples.tar.gz)
do-install:
- ${INSTALL_DATA} ${WRKDIR}/cfortran.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/cfortran.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${INSTALL} -d ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/cfortran.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/cfortran.doc ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfortran.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfortran.doc ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${INSTALL} -d ${EXAMPLESDIR}
- ${TAR} --strip-components 1 -xf ${WRKDIR}/cfortran.examples.tar.gz -C ${EXAMPLESDIR}
+ (cd ${WRKSRC}/eg && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff --git a/lang/cfortran/distinfo b/lang/cfortran/distinfo
index 68fbf5f777e7..cbcb28913803 100644
--- a/lang/cfortran/distinfo
+++ b/lang/cfortran/distinfo
@@ -1,12 +1,12 @@
-MD5 (cfortran.h) = 9584ad8f63c417c13109f53034d3fb79
-SHA256 (cfortran.h) = 6006fe2714e698a879198e8d8fe93c4e7f76248b8cc5310bead4f37701ac9340
-SIZE (cfortran.h) = 126566
-MD5 (cfortran.html) = 3ca264b614878723f5ba7e83b8f2b6c8
-SHA256 (cfortran.html) = e5b92848931197524e9e9c775915e04eb65612d7554d395041d65d8cd8fb7e6a
-SIZE (cfortran.html) = 108812
-MD5 (cfortran.doc) = 15fcd35aaf742c6cc192a9dda1458c36
-SHA256 (cfortran.doc) = f5c307cd176ef9aa4b1264ba571755c04fcac2573fa110c8e5f1b68f322817c9
-SIZE (cfortran.doc) = 94082
-MD5 (cfortran.examples.tar.gz) = d346b3ffa8fe3220de01690e769b1af7
-SHA256 (cfortran.examples.tar.gz) = e7799551cf92e20b6dceb50248ef36aafed519ca564ffe2c7fbe43c39ce46f57
-SIZE (cfortran.examples.tar.gz) = 16435
+MD5 (cfortran/cfortran.h) = 9584ad8f63c417c13109f53034d3fb79
+SHA256 (cfortran/cfortran.h) = 6006fe2714e698a879198e8d8fe93c4e7f76248b8cc5310bead4f37701ac9340
+SIZE (cfortran/cfortran.h) = 126566
+MD5 (cfortran/cfortran.html) = 3ca264b614878723f5ba7e83b8f2b6c8
+SHA256 (cfortran/cfortran.html) = e5b92848931197524e9e9c775915e04eb65612d7554d395041d65d8cd8fb7e6a
+SIZE (cfortran/cfortran.html) = 108812
+MD5 (cfortran/cfortran.doc) = 15fcd35aaf742c6cc192a9dda1458c36
+SHA256 (cfortran/cfortran.doc) = f5c307cd176ef9aa4b1264ba571755c04fcac2573fa110c8e5f1b68f322817c9
+SIZE (cfortran/cfortran.doc) = 94082
+MD5 (cfortran/cfortran.examples.tar.gz) = d346b3ffa8fe3220de01690e769b1af7
+SHA256 (cfortran/cfortran.examples.tar.gz) = e7799551cf92e20b6dceb50248ef36aafed519ca564ffe2c7fbe43c39ce46f57
+SIZE (cfortran/cfortran.examples.tar.gz) = 16435