git: f5267408e17f - main - graphics/p5-Geo-GDAL: Add USES=cpe
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Oct 2021 16:01:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f5267408e17f052160e8b186e257147097f95ffc
commit f5267408e17f052160e8b186e257147097f95ffc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 15:06:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 15:57:18 +0000
graphics/p5-Geo-GDAL: Add USES=cpe
---
graphics/p5-Geo-GDAL/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
index b2fd500af00e..cd61a61e780b 100644
--- a/graphics/p5-Geo-GDAL/Makefile
+++ b/graphics/p5-Geo-GDAL/Makefile
@@ -17,11 +17,14 @@ LICENSE_FILE= ${WRKSRC}/../../LICENSE.TXT
BUILD_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
LIB_DEPENDS= libgdal.so:graphics/gdal
-USES= compiler:c++14-lang perl5 tar:xz
+USES= compiler:c++14-lang cpe perl5 tar:xz
USE_CXXSTD= c++14
WRKSRC_SUBDIR= swig/perl
+CPE_VENDOR= osgeo
+CPE_PRODUCT= gdal
+
post-patch:
@${LN} -s ${LOCALBASE}/bin/gdal-config ${WRKSRC}/../../apps/gdal-config
@${REINPLACE_CMD} -e 's| INSTALL_BASE=.*||; s| install| pure_install|' ${WRKSRC}/Makefile