aboutsummaryrefslogtreecommitdiff
path: root/math/emc2/Makefile
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-13 08:30:57 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-13 08:30:57 +0000
commit89587297e025195a99636adbc384b66a1ac2c414 (patch)
tree9e7bdb3ca3e4f48c5f5f7aa90057918f6d85c272 /math/emc2/Makefile
parent8d08f7263a5ef557c80c7ca0bc8311d9286fef25 (diff)
Notes
Diffstat (limited to 'math/emc2/Makefile')
-rw-r--r--math/emc2/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/math/emc2/Makefile b/math/emc2/Makefile
index 5252a0f64f77..8475e5e2ee99 100644
--- a/math/emc2/Makefile
+++ b/math/emc2/Makefile
@@ -7,13 +7,13 @@
PORTNAME= emc2
PORTVERSION= 2.15
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math science
MASTER_SITES= http://www-c.inria.fr/gamma/cdrom/ftp/emc2/ \
http://www-rocq1.inria.fr/gamma/cdrom/ftp/emc2/
+DISTFILES= ${PORTNAME}${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
-DISTFILES= ${PORTNAME}${EXTRACT_SUFX} \
- ${PORTNAME}-doc-en.ps.gz ${PORTNAME}-doc-fr.ps.gz
+DISTFILES+= ${PORTNAME}-doc-en.ps.gz ${PORTNAME}-doc-fr.ps.gz
EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
.endif
@@ -37,10 +37,12 @@ post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
-.for doc in ${PORTNAME}-doc-en.ps.gz ${PORTNAME}-doc-fr.ps.gz
- @${INSTALL_DATA} ${DISTDIR}/${doc} ${DOCSDIR}
-.endfor
+ @${GZCAT} ${DISTDIR}/${PORTNAME}-doc-en.ps.gz > ${DOCSDIR}/${PORTNAME}-en.ps
+ @${GZCAT} ${DISTDIR}/${PORTNAME}-doc-fr.ps.gz > ${DOCSDIR}/${PORTNAME}-fr.ps
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif