summaryrefslogtreecommitdiffstats
path: root/misc/pdfmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pdfmap/Makefile')
-rw-r--r--misc/pdfmap/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/misc/pdfmap/Makefile b/misc/pdfmap/Makefile
new file mode 100644
index 0000000..65edb1c
--- /dev/null
+++ b/misc/pdfmap/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# Ports collection makefile for: pdfmap
+# Date created: Mar 24, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= pdfmap
+PORTVERSION= 1.50
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/jaxml.py:${PORTSDIR}/textproc/py-jaxml \
+ ${PYTHON_SITELIBDIR}/reportlab/pdfgen/canvas.py:${PORTSDIR}/print/py-reportlab \
+ ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
+
+USE_PYTHON= yes
+
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+
+do-build:
+ @${SETUP_CMD} build
+
+do-install:
+ @${SETUP_CMD} install
+ @${MV} -f ${PREFIX}/bin/pdfmap.py ${PREFIX}/bin/pdfmap
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud