freebsd-ports/print/py-pyscript/Makefile
Marcus von Appen d45fbf3040 - Convert ports of news/ and print/ to new USES=python
Approved by: portmgr (implicit)
2014-10-24 16:42:59 +00:00

36 lines
847 B
Makefile

# Created by: 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
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS EXAMPLES
PYSCRIPT_MANUAL=doc/manual/pyscript.pdf
USES= python
USE_PYTHON= distutils
USE_TEX= latex dvipsk
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/doc/examples; \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile")
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PYSCRIPT_MANUAL} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>