freebsd-ports/math/dislin/Makefile
Sylvio Cesar Teixeira 8cb9a5ce48 - Update my mail address to FreeBSD
- LICPTS is a new routine for calculating a Line Integral Convolution (LIC) image of a vector field. Some algorithm parameters can be modified with the new routine LICMOD and with the already existing routines STMOPT and STMVAL.
- The routine TXTURE generates a texture image of random numbers that can be passed to the routine LICPTS as texture image.
- The new routine CRVQDR plots a coloured surface from quadrangles similar to CRVTRI that plots triangles. A smooth surface can be selected with the routine SHDMOD
- CRVT3D plots a curve in 3-D like CURV3D, but can show different thicknesses and colours at curve segments.
- The new routine IMGTPR defines a transparency colour for images that are plotted by routines such as WPIXLS, WPXROW and INCFIL. Pixels with the transparency colour will not be copied to the output format.
- MRKCLR defines the colour of symbols plotted by CURVE. The option is useful if symbols and lines are plotted by CURVE. The colour defined by MRKCLR will alse be displayed in legends.
- The routines ZBFMOD and DBFMOD can disable the Z-buffer and depth sort in Dislin
- Version 2.0 of the GSHHS shorelines managed by Paul Wessel is now supported by Dislin
- Bump due the these changes
- Plist update due of all these changes

Approved by:	miwi (mentor)
2009-11-15 00:44:02 +00:00

81 lines
2.1 KiB
Makefile

# New ports collection makefile for: linux-dislin
# Date created: 2003-12-14
# Whom: des
#
# $FreeBSD$
#
PORTNAME= dislin
PORTVERSION= 9.5
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.gwdg.de/pub/grafik/dislin/unix/
DISTNAME= ${PORTNAME}-${PORTVERSION}.fbsd${BINVER}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}_${PORTREVISION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= A scientific data plotting package
LIB_DEPENDS= f2c.2:${PORTSDIR}/lang/f2c
RESTRICTED= free for non-commercial use.
ONLY_FOR_ARCHS= i386
USE_XORG= x11
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MD5_FILE= ${MASTERDIR}/distinfo${BINVER}
PLIST_SUB+= VER=${PORTVERSION} MAJ=${MAJ}
SUB_FILES= dislin.sh pkg-message
SUB_LIST+= DISLIN_DIR=${DISLIN_DIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
DISLIN_DIR= ${PREFIX}/dislin
PROGRAMS= clink disaps disdrv disdrv_nw disdrv_w disgcl disgif dishlp \
disimg disman dismov distif dlink f2clink gclhelp gclhlp gclman
LIBS= dislin dislin_d
MAJ= ${PORTVERSION:R}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BINVER= -6.0
BINDIR= 60
.else
BINVER= -7.0
BINDIR= 70
.endif
SCRIPTS2FIX= clink dlink f2clink
pre-configure:
.for sc in ${SCRIPTS2FIX}
${REINPLACE_CMD} -e '/libs="-L$$DISLIN/s|"$$| ${PTHREAD_LIBS}"|' \
${WRKSRC}/fbsd_${BINDIR}/bin/${sc}
.endfor
do-install:
cd ${WRKSRC} && ${SETENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL
${RM} ${SCRIPTS2FIX:S|^|${DISLIN_DIR}/bin/|:S|$|.bak|}
${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin
.for _program in ${PROGRAMS}
${LN} -s ${DISLIN_DIR}/bin/dislin.sh ${PREFIX}/bin/${_program}
.endfor
.for _lib in ${LIBS}
${LN} -s ${DISLIN_DIR}/lib/${_lib}-${PORTVERSION}.a \
${PREFIX}/lib/lib${_lib}.a
${LN} -s ${DISLIN_DIR}/lib/${_lib}-${PORTVERSION}.so \
${PREFIX}/lib/lib${_lib}.so.${MAJ}
.endfor
${LN} -s ${LOCALBASE}/lib/libf2c.so ${DISLIN_DIR}/libg2c.so
${LN} -s ${LOCALBASE}/lib/libf2c.so.2 ${DISLIN_DIR}/libg2c.so.2
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DISLIN_DIR}
${CHMOD} a+r ${DISLIN_DIR}/README
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.post.mk>