Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2017 03:49:48 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433785 - head/graphics/ampasCTL
Message-ID:  <201702100349.v1A3nmLL032252@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Feb 10 03:49:47 2017
New Revision: 433785
URL: https://svnweb.freebsd.org/changeset/ports/433785

Log:
  1: Correct package version to 1.5.2, previous version use 1.5.2's git hash tag already.
  2: modernize.

Modified:
  head/graphics/ampasCTL/Makefile
  head/graphics/ampasCTL/distinfo

Modified: head/graphics/ampasCTL/Makefile
==============================================================================
--- head/graphics/ampasCTL/Makefile	Fri Feb 10 03:38:55 2017	(r433784)
+++ head/graphics/ampasCTL/Makefile	Fri Feb 10 03:49:47 2017	(r433785)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ampasCTL
-PORTVERSION=	1.5
-PORTREVISION=	5
+PORTVERSION=	1.5.2
 CATEGORIES=	graphics devel
 
 MAINTAINER=	ports@FreeBSD.org
@@ -24,32 +23,24 @@ GH_ACCOUNT=	ampas
 GH_PROJECT=	CTL
 GH_TAGNAME=	57b48a2
 
-USES=		cmake pkgconfig
+USES=		cmake pathfix pkgconfig
 USE_LDCONFIG=	yes
 
-PORTDOCS=	*
+OPTIONS_DEFINE=	DOCS
 
+PORTDOCS=	*
 DOCSRCDIR1=	${WRKSRC}
 DOC_FILES1=	AUTHORS CHANGELOG README.md
-
 DOCSRCDIR2=	${WRKSRC}/doc
 DOCSDIR2=	${DOCSDIR}/doc
 DOC_FILES2=	CtlManual.pdf CtlManual.doc
 
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|lib/CMake|lib/cmake|' \
 		-e 's|add_subdirectory(doc)||' \
-		-e 's|lib/pkgconfig|libdata/pkgconfig|' \
 		${WRKSRC}/CMakeLists.txt
 
-	@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' \
-		${WRKSRC}/OpenEXR_CTL/CMakeLists.txt
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR2}

Modified: head/graphics/ampasCTL/distinfo
==============================================================================
--- head/graphics/ampasCTL/distinfo	Fri Feb 10 03:38:55 2017	(r433784)
+++ head/graphics/ampasCTL/distinfo	Fri Feb 10 03:49:47 2017	(r433785)
@@ -1,2 +1,3 @@
-SHA256 (ampas-CTL-1.5-57b48a2_GH0.tar.gz) = 5cefe423a93f34aca8cd1df5878242dac236e309540db328e2f7161bf8907766
-SIZE (ampas-CTL-1.5-57b48a2_GH0.tar.gz) = 1411847
+TIMESTAMP = 1486698042
+SHA256 (ampas-CTL-1.5.2-57b48a2_GH0.tar.gz) = 5cefe423a93f34aca8cd1df5878242dac236e309540db328e2f7161bf8907766
+SIZE (ampas-CTL-1.5.2-57b48a2_GH0.tar.gz) = 1411847



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