ports/177295: [PATCH] graphics/impressive: Convert to OptionsNG
nemysis
nemysis at gmx.ch
Sat Mar 23 03:00:00 UTC 2013
>Number: 177295
>Category: ports
>Synopsis: [PATCH] graphics/impressive: Convert to OptionsNG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 23 03:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10
>Description:
- Convert to OptionsNG
- Makefile tweaks
Port maintainer (g.veniamin at googlemail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- impressive-0.10.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/impressive/Makefile ./Makefile
--- /usr/ports/graphics/impressive/Makefile 2013-01-14 17:57:01.000000000 +0100
+++ ./Makefile 2013-03-23 03:50:10.000000000 +0100
@@ -1,9 +1,5 @@
-# New ports collection makefile for: impressive
-# Date created: 2010-02-10
-# Whom: Gvozdikov Veniamin <g.veniamin at googlemail.com>
-#
+# Created by: Gvozdikov Veniamin <g.veniamin at googlemail.com>
# $FreeBSD: head/graphics/impressive/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= impressive
PORTVERSION= 0.10.3
@@ -15,15 +11,15 @@
MAINTAINER= g.veniamin at googlemail.com
COMMENT= The stylish way of giving presentations
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/wrapper.py:${PORTSDIR}/graphics/py-opengl \
- ${PYTHON_SITELIBDIR}/pygame/surfarray.py:${PORTSDIR}/devel/py-game \
- ${PYTHON_SITELIBDIR}/PIL/ImageGL.py:${PORTSDIR}/graphics/py-imaging \
+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
-
-LICENSE= GPLv2
+RUN_DEPENDS= ${PYGAME}
USE_PYTHON= yes
USE_GHOSTSCRIPT_RUN= yes
@@ -32,16 +28,16 @@
MAN1= ${PORTNAME}.1
-PORTDOCS= ${PORTNAME}.html demo.pdf license.txt
+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 !defined(NOPORTDOCS)
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- impressive-0.10.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list