summaryrefslogtreecommitdiff
path: root/sysutils/entr
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-04-19 07:57:12 +0000
committerwiz <wiz@pkgsrc.org>2013-04-19 07:57:12 +0000
commitebf6867862f2d5450bd113e73651c420b68b709e (patch)
tree8670146c0816e7f9129f034fa7d7ec628a42040a /sysutils/entr
parent04eefd810cdcefcace12baa5c6f67455e5beb62f (diff)
downloadpkgsrc-ebf6867862f2d5450bd113e73651c420b68b709e.tar.gz
Import entr-1.9 as sysutils/entr.
The Event Notify Test Runner is a general-purpose UNIX utility intended to make rapid feedback and automated testing natural and completely ordinary.
Diffstat (limited to 'sysutils/entr')
-rw-r--r--sysutils/entr/DESCR3
-rw-r--r--sysutils/entr/Makefile17
-rw-r--r--sysutils/entr/PLIST3
-rw-r--r--sysutils/entr/distinfo6
-rw-r--r--sysutils/entr/patches/patch-Makefile.bsd26
5 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/entr/DESCR b/sysutils/entr/DESCR
new file mode 100644
index 00000000000..feb175f260f
--- /dev/null
+++ b/sysutils/entr/DESCR
@@ -0,0 +1,3 @@
+The Event Notify Test Runner is a general-purpose UNIX utility
+intended to make rapid feedback and automated testing natural and
+completely ordinary.
diff --git a/sysutils/entr/Makefile b/sysutils/entr/Makefile
new file mode 100644
index 00000000000..8208833c1f5
--- /dev/null
+++ b/sysutils/entr/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/04/19 07:57:12 wiz Exp $
+#
+
+DISTNAME= entr-1.9
+CATEGORIES= sysutils
+MASTER_SITES= http://entrproject.org/code/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://entrproject.org/code/
+COMMENT= Run arbitrary commands when files change
+#LICENSE= # TODO: (see mk/license.mk)
+
+WRKSRC= ${WRKDIR}/eradman-entr-587c18272485
+HAS_CONFIGURE= yes
+MAKE_FILE= Makefile.bsd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/entr/PLIST b/sysutils/entr/PLIST
new file mode 100644
index 00000000000..136ee527104
--- /dev/null
+++ b/sysutils/entr/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/19 07:57:12 wiz Exp $
+bin/entr
+man/man1/entr.1
diff --git a/sysutils/entr/distinfo b/sysutils/entr/distinfo
new file mode 100644
index 00000000000..c6ef2c92b0b
--- /dev/null
+++ b/sysutils/entr/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/19 07:57:12 wiz Exp $
+
+SHA1 (entr-1.9.tar.gz) = b339dd1710addac2e69885681e95f19129ec6576
+RMD160 (entr-1.9.tar.gz) = ab55f7b6d17cb21d319062d3c79433d08d0d890a
+Size (entr-1.9.tar.gz) = 8680 bytes
+SHA1 (patch-Makefile.bsd) = 87d9a4474a819fc3840b616dfb31a2632dacf685
diff --git a/sysutils/entr/patches/patch-Makefile.bsd b/sysutils/entr/patches/patch-Makefile.bsd
new file mode 100644
index 00000000000..df97b84b555
--- /dev/null
+++ b/sysutils/entr/patches/patch-Makefile.bsd
@@ -0,0 +1,26 @@
+$NetBSD: patch-Makefile.bsd,v 1.1 2013/04/19 07:57:12 wiz Exp $
+
+Support DESTDIR.
+
+--- Makefile.bsd.orig 2013-04-13 13:09:24.000000000 +0000
++++ Makefile.bsd
+@@ -30,13 +30,13 @@ clean:
+ rm -f makefile
+
+ install:
+- @mkdir -p ${PREFIX}/bin
+- @mkdir -p ${MANPREFIX}/man1
+- install entr ${PREFIX}/bin
+- install entr.1 ${MANPREFIX}/man1
++ @mkdir -p ${DESTDIR}${PREFIX}/bin
++ @mkdir -p ${DESTDIR}${MANPREFIX}/man1
++ install entr ${DESTDIR}${PREFIX}/bin
++ install entr.1 ${DESTDIR}${MANPREFIX}/man1
+
+ uninstall:
+- rm ${PREFIX}/bin/entr
+- rm ${MANPREFIX}/man1/entr.1
++ rm ${DESTDIR}${PREFIX}/bin/entr
++ rm ${DESTDIR}${MANPREFIX}/man1/entr.1
+
+ .PHONY: clean install uninstall