diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 22:10:06 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 22:10:06 +0800 |
commit | ce9b153acd14c983d0b19268e763d4d25cd83234 (patch) | |
tree | e14afdd10c1405716a9a54919b49e51cde2fd580 /science | |
parent | 14903eab0cf615327ddb11592a639811b9dcb6de (diff) | |
download | freebsd-ports-gnome-ce9b153acd14c983d0b19268e763d4d25cd83234.tar.gz freebsd-ports-gnome-ce9b153acd14c983d0b19268e763d4d25cd83234.tar.zst freebsd-ports-gnome-ce9b153acd14c983d0b19268e763d4d25cd83234.zip |
Support staging.
Diffstat (limited to 'science')
-rw-r--r-- | science/p5-Physics-Unit/Makefile | 21 | ||||
-rw-r--r-- | science/p5-Physics-Unit/pkg-plist | 13 |
2 files changed, 15 insertions, 19 deletions
diff --git a/science/p5-Physics-Unit/Makefile b/science/p5-Physics-Unit/Makefile index cc10c967c6a0..bd9c3f0d52b1 100644 --- a/science/p5-Physics-Unit/Makefile +++ b/science/p5-Physics-Unit/Makefile @@ -16,19 +16,14 @@ LICENSE_COMB= dual USES= perl5 USE_PERL5= modbuild -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 - -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/eg/ && ${COPYTREE_SHARE} '*.pl' ${EXAMPLESDIR}) -.endif + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/eg/ && ${COPYTREE_SHARE} '*.pl' ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> diff --git a/science/p5-Physics-Unit/pkg-plist b/science/p5-Physics-Unit/pkg-plist index 57d98826a54c..ff0d864f0e6a 100644 --- a/science/p5-Physics-Unit/pkg-plist +++ b/science/p5-Physics-Unit/pkg-plist @@ -1,4 +1,5 @@ bin/physics-unit +man/man1/physics-unit.1.gz %%SITE_PERL%%/Physics/Unit.pm %%SITE_PERL%%/Physics/Unit/Implementation.pod %%SITE_PERL%%/Physics/Unit/UnitsByName.pod @@ -7,12 +8,12 @@ bin/physics-unit %%SITE_PERL%%/Physics/Unit/Scalar.pm %%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%%/UnitDocExamples.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/UnitLists.pl -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +%%PERL5_MAN3%%/Physics::Unit.3.gz +%%PERL5_MAN3%%/Physics::Unit::Implementation.3.gz +%%PERL5_MAN3%%/Physics::Unit::Scalar.3.gz +%%PERL5_MAN3%%/Physics::Unit::Scalar::Implementation.3.gz +%%PERL5_MAN3%%/Physics::Unit::UnitsByName.3.gz +%%PERL5_MAN3%%/Physics::Unit::UnitsByType.3.gz @dirrm %%SITE_PERL%%/Physics/Unit/Scalar @dirrm %%SITE_PERL%%/Physics/Unit/Script @dirrm %%SITE_PERL%%/Physics/Unit |