37 lines
908 B
Makefile
37 lines
908 B
Makefile
PORTNAME= muon
|
|
DISTVERSION= 0.2.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://git.sr.ht/~lattis/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
|
|
|
|
MAINTAINER= bapt@FreeBSD.org
|
|
COMMENT= Build system compatible with meson
|
|
WWW= https://muon.build/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt
|
|
|
|
BUILD_DEPENDS= scdoc:textproc/scdoc
|
|
|
|
USES= ninja pkgconfig:both
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/_build
|
|
INSTALL_WRKSRC= ${WRKSRC}/_build
|
|
|
|
ALL_TARGET=
|
|
PLIST_FILES= bin/muon \
|
|
share/man/man1/muon.1.gz \
|
|
share/man/man5/meson.build.5.gz
|
|
|
|
post-patch:
|
|
# this confuses some of the FreeBSD configure targets
|
|
@${RM} -r ${WRKSRC}/tests/project/common
|
|
|
|
do-configure:
|
|
@(cd ${WRKSRC} && \
|
|
${SH} bootstrap.sh . && \
|
|
./muon setup -Dlibcurl=disabled -Dlibarchive=disabled ${BUILD_WRKSRC})
|
|
|
|
do-install:
|
|
@(${SETENV} ${MAKE_ENV} ${BUILD_WRKSRC}/muon -C ${BUILD_WRKSRC} install)
|
|
|
|
.include <bsd.port.mk>
|