Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 15:26:55 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356912 - head/math/glgraph
Message-ID:  <201406071526.s57FQtnq071902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Jun  7 15:26:54 2014
New Revision: 356912
URL: http://svnweb.freebsd.org/changeset/ports/356912
QAT: https://qat.redports.org/buildarchive/r356912/

Log:
  - Add staging support
  - Switch to PLIST_FILES, PORTDOCS from pkg-plist
  - Convert to new options framework
  - Remove leading article from COMMENT
  - Fix shebang in script, bump PORTREVISION

Deleted:
  head/math/glgraph/pkg-plist
Modified:
  head/math/glgraph/Makefile

Modified: head/math/glgraph/Makefile
==============================================================================
--- head/math/glgraph/Makefile	Sat Jun  7 15:21:02 2014	(r356911)
+++ head/math/glgraph/Makefile	Sat Jun  7 15:26:54 2014	(r356912)
@@ -3,29 +3,31 @@
 
 PORTNAME=	glgraph
 PORTVERSION=	0.2.6
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	math
 MASTER_SITES=	http://glgraph.kaosu.ch/downl/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An OpenGL based function grapher
+COMMENT=	OpenGL based function grapher
 
 RUN_DEPENDS=	p5-OpenGL>=0:${PORTSDIR}/graphics/p5-OpenGL \
 		import:${PORTSDIR}/graphics/ImageMagick
 
-USES=		perl5
-USE_BZIP2=	yes
+USES=		perl5 shebangfix tar:bzip2
 USE_PERL5=	run
+SHEBANG_FILES=	${PORTNAME}
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/glgraph
+PORTDOCS=	documentation.html
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/documentation.html ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/documentation.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406071526.s57FQtnq071902>