forked from Lainports/freebsd-ports
to preserve version 1.x and to update to 3.0
print/py-reportlab:
- Update print/py-reportlab to 3.0 based on print/py-reportlab2
- Support STAGEDIR
- Use PYDISTUTILS_AUTOPLIST
* Remove pkg-plist, accordingly
- Set CONFLICTS
- Add PORTSCOUT
- Replace tab with a single space after WWW: in pkg-descr
print/py-reportlab1:
- Support STAGEDIR
- Add PKGNAMESUFFIX not to duplicate ports with the same name
- Set CONFLICTS
- Use PYDISTUTILS_AUTOPLIST
* Remove pkg-plist, accordingly
- Make use of PORTDOCS
- Set OPTIONS_DEFINE explicitly
- Fix include statement
- Make docs unconditional to stage
- Replace tab with a single space after WWW: in pkg-descr
print/py-reportlab2:
- Update CONFLICTS
- Set PORTSCOUT
dependent ports:
- Switch dependency from print/py-reportlab to print/py-reportlab1
* biology/py-biopython
* deskutils/gourmet
* deskutils/griffith
* games/pythonsudoku
* misc/pdfmap
* print/py-trml2pdf
* www/py-satchmo
PR: ports/186970
Submitted by: tota (myself)
Approved by: Muhammad Moinur Rahman (maintainer)
39 lines
932 B
Makefile
39 lines
932 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdfmap
|
|
PORTVERSION= 2.00
|
|
PORTREVISION= 4
|
|
CATEGORIES= misc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Generate maps in PDF format and place clickable objects on them
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaxml>=3.01:${PORTSDIR}/textproc/py-jaxml \
|
|
${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/reportlab/pdfgen/canvas.py:${PORTSDIR}/print/py-reportlab1 \
|
|
${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
DOCS= CREDITS NEWS README TODO doc/*.html
|
|
|
|
NO_STAGE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|