Bug 177295 - [PATCH] graphics/impressive: Convert to OptionsNG
Summary: [PATCH] graphics/impressive: Convert to OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 03:00 UTC by nemysis
Modified: 2013-03-24 22:30 UTC (History)
1 user (show)

See Also:


Attachments
impressive-0.10.3_1.patch (1.89 KB, patch)
2013-03-23 03:00 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-23 03:00:00 UTC
- Convert to OptionsNG
- Makefile tweaks

Port maintainer (g.veniamin@googlemail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-23 03:00:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-23 03:00:14 UTC
Maintainer of graphics/impressive,

Please note that PR ports/177295 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177295

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-23 03:00:15 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Veniamin 2013-03-24 13:52:14 UTC
I'm agree with patches.
Comment 5 Beech Rintoul freebsd_committer freebsd_triage 2013-03-24 18:56:12 UTC
State Changed
From-To: feedback->open

Maintainer approved
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-03-24 22:22:22 UTC
Author: beech
Date: Sun Mar 24 22:22:15 2013
New Revision: 315171
URL: http://svnweb.freebsd.org/changeset/ports/315171

Log:
  - Convert to OptionsNG
  - Makefile tweaks
  
  PR:		ports/177295
  Submitted by:	nemysis <nemysis@gmx.ch>
  Approved by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)

Modified:
  head/graphics/impressive/Makefile   (contents, props changed)

Modified: head/graphics/impressive/Makefile
==============================================================================
--- head/graphics/impressive/Makefile	Sun Mar 24 22:19:45 2013	(r315170)
+++ head/graphics/impressive/Makefile	Sun Mar 24 22:22:15 2013	(r315171)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	impressive
-# Date created:		2010-02-10
-# Whom:			Gvozdikov Veniamin <g.veniamin@googlemail.com>
-#
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	impressive
 PORTVERSION=	0.10.3
@@ -15,15 +11,15 @@ DISTNAME=	Impressive-${PORTVERSION}
 MAINTAINER=	g.veniamin@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 @@ PLIST_FILES=	bin/${PORTNAME}
 
 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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Beech Rintoul freebsd_committer freebsd_triage 2013-03-24 22:22:42 UTC
State Changed
From-To: open->closed

Committed, Thanks!