From 94fe1ac8af8a229a588dd7572549174dfcd5cb38 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 21 Jun 2009 17:46:39 +0000 Subject: This port installs the documentation files of Eficas (See the port french/eficas). WWW: http://www.code-aster.org/ --- french/eficas_doc/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 french/eficas_doc/Makefile (limited to 'french/eficas_doc/Makefile') diff --git a/french/eficas_doc/Makefile b/french/eficas_doc/Makefile new file mode 100644 index 000000000000..6c35ae71aeef --- /dev/null +++ b/french/eficas_doc/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: eficas-doc +# Date created: 15 June 2009 +# Whom: Thierry Thomas +# +# $FreeBSD$ +# + +PORTNAME= eficas_doc +DISTVERSIONPREFIX= full-src- +DISTVERSION= 1.16.0-1 +DISTVERSIONSUFFIX= .noarch +CATEGORIES= french cad +MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/ +DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= ASter Command FIle Editor - doc files + +RUN_DEPENDS= eficas:${PORTSDIR}/french/eficas + +ASTER_VER= 10.0.3 +ASTER_DISTVERSION= ${ASTER_VER}-2 +EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC + +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME:S/_doc//}-${PORTVERSION:R}/Aster +PKG_INSTALL= pkg-install + +DOCSDIR= ${PREFIX}/share/doc/eficas +LEFICASDIR?= apps/${PORTNAME:S/_doc//} +EFICASDIR= ${PREFIX}/${LEFICASDIR} +PLIST_SUB= EFICASDIR=${LEFICASDIR} + +post-extract: + (cd ${WRKDIR} && \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}) + +pre-install: + PKG_PREFIX=${PREFIX} ${SH} ${PKG_INSTALL} ${PKGNAME} PRE-INSTALL + +do-install: + ${MKDIR} ${DOCSDIR} ${EFICASDIR}/Aster/Cata + (cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) + (cd ${WRKSRC}/Cata && \ + ${COPYTREE_SHARE} \* ${EFICASDIR}/Aster/Cata) + +.include -- cgit v1.2.3