ports/devel/p5-Module-Build-Tiny/Makefile

31 lines
707 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = tiny replacement for Module::Build
DISTNAME = Module-Build-Tiny-0.047
2023-08-16 22:26:55 +00:00
CATEGORIES = devel
MAINTAINER = Andrew Fresh <afresh1@openbsd.org>
# Perl
2023-08-16 22:26:55 +00:00
PERMIT_PACKAGE = Yes
MODULES = cpan
PKG_ARCH = *
CONFIGURE_STYLE = modbuild
RUN_DEPENDS = devel/p5-ExtUtils-Config>=0.003 \
devel/p5-ExtUtils-Helpers>=0.020 \
devel/p5-ExtUtils-InstallPaths>=0.002
2023-08-16 22:26:55 +00:00
# This module uses itself to install itself, so runs while it builds
BUILD_DEPENDS = ${RUN_DEPENDS}
do-install:
@cd ${WRKSRC} && ${MAKE_ENV} perl \
${MODPERL_BUILD} ${FAKE_TARGET} \
--destdir "${PREFIX}" \
--install_path lib="libdata/perl5/site_perl" \
--install_path libdoc="man/man3p"
.include <bsd.port.mk>