937e628c14
- Makefile tweaks PR: ports/177295 Submitted by: nemysis <nemysis@gmx.ch> Approved by: Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impressive
|
|
PORTVERSION= 0.10.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/
|
|
DISTNAME= Impressive-${PORTVERSION}
|
|
|
|
MAINTAINER= g.veniamin@googlemail.com
|
|
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>
|