2006-04-29 18:16:56 +02:00
|
|
|
# New ports collection makefile for: py-script
|
|
|
|
# Date created: 2006-04-28
|
|
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyscript
|
2006-06-07 21:16:34 +02:00
|
|
|
PORTVERSION= 0.6.1
|
2009-06-09 00:30:55 +02:00
|
|
|
PORTREVISION= 2
|
2008-12-28 11:54:08 +01:00
|
|
|
CATEGORIES= print graphics python
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2006-04-29 18:16:56 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2006-04-29 18:16:56 +02:00
|
|
|
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)
|
2009-06-09 00:30:55 +02:00
|
|
|
PLIST_SUB= PORTEXAMPLES="@comment "
|
2006-04-29 18:16:56 +02:00
|
|
|
.else
|
2009-06-09 00:30:55 +02:00
|
|
|
PLIST_SUB= PORTEXAMPLES=""
|
2006-04-29 18:16:56 +02:00
|
|
|
.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>
|