View | Details | Raw Unified | Return to bug 52288
Collapse All | Expand All

(-)Makefile (-3 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	Math-Base85
8
PORTNAME=	Math-Base85
9
PORTVERSION=	0.1
9
PORTVERSION=	0.2
10
CATEGORIES=	math perl5 converters net
10
CATEGORIES=	math perl5 converters net
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
12
MASTER_SITE_SUBDIR=	Math
12
MASTER_SITE_SUBDIR=	Math
Lines 18-27 Link Here
18
PERL_CONFIGURE=	yes
18
PERL_CONFIGURE=	yes
19
19
20
MAN3=		Math::Base85.3
20
MAN3=		Math::Base85.3
21
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
22
21
23
# workaround the bug in 5.005_03 and 5.6.0  :-(
22
# workaround the bug in 5.005_03 and 5.6.0  :-(
24
post-patch:
23
post-patch:
25
	${PERL} -pi -e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm
24
	@${PERL} -pi -e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm
26
25
27
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (Math-Base85-0.1.tar.gz) = b5354a29f8272b8d57b7e54f0d6204da
1
MD5 (Math-Base85-0.2.tar.gz) = 3a2914651dc680fd22661f35213211d3
(-)pkg-plist (-5 / +5 lines)
Lines 1-5 Link Here
1
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85/.packlist
1
%%SITE_PERL%%/Math/Base85.pm
2
lib/perl5/site_perl/%%PERL_VER%%/Math/Base85.pm
2
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Base85/.packlist
3
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85
3
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Base85
4
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
4
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
5
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true
5
@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true

Return to bug 52288