aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imgtops/Makefile
blob: 8e2ffe631170ee92220cd74eb3ca5d7dcac5001e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Timothy Bourke <timbob@bigpond.com>
# $FreeBSD$

PORTNAME=   imgtops
PORTVERSION=    1.0
PORTREVISION=   4
CATEGORIES= graphics
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Create efficient Encapsulated Postscript files from images

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow

USES=           ghostscript:run python
USE_PYTHON=     distutils

post-install:
    ${CHMOD} 644 ${STAGEDIR}${MANPREFIX}/man/man1/imgtops.1
    ${CHMOD} 644 ${STAGEDIR}${MANPREFIX}/man/man1/epstoimg.1
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/imgtopslib/encoders.so

.include <bsd.port.mk>