Revision 657 (by ahitrov, 2017/06/22 14:16:24) |
Shortcut for Perl Check Module task. Using PERL_CHECK_MODE=pass during 'make install' bypasses installation for all globally installed modules. Libnet now doesn't ask about tests
|
##############################################################################
#
###############################################################################
PORTVERSION = 3.10
PERL_MAKEMAKER = yes
CONFIGURE_PRECMD = touch ${WRKSRC}/libnet.cfg
INSTALL_PRECMD = ${MAKE_RECURSIVE} pre-install
MASTER_CPAN_SUBDIR = Net
CONFIGURE_POSTENV = PERL_CORE=1
PORT_DEPENDS = MIME-Base64 \
ExtUtils-MakeMaker
pre-install:
@cd ${WRKSRC} \
&& ${PERL} -pi -e 's/^(INSTALLMAN3DIR) = \/usr\/local/$$1 = \$$(PREFIX)/' Makefile
include ../../etc/ports.mk