aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/impressive/Makefile
blob: bfe03fce481f2546bb1fd354a12240b813eb5311 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   impressive
PORTVERSION=    0.10.3
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/Impressive/${PORTVERSION}/
DISTNAME=   Impressive-${PORTVERSION}

MAINTAINER= vg@FreeBSD.org
COMMENT=    The stylish way of giving presentations

LICENSE=    GPLv2

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
        ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
        xpdf:${PORTSDIR}/graphics/xpdf \
        pdftk:${PORTSDIR}/print/pdftk \
        xdg-open:${PORTSDIR}/devel/xdg-utils \
        mplayer:${PORTSDIR}/multimedia/mplayer
RUN_DEPENDS=    ${PYGAME}

USE_PYTHON= yes
USE_GHOSTSCRIPT_RUN=    yes
NO_BUILD=   yes
PLIST_FILES=    bin/${PORTNAME}

MAN1=       ${PORTNAME}.1

PORTDOCS=   ${PORTNAME}.html demo.pdf

.include <bsd.port.options.mk>

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
    @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>