950071eb62
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impressive
|
|
PORTVERSION= 0.10.3
|
|
PORTREVISION= 6
|
|
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}pillow>0:${PORTSDIR}/graphics/py-pillow \
|
|
xpdf:${PORTSDIR}/graphics/xpdf \
|
|
pdftk:${PORTSDIR}/print/pdftk \
|
|
xdg-open:${PORTSDIR}/devel/xdg-utils \
|
|
mplayer:${PORTSDIR}/multimedia/mplayer \
|
|
${PYGAME}
|
|
|
|
USES= python
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man1/${PORTNAME}.1.gz
|
|
|
|
PORTDOCS= ${PORTNAME}.html demo.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|