mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Support stage
This commit is contained in:
parent
7436fa8d87
commit
0f2e2fd864
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350569
@ -12,7 +12,7 @@ DISTNAME= chasen-${CHASEN_VERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= ChaSen library module for Perl5
|
||||
|
||||
LIB_DEPENDS= chasen.2:${PORTSDIR}/japanese/chasen-base
|
||||
LIB_DEPENDS= libchasen.so:${PORTSDIR}/japanese/chasen-base
|
||||
|
||||
DISTINFO_FILE= ${.CURDIR}/../chasen-base/distinfo
|
||||
|
||||
@ -22,18 +22,16 @@ WRKSRC= ${WRKDIR}/chasen-${CHASEN_VERSION}/perl
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
CONFIGURE_ENV= PREFIX="${PREFIX}"
|
||||
MAN3= Text::ChaSen.3
|
||||
DOCSDIR= ${PREFIX}/share/doc/chasen
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README.perl
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README.perl
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,10 +1,10 @@
|
||||
%%PERL5_MAN3%%/Text::ChaSen.3.gz
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Text/ChaSen.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.so
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.perl
|
||||
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user