aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/p5-Geo-BUFR/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/science/p5-Geo-BUFR/Makefile b/science/p5-Geo-BUFR/Makefile
index 090dea7e941b..a099814a51a7 100644
--- a/science/p5-Geo-BUFR/Makefile
+++ b/science/p5-Geo-BUFR/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Geo-BUFR
PORTVERSION= 1.31
+PORTREVISION= 1
CATEGORIES= science perl5 geography
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PSANNES
@@ -12,8 +13,15 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for handling of WMO BUFR files
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENCE
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= *.pl
USE_PERL5= configure
+post-install:
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/BUFR/BUFR.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/BUFR/BUFR.so
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/BUFR/BUFR.so
+
.include <bsd.port.mk>