mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging.
This commit is contained in:
parent
43c02d0357
commit
5531049ac9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343086
@ -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
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
PORTEXAMPLES= *
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
NO_STAGE= yes
|
||||
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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user