blob: 6c35ae71aeef936e01663f6e3c806283ecc43727 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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>
|