d3491cad06
graphics. Rather than use a GUI to draw a picture, the picture is programmed using python and the PyScript objects. Some of the key features are: * All scripting is done in python, which is a high level, easy to learn, well-developed scripting language. * All the objects can be translated, scaled, rotated, ... in fact any affine transformation. * Plain text is automatically kerned. * You can place arbitrary LaTeX expressions on your figures. * You can create your own figure objects, and develop a library of figure primitives. * Output is publication quality. Author: Alexei Gilchrist, Paul Cochrane <aalexei@users.sourceforge.net> WWW: http://pyscript.sourceforge.net/ PR: ports/96482 Submitted by: Nicola Vitale <nivit@email.it>
48 lines
1 KiB
Makefile
48 lines
1 KiB
Makefile
# New ports collection makefile for: py-script
|
|
# Date created: 2006-04-28
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyscript
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= print graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nivit@email.it
|
|
COMMENT= Python module for producing high quality PostScript graphics
|
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
|
|
dvips:${PORTSDIR}/print/dvipsk-tetex
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
DATADIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
|
|
|
|
PYSCRIPT_EXAMPLES= doc/examples/*.py
|
|
PYSCRIPT_MANUAL= doc/manual/pyscript.pdf
|
|
|
|
.if defined(WITHOUT_EXAMPLES)
|
|
PORTEXAMPLES= "@comment "
|
|
.else
|
|
PORTEXAMPLES= ""
|
|
.endif
|
|
PLIST_SUB+= PORTEXAMPLES=${PORTEXAMPLES}
|
|
|
|
post-install:
|
|
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PYSCRIPT_EXAMPLES} ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PYSCRIPT_MANUAL} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|