aboutsummaryrefslogtreecommitdiff
path: root/astro/p5-Astro-Hipparcos
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-10-10 11:20:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-10-10 11:20:38 +0000
commit52de5ce3e2f9f9c1aad10a6f0b8a461723ea6abb (patch)
tree0012c0c7088fb26b57a482e3df8f7d365f49a367 /astro/p5-Astro-Hipparcos
parent6a7156d569bd0f4c053cbb09a45e1e13adca4163 (diff)
downloadports-52de5ce3e2f9f9c1aad10a6f0b8a461723ea6abb.tar.gz
ports-52de5ce3e2f9f9c1aad10a6f0b8a461723ea6abb.zip
Add LICENSE
- Use = instead of += for MAKE_ARGS - Strip shared library - Bump PORTREVISION for package change - Sort PLIST
Notes
Notes: svn path=/head/; revision=451687
Diffstat (limited to 'astro/p5-Astro-Hipparcos')
-rw-r--r--astro/p5-Astro-Hipparcos/Makefile10
-rw-r--r--astro/p5-Astro-Hipparcos/pkg-plist2
2 files changed, 9 insertions, 3 deletions
diff --git a/astro/p5-Astro-Hipparcos/Makefile b/astro/p5-Astro-Hipparcos/Makefile
index 09c528aa8cb8..fc3409927e30 100644
--- a/astro/p5-Astro-Hipparcos/Makefile
+++ b/astro/p5-Astro-Hipparcos/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Astro-Hipparcos
PORTVERSION= 0.09
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= astro perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -11,10 +11,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for reading the Hipparcos star catalog
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-ExtUtils-XSpp>=0.06:devel/p5-ExtUtils-XSpp
-MAKE_ARGS+= CC="${CXX}"
+MAKE_ARGS= CC="${CXX}"
USES= perl5
USE_PERL5= configure
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Astro/Hipparcos/Hipparcos.so
+
.include <bsd.port.mk>
diff --git a/astro/p5-Astro-Hipparcos/pkg-plist b/astro/p5-Astro-Hipparcos/pkg-plist
index 6be6fe78f89a..74b9261ec304 100644
--- a/astro/p5-Astro-Hipparcos/pkg-plist
+++ b/astro/p5-Astro-Hipparcos/pkg-plist
@@ -1,5 +1,5 @@
-%%SITE_ARCH%%/Astro/Hipparcos/Record.pod
%%SITE_ARCH%%/Astro/Hipparcos.pm
+%%SITE_ARCH%%/Astro/Hipparcos/Record.pod
%%SITE_ARCH%%/auto/Astro/Hipparcos/Hipparcos.so
%%PERL5_MAN3%%/Astro::Hipparcos.3.gz
%%PERL5_MAN3%%/Astro::Hipparcos::Record.3.gz