aboutsummaryrefslogtreecommitdiff
path: root/graphics/impressive
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 18:26:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 18:26:14 +0000
commitf3ace4251bf81537fd95588af145d9d6d6e40008 (patch)
tree6b4799b0cf7b3d20af9184999a4aa0c2ebcba9ce /graphics/impressive
parent387330411881d2d22bd6749ac2a3caafb0d8c0fb (diff)
downloadports-f3ace4251bf81537fd95588af145d9d6d6e40008.tar.gz
ports-f3ace4251bf81537fd95588af145d9d6d6e40008.zip
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395389
Diffstat (limited to 'graphics/impressive')
-rw-r--r--graphics/impressive/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/impressive/Makefile b/graphics/impressive/Makefile
index 2f50b8e33a34..93f2c81d083c 100644
--- a/graphics/impressive/Makefile
+++ b/graphics/impressive/Makefile
@@ -12,6 +12,7 @@ MAINTAINER= vg@FreeBSD.org
COMMENT= The stylish way of giving presentations
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/license.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
@@ -23,6 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
USES= ghostscript:run python
NO_BUILD= yes
+NO_ARCH= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
@@ -30,14 +32,12 @@ 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}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>