1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/print/py-pyscript/Makefile
Hiroki Sato 4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00

46 lines
1001 B
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.1
PORTREVISION= 5
CATEGORIES= print graphics python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module for producing high quality PostScript graphics
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_TEX= latex dvipsk
DATADIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
PYSCRIPT_EXAMPLES= doc/examples/*.py
PYSCRIPT_MANUAL= doc/manual/pyscript.pdf
.if defined(WITHOUT_EXAMPLES)
PLIST_SUB= PORTEXAMPLES="@comment "
.else
PLIST_SUB= PORTEXAMPLES=""
.endif
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>