61d925c1bf
- Fix shebangs - Unsilence installation commands Approved by: portmgr blanket
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impressive
|
|
PORTVERSION= 0.11.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/
|
|
DISTNAME= Impressive-${PORTVERSION}
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= Stylish way of giving presentations
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL \
|
|
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \
|
|
xpdf:graphics/xpdf \
|
|
pdftk:print/pdftk \
|
|
xdg-open:devel/xdg-utils \
|
|
mplayer:multimedia/mplayer
|
|
|
|
USES= ghostscript:run python shebangfix
|
|
SHEBANG_FILES= impressive.py
|
|
USE_SDL= sdl
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man1/${PORTNAME}.1.gz
|
|
|
|
PORTDOCS= ${PORTNAME}.html demo.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|