diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 22:48:58 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 22:48:58 +0000 |
commit | 021719d694d1730919efe26a12e3a4ff8a4ec720 (patch) | |
tree | a0b30aefa750c6021447431b14c6ef33da953ded /math/emc2/Makefile | |
parent | 260538f8738778cabe40dc4e37ab3b7df40a79dd (diff) | |
download | ports-021719d694d1730919efe26a12e3a4ff8a4ec720.tar.gz ports-021719d694d1730919efe26a12e3a4ff8a4ec720.zip |
Notes
Diffstat (limited to 'math/emc2/Makefile')
-rw-r--r-- | math/emc2/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/math/emc2/Makefile b/math/emc2/Makefile index ad0d413c13e9..06bc6309f691 100644 --- a/math/emc2/Makefile +++ b/math/emc2/Makefile @@ -7,10 +7,7 @@ DISTVERSION= 2.16c CATEGORIES= math science MASTER_SITES= http://www.ann.jussieu.fr/~hecht/ftp/emc2/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -.if !defined(NOPORTDOCS) -DISTFILES+= RTemc2_fr.pdf RTemc2_gb.pdf EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -.endif MAINTAINER= ports@FreeBSD.org COMMENT= Graphical editor of two-dimensional mesh geometries @@ -34,21 +31,19 @@ PORTEXAMPLES= * PLIST_FILES= bin/emc2 bin/prf_f3d -NO_STAGE= yes - OPTIONS_DEFINE= DOCS +DOCS_DISTFILES= RTemc2_fr.pdf RTemc2_gb.pdf + .include <bsd.port.options.mk> do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${PREFIX}/bin - -post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |