856ad73488
- Patch Makefile.bsd to set the actual version of the software. Upstream missed it when the new version was released. It can be dropped once it's fixed upstream. Changelog: https://github.com/eradman/entr/blob/5.8/NEWS
26 lines
639 B
Makefile
26 lines
639 B
Makefile
PORTNAME= entr
|
|
PORTVERSION= 5.8
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://eradman.com/entrproject/code/
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Runs arbitrary commands when files change
|
|
WWW= https://eradman.com/entrproject
|
|
|
|
# This software has code under BSD2CLAUSE license.
|
|
# All the code used in FreeBSD is under ISCL license.
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
MAKEFILE= Makefile.freebsd
|
|
TEST_TARGET= test
|
|
PLIST_FILES= bin/entr share/man/man1/entr.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|5\.7|${PORTVERSION}|g' ${WRKSRC}/Makefile.bsd
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/entr
|
|
|
|
.include <bsd.port.mk>
|