1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/math/asymptote/Makefile
Pav Lucistnik e3fc91ce80 - Mark BROKEN: fails to build
cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ markers1.asy
  ../base/plain_xasy.asy: 93.7: runtime: Command exited abnormally: gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -dEPSCrop -dSAFER -r72x72 -sOutputFile=png/markers1.png png/markers1_.eps
  gmake[2]: *** [markers1.png] Error 1

Reported by:	pointyhat
2012-02-02 20:30:24 +00:00

85 lines
2.1 KiB
Makefile

# New ports collection makefile for: asymptote
# Date created: 2005-07-22
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= asymptote
PORTVERSION= 2.04
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
SF/${PORTNAME}/${PORTNAME}/old/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
EXTRACT_SUFX= .tgz
MAINTAINER= nivit@FreeBSD.org
COMMENT= A powerful script-based vector graphics language
.if defined(WITH_GSL)
LIB_DEPENDS+= gsl.16:${PORTSDIR}/math/gsl
.endif
.if defined(WITH_FFTW)
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
.endif
BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
dvips:${PORTSDIR}/print/dvipsk-tetex \
latex:${PORTSDIR}/print/teTeX-base \
makeinfo:${PORTSDIR}/textproc/texi2html \
${MKTEXLSR}:${PORTSDIR}/print/teTeX-base \
svn:${PORTSDIR}/devel/subversion \
texi2dvi:${PORTSDIR}/print/texinfo
RUN_DEPENDS= gv:${PORTSDIR}/print/gv \
latex:${PORTSDIR}/print/teTeX-base \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_3:${PORTSDIR}/graphics/py-imaging
BROKEN= fails to build
ONLY_FOR_ARCHS= i386 amd64
# it requires boehm-gc 7.X
CONFIGURE_ARGS= --disable-gc
USE_GHOSTSCRIPT=yes
USE_GL= glut
USE_GMAKE= yes
USE_PYTHON= yes
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-latex=${LOCALBASE}/share/texmf/tex/latex \
--with-context=${LOCALBASE}/share/texmf/tex/context/third
CONFIGURE_ENV= LFLAGS="-L${LOCALBASE}/lib $${LFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV+= ${CONFIGURE_ENV}
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
ALL_TARGET= asy asy-keywords.el
INSTALL_TARGET= install-asy install-texhash
# Documentation
.if !defined(NOPORTDOCS)
MAN1= asy.1 xasy.1x
INFO= asy-faq
ALL_TARGET+= html man
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
INSTALL_TARGET+= install-html install-man
.endif
RM_OPTS= -R
post-install:
# Examples
.if defined(NOPORTEXAMPLES)
@${RM} ${RM_OPTS} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>