1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/print/py-pyscript/Makefile
Philip M. Gollucci f60432367f CATEGORIES+= python for py- ports missing it
PR:             ports/124921
Approved by:    portmgr (pav)
2008-12-28 10:54:08 +00:00

50 lines
1.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.1
PORTREVISION= 1
CATEGORIES= print graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
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>