freebsd-ports/misc/pdfmap/Makefile
Eitan Adler fd37d8821f Cleanup unmaintained ports in the misc category:
- Trim Header
	- Convert to OptionsNG
	- Prefer DISTNAME to DISTFILES
	- Reorder variables
	- Fix comments (don't include leading article)
	- @unexec rm must not cause failure
	- Tabs, not spaces
	- Single space for WWW
	- Pet portlint
	- etc.

In a few cases the option DOCS was used to control installation into EXAMPLEDIR.
I opted to keep the existing logic of the port in these cases.

Reviewed by:	koobs, ashish
2013-03-25 04:30:31 +00:00

35 lines
894 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= pdfmap
PORTVERSION= 2.00
PORTREVISION= 3
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-reportlab \
${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCS= CREDITS NEWS README TODO doc/*.html
.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>