diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-04-02 20:12:22 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-04-02 20:12:22 +0000 |
commit | f1568185f1e0f9f532775a1b4927d61a3743175e (patch) | |
tree | f9b70ddfad99c500f284ccf1200883285687e57e | |
parent | ed1fb92b15942b7b2127ae892a0d6673ae9f0e25 (diff) | |
download | ports-f1568185f1e0f9f532775a1b4927d61a3743175e.tar.gz ports-f1568185f1e0f9f532775a1b4927d61a3743175e.zip |
This is still version 7.4.0, but tarball has been rerolled and it
includes some minor updates.
Remove BROKEN on non-i386.
Notes
Notes:
svn path=/head/; revision=132257
-rw-r--r-- | french/aster/Makefile | 31 | ||||
-rw-r--r-- | french/aster/distinfo | 4 | ||||
-rw-r--r-- | french/aster/files/pkg-message.in | 6 | ||||
-rw-r--r-- | french/aster/pkg-plist | 4 |
4 files changed, 29 insertions, 16 deletions
diff --git a/french/aster/Makefile b/french/aster/Makefile index 52b5c91facbb..a69dec16ba0a 100644 --- a/french/aster/Makefile +++ b/french/aster/Makefile @@ -7,10 +7,10 @@ PORTNAME= aster PORTVERSION= 7.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= french cad python MASTER_SITES= http://www.code-aster.org/FICHIERS/ -DISTNAME= ${PORTNAME}-full-src-${PORTVERSION}-4 +DISTNAME= ${PORTNAME}-full-src-${PORTVERSION}-5 MAINTAINER= ports@FreeBSD.org COMMENT= Analyse des structures et thermo-mécanique @@ -62,12 +62,14 @@ PKGMESSIN= pkg-message.in .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD-4.x, and cannot be patched easily." +.if ${ARCH} == "i386" +FLAGARCH= P_LINUX # 32 bits +.else +FLAGARCH= TRU64 # 64 bits .endif -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile on FreeBSD-4.x, and cannot be patched easily." .endif .if defined(WITH_BLAS) @@ -184,11 +186,14 @@ pre-configure: @${ECHO_CMD} "_install_Pmw = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_Numeric = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_gmsh = False" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "_install_gibi = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_homard = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_eficas = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_astk = False" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "_install_astk_serv = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_metis = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "_install_crpcrs = False" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "_install_aster_Linux = False" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "HOME_HDF='${hdf_dir}'" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "HOME_MED='${LOCALBASE}'" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "HOME_TCL_TK='${tcl_dir}'" >> ${WRKSRC}/setup.cfg @@ -197,11 +202,11 @@ pre-configure: @${ECHO_CMD} "SHELL_EXECUTION='${SHELL_INSTALL_ASTER}'" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "EDITOR='${WITH_ED}'" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "LDFLAGS='-v ${LDFLAGS}'" >> ${WRKSRC}/setup.cfg - @${ECHO_CMD} "FFLAGS='-c ${FFLAGS} -DP_LINUX'" >> ${WRKSRC}/setup.cfg - @${ECHO_CMD} "FFLAGS_DBG='-c -g -O -DP_LINUX'" >> ${WRKSRC}/setup.cfg - @${ECHO_CMD} "CFLAGS='-c ${CFLAGS} ${PTHREAD_CFLAGS} -DP_LINUX'" \ + @${ECHO_CMD} "FFLAGS='-c ${FFLAGS} -D${FLAGARCH}'" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "FFLAGS_DBG='-c -g -O -D${FLAGARCH}'" >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} "CFLAGS='-c ${CFLAGS} ${PTHREAD_CFLAGS} -D${FLAGARCH}'" \ >> ${WRKSRC}/setup.cfg - @${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe ${PTHREAD_CFLAGS} -DP_LINUX'" \ + @${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe ${PTHREAD_CFLAGS} -D${FLAGARCH}'" \ >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "SYSLIBS='-Xlinker -export-dynamic ${PTHREAD_LIBS} -lutil -lm -lz -lg2c'" \ >> ${WRKSRC}/setup.cfg @@ -229,11 +234,13 @@ pre-install: do-install: ${MKDIR} ${tools_dir} ${inst_dir} - ${INSTALL_PROGRAM} ${WRKSRC}/instdir/${vaster}/asteru.exe ${inst_dir} - ${INSTALL_SCRIPT} ${WRKSRC}/instdir/${vaster}/asterd.exe ${inst_dir} # Don't strip! + ${INSTALL_PROGRAM} ${WRKSRC}/instdir/${vaster}/asteru ${inst_dir} + ${INSTALL_SCRIPT} ${WRKSRC}/instdir/${vaster}/asterd ${inst_dir} # Don't strip! .for FILE in ${DAT2FIX} ${SED} -e 's|${WRKSRC}/instdir/${vaster}|${inst_dir}|g' \ -e 's|${WRKSRC}/instdir/outils|${tools_dir}|g' \ + -e 's|P mode astout|P mode interactif|' \ + -e 's|P mode forma01a|P mode interactif|' \ < ${WRKSRC}/instdir/${vaster}/${FILE} > ${inst_dir}/${FILE} .endfor .for FILE in ${INST_DAT} ${INST_PY} diff --git a/french/aster/distinfo b/french/aster/distinfo index d88019d17835..79f4cda50b2c 100644 --- a/french/aster/distinfo +++ b/french/aster/distinfo @@ -1,2 +1,2 @@ -MD5 (aster-full-src-7.4.0-4.tar.gz) = a685292db713eb846c2cdff9164d6c0b -SIZE (aster-full-src-7.4.0-4.tar.gz) = 95276818 +MD5 (aster-full-src-7.4.0-5.tar.gz) = 35aa65b0b3885e678c1c9ee3e16ad9c2 +SIZE (aster-full-src-7.4.0-5.tar.gz) = 95266285 diff --git a/french/aster/files/pkg-message.in b/french/aster/files/pkg-message.in index 0ecf2fd95eb9..c2d74769636b 100644 --- a/french/aster/files/pkg-message.in +++ b/french/aster/files/pkg-message.in @@ -1,3 +1,6 @@ +Veuillez exporter la variable d'environnement HDF5_DISABLE_VERSION_CHECK +positionnée à 1. + Pour lancer Code_Aster via ASTK, entrez : %%tools_dir%%/astk @@ -6,6 +9,9 @@ et french/homard, deux outils de maillage additionnels. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +Please set the environment variable 'HDF5_DISABLE_VERSION_CHECK' to a value +of '1'. + To run Code_Aster through ASTK, type: %%tools_dir%%/astk diff --git a/french/aster/pkg-plist b/french/aster/pkg-plist index 2d41b5aff4bd..102cf0394de9 100644 --- a/french/aster/pkg-plist +++ b/french/aster/pkg-plist @@ -1,7 +1,7 @@ %%ASTERDIR%%/GPL.txt %%ASTERDIR%%/LICENSE.TERMS -%%ASTERDIR%%/asterd.exe -%%ASTERDIR%%/asteru.exe +%%ASTERDIR%%/asterd +%%ASTERDIR%%/asteru %%ASTERDIR%%/astest/adls102a.comm %%ASTERDIR%%/astest/adls102a.datg %%ASTERDIR%%/astest/adls102a.export |