aboutsummaryrefslogtreecommitdiff
path: root/french/eficas_doc/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-06-21 17:46:39 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-06-21 17:46:39 +0000
commit94fe1ac8af8a229a588dd7572549174dfcd5cb38 (patch)
tree470a5170715126d5bb19dd33d7d437c3aaca756f /french/eficas_doc/Makefile
parentd7809b6ad4147b110e757a74061e4e8c6854e3b2 (diff)
downloadports-94fe1ac8af8a229a588dd7572549174dfcd5cb38.tar.gz
ports-94fe1ac8af8a229a588dd7572549174dfcd5cb38.zip
Notes
Diffstat (limited to 'french/eficas_doc/Makefile')
-rw-r--r--french/eficas_doc/Makefile47
1 files changed, 47 insertions, 0 deletions
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 <thierry@pompo.net>
+#
+# $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 <bsd.port.mk>