aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2017-02-10 11:49:47 +0800
committervanilla <vanilla@FreeBSD.org>2017-02-10 11:49:47 +0800
commit17a105c2975ffe17017bb06e89e83990ef7d9af3 (patch)
tree96aedc56a13297417975355034af0d1572aa1204 /graphics
parent9bb5a2b7ec58a65ac3d542babbe001fd17fdaef3 (diff)
downloadfreebsd-ports-gnome-17a105c2975ffe17017bb06e89e83990ef7d9af3.tar.gz
freebsd-ports-gnome-17a105c2975ffe17017bb06e89e83990ef7d9af3.tar.zst
freebsd-ports-gnome-17a105c2975ffe17017bb06e89e83990ef7d9af3.zip
1: Correct package version to 1.5.2, previous version use 1.5.2's git hash tag already.
2: modernize.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ampasCTL/Makefile19
-rw-r--r--graphics/ampasCTL/distinfo5
2 files changed, 8 insertions, 16 deletions
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 <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}
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