aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2012-05-26 07:29:57 +0000
committerFrederic Culot <culot@FreeBSD.org>2012-05-26 07:29:57 +0000
commita98f5a7c5ae9f0e03fdc36e28bcfa725a8f40e39 (patch)
tree215157cddac223170e852e4f514ed4a247943286 /science
parentd68719279fb18e3482c79ca0e79368b2efe9cdf7 (diff)
downloadports-a98f5a7c5ae9f0e03fdc36e28bcfa725a8f40e39.tar.gz
ports-a98f5a7c5ae9f0e03fdc36e28bcfa725a8f40e39.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/p5-Physics-Unit/Makefile21
-rw-r--r--science/p5-Physics-Unit/distinfo4
-rw-r--r--science/p5-Physics-Unit/pkg-plist28
3 files changed, 25 insertions, 28 deletions
diff --git a/science/p5-Physics-Unit/Makefile b/science/p5-Physics-Unit/Makefile
index 42c12de6337b..70b386bb7b29 100644
--- a/science/p5-Physics-Unit/Makefile
+++ b/science/p5-Physics-Unit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Physics-Unit
-PORTVERSION= 0.04
+PORTVERSION= 0.53
CATEGORIES= science perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,17 +14,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= culot@FreeBSD.org
COMMENT= Manipulate Physics units and dimensions
-PERL_CONFIGURE= yes
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
-MAN3= Physics::Unit.3 Physics::UnitImpl.3 Physics::Unit::Scalar.3 \
- Physics::Unit::ScalarImpl.3 Physics::Unit::ScalarSubtypes.3 \
- Physics::Unit::Vector.3
+PERL_MODBUILD= yes
+
+MAN1= physics-unit.1
+MAN3= Physics::Unit.3 \
+ Physics::Unit::Implementation.3 \
+ Physics::Unit::Scalar.3 \
+ Physics::Unit::Scalar::Implementation.3 \
+ Physics::Unit::UnitsByName.3 \
+ Physics::Unit::UnitsByType.3
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
-.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/eg/ && ${COPYTREE_SHARE} '*.pl' ${EXAMPLESDIR})
diff --git a/science/p5-Physics-Unit/distinfo b/science/p5-Physics-Unit/distinfo
index ca18b5b141a9..a5336eb60f47 100644
--- a/science/p5-Physics-Unit/distinfo
+++ b/science/p5-Physics-Unit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Physics-Unit-0.04.tar.gz) = 716803dc63f730b34dcb906324267d9cb1031ef61962bc3c1ab0113a93e468b3
-SIZE (Physics-Unit-0.04.tar.gz) = 48257
+SHA256 (Physics-Unit-0.53.tar.gz) = 1d1e8cbd08faaadc253d3c8285ec24954317c5997374e9ca9176bc755811c8fb
+SIZE (Physics-Unit-0.53.tar.gz) = 53356
diff --git a/science/p5-Physics-Unit/pkg-plist b/science/p5-Physics-Unit/pkg-plist
index dd312832b797..57d98826a54c 100644
--- a/science/p5-Physics-Unit/pkg-plist
+++ b/science/p5-Physics-Unit/pkg-plist
@@ -1,25 +1,19 @@
+bin/physics-unit
%%SITE_PERL%%/Physics/Unit.pm
-%%SITE_PERL%%/Physics/UnitImpl.pm
+%%SITE_PERL%%/Physics/Unit/Implementation.pod
+%%SITE_PERL%%/Physics/Unit/UnitsByName.pod
+%%SITE_PERL%%/Physics/Unit/UnitsByType.pod
+%%SITE_PERL%%/Physics/Unit/Scalar/Implementation.pod
%%SITE_PERL%%/Physics/Unit/Scalar.pm
-%%SITE_PERL%%/Physics/Unit/ScalarImpl.pm
-%%SITE_PERL%%/Physics/Unit/ScalarSubtypes.pm
-%%SITE_PERL%%/Physics/Unit/Vector.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Physics/Unit/.packlist
-%%PORTDOCS%%%%DOCSDIR%%/UnitsByName.html
-%%PORTDOCS%%%%DOCSDIR%%/UnitsByType.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ScalarDebug.pl
+%%SITE_PERL%%/Physics/Unit/Script/GenPages.pm
+%%SITE_PERL%%/Physics/Unit/Script.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ScalarDocExamples.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ScalarMethods.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ScalarSimple.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitDebug.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitDocExamples.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitGenPages.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitLists.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitSimple.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/VectorDebug.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/VectorSimple.pl
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Physics/Unit
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Physics
-@dirrmtry %%SITE_PERL%%/Physics/Unit
+@dirrm %%SITE_PERL%%/Physics/Unit/Scalar
+@dirrm %%SITE_PERL%%/Physics/Unit/Script
+@dirrm %%SITE_PERL%%/Physics/Unit
@dirrmtry %%SITE_PERL%%/Physics