mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
- update to 0.89
- use DOCSDIR - use a .for loop and install some more documentation - sort pkg-plist
This commit is contained in:
parent
fc269c2b02
commit
ac92c41e6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48379
6 changed files with 20 additions and 18 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= SNMP_Session
|
||||
PORTVERSION= 0.88
|
||||
PORTVERSION= 0.89
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/%SUBDIR%/
|
||||
MASTER_SITE_SUBDIR= . old
|
||||
|
@ -18,10 +18,10 @@ PERL_CONFIGURE= yes
|
|||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/p5-SNMP_Session
|
||||
${INSTALL_DATA} ${WRKSRC}/README.SNMP_util \
|
||||
${PREFIX}/share/doc/p5-SNMP_Session
|
||||
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/doc/p5-SNMP_Session
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in README README.SNMP_util index.html
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (SNMP_Session-0.88.tar.gz) = 1d5f02203e394e8207bf8ed3a621ad71
|
||||
MD5 (SNMP_Session-0.89.tar.gz) = 13679f2e2f44441fd84c9209f4f46488
|
||||
|
|
|
@ -2,7 +2,8 @@ lib/perl5/site_perl/%%PERL_VER%%/BER.pm
|
|||
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session/.packlist
|
||||
%%PORTDOCS%%share/doc/p5-SNMP_Session/README.SNMP_util
|
||||
%%PORTDOCS%%share/doc/p5-SNMP_Session/index.html
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/README
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/README.SNMP_util
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/index.html
|
||||
%%PORTDOCS%%@dirrm share/doc/SNMP_Session
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session
|
||||
%%PORTDOCS%%@dirrm share/doc/p5-SNMP_Session
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= SNMP_Session
|
||||
PORTVERSION= 0.88
|
||||
PORTVERSION= 0.89
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/%SUBDIR%/
|
||||
MASTER_SITE_SUBDIR= . old
|
||||
|
@ -18,10 +18,10 @@ PERL_CONFIGURE= yes
|
|||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/p5-SNMP_Session
|
||||
${INSTALL_DATA} ${WRKSRC}/README.SNMP_util \
|
||||
${PREFIX}/share/doc/p5-SNMP_Session
|
||||
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/doc/p5-SNMP_Session
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in README README.SNMP_util index.html
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (SNMP_Session-0.88.tar.gz) = 1d5f02203e394e8207bf8ed3a621ad71
|
||||
MD5 (SNMP_Session-0.89.tar.gz) = 13679f2e2f44441fd84c9209f4f46488
|
||||
|
|
|
@ -2,7 +2,8 @@ lib/perl5/site_perl/%%PERL_VER%%/BER.pm
|
|||
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session/.packlist
|
||||
%%PORTDOCS%%share/doc/p5-SNMP_Session/README.SNMP_util
|
||||
%%PORTDOCS%%share/doc/p5-SNMP_Session/index.html
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/README
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/README.SNMP_util
|
||||
%%PORTDOCS%%share/doc/SNMP_Session/index.html
|
||||
%%PORTDOCS%%@dirrm share/doc/SNMP_Session
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session
|
||||
%%PORTDOCS%%@dirrm share/doc/p5-SNMP_Session
|
||||
|
|
Loading…
Add table
Reference in a new issue