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

(-)Makefile (+12 lines)
Lines 65-70 Link Here
65
.include "Makefile.man"
65
.include "Makefile.man"
66
.include <bsd.port.pre.mk>
66
.include <bsd.port.pre.mk>
67
67
68
.if ${OSVERSION} >= 900022
69
PLIST_SUB+=	MANCONF=""
70
SUB_FILES+=	perl.conf
71
SUB_LIST+=	PERL_VERSION=${PERL_VERSION}
72
.else
73
PLIST_SUB+=	MANCONF="@comment "
74
.endif
75
68
.if defined(PERL_VENDOR_PREFIX)
76
.if defined(PERL_VENDOR_PREFIX)
69
CONFIGURE_ARGS+=	\
77
CONFIGURE_ARGS+=	\
70
	-Dvendorprefix=${PERL_VENDOR_PREFIX} \
78
	-Dvendorprefix=${PERL_VENDOR_PREFIX} \
Lines 201-206 Link Here
201
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
209
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
202
		${BSDPAN_WRKSRC}/${files} ${BSDPAN_DEST}/${files}
210
		${BSDPAN_WRKSRC}/${files} ${BSDPAN_DEST}/${files}
203
.endfor
211
.endfor
212
.if ${OSVERSION} >= 900022
213
	@${MKDIR} ${PREFIX}/etc/man.d
214
	${INSTALL_DATA} ${WRKDIR}/perl.conf ${PREFIX}/etc/man.d/perl.conf
215
.endif
204
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
216
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
205
217
206
test: build
218
test: build
(-)pkg-plist (+2 lines)
Lines 40-45 Link Here
40
bin/shasum
40
bin/shasum
41
bin/splain
41
bin/splain
42
bin/xsubpp
42
bin/xsubpp
43
%%MANCONF%%etc/man.d/perl.conf
43
lib/perl5/%%PERL_VER%%/AnyDBM_File.pm
44
lib/perl5/%%PERL_VER%%/AnyDBM_File.pm
44
lib/perl5/%%PERL_VER%%/App/Cpan.pm
45
lib/perl5/%%PERL_VER%%/App/Cpan.pm
45
lib/perl5/%%PERL_VER%%/App/Prove.pm
46
lib/perl5/%%PERL_VER%%/App/Prove.pm
Lines 2432-2437 Link Here
2432
@dirrm lib/perl5/%%PERL_VER%%/autodie/exception
2433
@dirrm lib/perl5/%%PERL_VER%%/autodie/exception
2433
@dirrm lib/perl5/%%PERL_VER%%/autodie
2434
@dirrm lib/perl5/%%PERL_VER%%/autodie
2434
@dirrm lib/perl5/%%PERL_VER%%
2435
@dirrm lib/perl5/%%PERL_VER%%
2436
%%MANCONF%%@dirrmtry etc/man.d
2435
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/sys
2437
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/sys
2436
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/machine
2438
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/machine
2437
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
2439
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
(-)files/perl.conf.in (+2 lines)
Added Link Here
1
MANPATH	%%PREFIX%%/lib/perl5/%%PERL_VERSION%%/man
2
MANPATH	%%PREFIX%%/lib/perl5/%%PERL_VERSION%%/perl/man
(-)files/use.perl (-3 / +12 lines)
Lines 21-34 Link Here
21
	need_remove_links=%%LINK_USRBIN%%
21
	need_remove_links=%%LINK_USRBIN%%
22
	need_create_links=%%LINK_USRBIN%%
22
	need_create_links=%%LINK_USRBIN%%
23
	need_cleanup_make_conf=yes
23
	need_cleanup_make_conf=yes
24
	need_cleanup_manpath=yes
25
	need_spam_make_conf=yes
24
	need_spam_make_conf=yes
26
	need_spam_manpath=yes
27
	need_post_install=yes
25
	need_post_install=yes
26
	if [ "${osreldate}" -lt 900022 ]; then
27
		need_cleanup_manpath=yes
28
		need_spam_manpath=yes
29
	else
30
		need_cleanup_manpath=no
31
		need_spam_manpath=no
32
	fi
28
elif [ "$2" = "POST-DEINSTALL" ] ; then
33
elif [ "$2" = "POST-DEINSTALL" ] ; then
29
	need_remove_links=%%LINK_USRBIN%%
34
	need_remove_links=%%LINK_USRBIN%%
30
	need_cleanup_make_conf=yes
35
	need_cleanup_make_conf=yes
31
	need_cleanup_manpath=yes
36
	if [ "${osreldate}" -lt 900022 ]; then
37
		need_cleanup_manpath=yes
38
	else
39
		need_cleanup_manpath=no
40
	fi
32
else
41
else
33
	exit 0;
42
	exit 0;
34
fi
43
fi

Return to bug 151914