pkgsrc/devel/leahneukirchen-redo/Makefile
schmonz a4154af657 Update to 0.3. From the changelog:
- Fix non implicit job lease detection
2020-11-01 13:30:13 +00:00

28 lines
870 B
Makefile

# $NetBSD: Makefile,v 1.4 2020/11/01 13:30:13 schmonz Exp $
DISTNAME= leahneukirchen-redo-0.3
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"