pkgsrc/devel/leahneukirchen-redo/Makefile
schmonz cda7d5b5cf Apply not-yet-released upstream changes. From the changelog:
- README.md: typo and URL correction
- Specify the starting point for find(1) (non-GNU versions do not allow
  omitting it)
- Fix some compiler warnings
- Take existence of a dofile into account when checking for sourcefile
- Add bootstrap.sh
- Change fflag testing from ! to < 0
- Call compute_uprel() before redo_ifchange()
- Use "all" as default target only when "redo" is called directly
- Change order of creating files on find_dofile in run_script()
- Remove unreachable code in run_script
- Incorporate sourcefile() call inside check_deps()
- Avoid duplicate flags initialization in main()

Bump PKGREVISION.
2022-01-06 08:51:55 +00:00

30 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.5 2022/01/06 08:51:55 schmonz Exp $
DISTNAME= leahneukirchen-redo-d2f9517377f5652b4217a6e119205450d44b1e30
PKGNAME= leahneukirchen-redo-0.3
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=leahneukirchen/}
GITHUB_PROJECT= redo-c
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://github.com/leahneukirchen/redo-c/
COMMENT= Redo build system implemented in portable C
LICENSE= public-domain
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
do-build:
cd ${WRKSRC}; \
cc ${CFLAGS} -Wall -Wextra -Wwrite-strings -o redo redo.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/redo ${DESTDIR}${PREFIX}/bin
cd ${DESTDIR}${PREFIX}/bin; sh ${WRKSRC}/links.do; \
for i in *; do mv $${i} leahneukirchen-$${i}; done
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"