aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-09-17 05:23:17 +0800
committerthierry <thierry@FreeBSD.org>2010-09-17 05:23:17 +0800
commit5ade3514263ce85eaf88dc2885518c423991152d (patch)
tree18b6737deca8813b479881617efba225503ee4ab
parent601a74fa4ee2e9372dc0a149606a586ef388e563 (diff)
downloadfreebsd-ports-gnome-5ade3514263ce85eaf88dc2885518c423991152d.tar.gz
freebsd-ports-gnome-5ade3514263ce85eaf88dc2885518c423991152d.tar.zst
freebsd-ports-gnome-5ade3514263ce85eaf88dc2885518c423991152d.zip
Upgrade to 1.8.3 and depends on Tcl/Tk 8.5.
-rw-r--r--cad/astk-serveur/Makefile18
-rw-r--r--cad/astk-serveur/distinfo3
-rw-r--r--cad/astk-serveur/pkg-plist10
3 files changed, 17 insertions, 14 deletions
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile
index ab0b5786fb7e..92a6aa17824d 100644
--- a/cad/astk-serveur/Makefile
+++ b/cad/astk-serveur/Makefile
@@ -6,17 +6,13 @@
#
PORTNAME= astk
-PORTVERSION= 1.8.1
-DISTVERSIONPREFIX= full-src-
-DISTVERSIONSUFFIX= .noarch
+PORTVERSION= 1.8.3
CATEGORIES= cad
-MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
.if !defined(CLIENT_SEUL)
PKGNAMESUFFIX= -serveur
.else
PKGNAMESUFFIX= -client
.endif
-DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT?= Graphical interface for Code_Aster (server side)
@@ -35,6 +31,8 @@ COMMENT?= Graphical interface for Code_Aster (server side)
# for the server part, but it is not set to avoid circular dependences.
RUN_DEPENDS+= ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}
+LICENSE= GPLv2
+
.if !defined(CLIENT_SEUL)
USE_PYTHON= yes
.endif
@@ -96,12 +94,11 @@ FILESDIR= ${PATCHDIR}
SLAVEDIRS= cad/astk-client
-TK_VER?= 8.4
+TK_VER?= 8.5
TCL_VER?= ${TK_VER}
SHORT_TK_VER= ${TK_VER:S/.//}
BWidget_VER= 1.7.0
-ASTER_VER= 10.2.0
vaster= STA${ASTER_VER:R}
ETCDIR= ${PREFIX}/aster/etc/codeaster
@@ -171,10 +168,6 @@ ASTK_LANG= FR
ASTK_LANG= ENG
.endif
-post-extract:
- (cd ${WRKDIR} && \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
-
pre-configure:
${RM} ${PATCH2RM:C|^|${WRKSRC}/|:C|$|.orig|}
@@ -231,6 +224,8 @@ do-configure:
${REINPLACE_CMD} -e 's|%%MAKE_JOBS_NUMBER%%|1|' ${WRKSRC}/asrun/system.py
. endif
${REINPLACE_CMD} -e 's|bash|${SHIA}|' ${WRKSRC}/asrun/system_command.py
+ ${REINPLACE_CMD} -e 's|/usr/bin/|${LOCALBASE}/bin/|;s|LINUX|FREEBSD|' \
+ ${WRKSRC}/asrun/core/configuration.py
.else
# CLIENT_SEUL
. for scripts in ${C_SCRIPTS}
@@ -283,4 +278,5 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
.include <bsd.port.post.mk>
diff --git a/cad/astk-serveur/distinfo b/cad/astk-serveur/distinfo
deleted file mode 100644
index da93a363feb7..000000000000
--- a/cad/astk-serveur/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (aster-full-src-10.2.0-1.noarch.tar.gz) = b2ba78c4d41d40933a98e21f16f3ec3d
-SHA256 (aster-full-src-10.2.0-1.noarch.tar.gz) = 99fe143121ffde6089335163902a75805ba61fe559c3176846db1452491b5d48
-SIZE (aster-full-src-10.2.0-1.noarch.tar.gz) = 181662707
diff --git a/cad/astk-serveur/pkg-plist b/cad/astk-serveur/pkg-plist
index 2274ab575372..3409ac7f1352 100644
--- a/cad/astk-serveur/pkg-plist
+++ b/cad/astk-serveur/pkg-plist
@@ -245,6 +245,15 @@
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.py
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyc
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyo
+%%SERV%%%%ASTKDIR%%/asrun/core/__init__.py
+%%SERV%%%%ASTKDIR%%/asrun/core/__init__.pyc
+%%SERV%%%%ASTKDIR%%/asrun/core/__init__.pyo
+%%SERV%%%%ASTKDIR%%/asrun/core/configuration.py
+%%SERV%%%%ASTKDIR%%/asrun/core/configuration.pyc
+%%SERV%%%%ASTKDIR%%/asrun/core/configuration.pyo
+%%SERV%%%%ASTKDIR%%/asrun/core/default_configuration.py
+%%SERV%%%%ASTKDIR%%/asrun/core/default_configuration.pyc
+%%SERV%%%%ASTKDIR%%/asrun/core/default_configuration.pyo
%%SERV%%%%ASTKDIR%%/asrun/ctl/__init__.py
%%SERV%%%%ASTKDIR%%/asrun/ctl/__init__.pyc
%%SERV%%%%ASTKDIR%%/asrun/ctl/__init__.pyo
@@ -465,6 +474,7 @@
%%SERV%%@dirrm %%ASTKDIR%%/bin
%%SERV%%@dirrm %%ASTKDIR%%/asrun/dev
%%SERV%%@dirrm %%ASTKDIR%%/asrun/ctl
+%%SERV%%@dirrm %%ASTKDIR%%/asrun/core
%%SERV%%@dirrm %%ASTKDIR%%/asrun/contrib
%%SERV%%@dirrm %%ASTKDIR%%/asrun/common
%%SERV%%@dirrm %%ASTKDIR%%/asrun