From 17a105c2975ffe17017bb06e89e83990ef7d9af3 Mon Sep 17 00:00:00 2001 From: vanilla Date: Fri, 10 Feb 2017 03:49:47 +0000 Subject: 1: Correct package version to 1.5.2, previous version use 1.5.2's git hash tag already. 2: modernize. --- graphics/ampasCTL/Makefile | 19 +++++-------------- graphics/ampasCTL/distinfo | 5 +++-- 2 files changed, 8 insertions(+), 16 deletions(-) (limited to 'graphics') diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile index bbc08b5da71b..ae4db25e8b8f 100644 --- a/graphics/ampasCTL/Makefile +++ b/graphics/ampasCTL/Makefile @@ -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 - 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} diff --git a/graphics/ampasCTL/distinfo b/graphics/ampasCTL/distinfo index 59010463b905..3475517c75bf 100644 --- a/graphics/ampasCTL/distinfo +++ b/graphics/ampasCTL/distinfo @@ -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 -- cgit