diff --git a/devel/ninja/Makefile b/devel/ninja/Makefile index 0a1b8a5b3aaa..b4f595cb18b4 100644 --- a/devel/ninja/Makefile +++ b/devel/ninja/Makefile @@ -1,68 +1,68 @@ PORTNAME= ninja -PORTVERSION= 1.12.1 +PORTVERSION= 1.12.0 DISTVERSIONPREFIX= v -PORTEPOCH= 2 +PORTEPOCH= 3 CATEGORIES= devel MAINTAINER= kde@FreeBSD.org COMMENT= Small build system closest in spirit to Make WWW= https://ninja-build.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING USES= python USE_GITHUB= yes GH_ACCOUNT= ninja-build PORTSCOUT= limit:^1\. PLIST_FILES= bin/ninja PORTDOCS= README.md manual.asciidoc OPTIONS_DEFINE= DOCS BASH ZSH OPTIONS_DEFAULT= BASH ZSH BASH_PLIST_FILES= share/bash-completion/completions/ninja ZSH_PLIST_FILES= share/zsh/site-functions/_ninja # Set up the environment variables that ninja's configure.py recognizes and # respect building with ccache. NINJA_ENV= AR="${AR}" \ CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" .if defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE) NINJA_ENV+= CXX="${CCACHE_BIN} ${CXX}" .else NINJA_ENV+= CXX="${CXX}" .endif post-patch: @${REINPLACE_CMD} "s/'-g', //" ${WRKSRC}/configure.py do-build: @(cd ${WRKSRC} && \ ${SETENVI} ${CONFIGURE_ENV} ${NINJA_ENV} ${PYTHON_CMD} configure.py --bootstrap --verbose) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ninja ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && \ ${INSTALL_DATA} README.md doc/manual.asciidoc \ ${STAGEDIR}${DOCSDIR}) do-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ ${INSTALL_DATA} ${WRKSRC}/misc/bash-completion \ ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ninja do-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_ninja do-test: build cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test .include diff --git a/devel/ninja/distinfo b/devel/ninja/distinfo index f3d87c49c762..6d1c18739ea2 100644 --- a/devel/ninja/distinfo +++ b/devel/ninja/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715820159 -SHA256 (ninja-build-ninja-v1.12.1_GH0.tar.gz) = 821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a -SIZE (ninja-build-ninja-v1.12.1_GH0.tar.gz) = 240483 +TIMESTAMP = 1714464552 +SHA256 (ninja-build-ninja-v1.12.0_GH0.tar.gz) = 8b2c86cd483dc7fcb7975c5ec7329135d210099a89bc7db0590a07b0bbfe49a5 +SIZE (ninja-build-ninja-v1.12.0_GH0.tar.gz) = 240291