1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- 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
This commit is contained in:
Ion-Mihai Tetcu 2008-06-13 08:30:57 +00:00
parent 8d08f7263a
commit 89587297e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214773
2 changed files with 25 additions and 23 deletions

View File

@ -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

View File

@ -1,21 +1,21 @@
bin/emc2
bin/prf_f3d
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/emc2-doc-en.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/emc2-doc-fr.ps.gz
%%PORTDOCS%%%%EXAMPLESDIR%%/c.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/cooler.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/culot1.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/demi_carre.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/fissure.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/gruyere.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/houman.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/levier.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/mos.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/naca.f
%%PORTDOCS%%%%EXAMPLESDIR%%/naca.pts
%%PORTDOCS%%%%EXAMPLESDIR%%/naca012.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/q.emc2_bd
%%PORTDOCS%%%%EXAMPLESDIR%%/rotor.emc2_bd
%%PORTDOCS%%%%DOCSDIR%%/emc2-en.ps
%%PORTDOCS%%%%DOCSDIR%%/emc2-fr.ps
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cooler.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/culot1.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demi_carre.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fissure.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gruyere.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/houman.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/levier.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mos.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/naca.f
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/naca.pts
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/naca012.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q.emc2_bd
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rotor.emc2_bd
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%