openbsd-ports/devel/p5-Module-Build-Tiny/Makefile
2022-03-11 18:49:30 +00:00

32 lines
701 B
Makefile

COMMENT = tiny replacement for Module::Build
DISTNAME = Module-Build-Tiny-0.039
CATEGORIES = devel
REVISION = 0
MAINTAINER = Andrew Fresh <afresh1@openbsd.org>
# perl_5
PERMIT_PACKAGE = Yes
MODULES = cpan
PKG_ARCH = *
CONFIGURE_STYLE = modbuild
RUN_DEPENDS = devel/p5-ExtUtils-Config \
devel/p5-ExtUtils-Helpers \
devel/p5-ExtUtils-InstallPaths
# 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>