aboutsummaryrefslogtreecommitdiffstats
path: root/math/emc2/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-13 16:30:57 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-13 16:30:57 +0800
commitc7565b7bcaa19497ee74f9bb487a9b4fbcad38fd (patch)
tree771ee22e1306eb233abb8a10ddeeff6b80561a62 /math/emc2/Makefile
parentb6cd5569705c6dc639c98f55c588d90f58797556 (diff)
downloadfreebsd-ports-gnome-c7565b7bcaa19497ee74f9bb487a9b4fbcad38fd.tar.gz
freebsd-ports-gnome-c7565b7bcaa19497ee74f9bb487a9b4fbcad38fd.tar.zst
freebsd-ports-gnome-c7565b7bcaa19497ee74f9bb487a9b4fbcad38fd.zip
- unbreak for -D NOPORTDOCS
- use PORTDOCS and PORTEXAMPLES as it should - install directly useable docs (.ps not .ps.gz) - bump PORTREVISION Submitted by: my QA Tindy run
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