summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/pkg_notify/DESCR2
-rw-r--r--pkgtools/pkg_notify/MESSAGE16
-rw-r--r--pkgtools/pkg_notify/Makefile37
-rw-r--r--pkgtools/pkg_notify/PLIST2
-rw-r--r--pkgtools/pkg_notify/distinfo4
5 files changed, 61 insertions, 0 deletions
diff --git a/pkgtools/pkg_notify/DESCR b/pkgtools/pkg_notify/DESCR
new file mode 100644
index 00000000000..df042b64fc9
--- /dev/null
+++ b/pkgtools/pkg_notify/DESCR
@@ -0,0 +1,2 @@
+pkg_notify notifies package maintainer when a new version of the
+software is available.
diff --git a/pkgtools/pkg_notify/MESSAGE b/pkgtools/pkg_notify/MESSAGE
new file mode 100644
index 00000000000..888e58d4185
--- /dev/null
+++ b/pkgtools/pkg_notify/MESSAGE
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/12/28 00:26:20 xtraeme Exp $
+
+Create the ${PKG_SYSCONFDIR}/pkg_notify.list file containing the package
+list you want to be informed on, following this format :
+
+$ cat ${PKG_SYSCONFDIR}/pkg_notify.list
+wip/foo
+net/bar
+www/foobar-devel
+
+or invoke pkg_notify this way :
+
+$ pkg_notify category/foo another/bar and/so-on
+
+===========================================================================
diff --git a/pkgtools/pkg_notify/Makefile b/pkgtools/pkg_notify/Makefile
new file mode 100644
index 00000000000..6310de97d86
--- /dev/null
+++ b/pkgtools/pkg_notify/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/28 00:26:21 xtraeme Exp $
+#
+
+DISTNAME= pkg_notify-0.3.0
+CATEGORIES= pkgtools
+MASTER_SITES= http://imil.net/NetBSD/
+
+MAINTAINER= imil@gcu.info
+HOMEPAGE= http://imil.net/
+COMMENT= Notifies package maintainer when a new version is available
+
+DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
+
+WRKSRC= ${WRKDIR}/pkg_notify
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+USE_PERL5= yes
+
+INSTALLATION_DIRS= bin
+
+SUBST_CLASSES+= pkg_notify
+SUBST_MESSAGE.pkg_notify= "Setting up hardcoded path."
+SUBST_STAGE.pkg_notify= post-patch
+SUBST_FILES.pkg_notify= pkg_notify
+SUBST_SED.pkg_notify= -e 's|/usr/pkgsrc|${PKGSRCDIR}|' \
+ -e 's|/usr/pkg|${LOCALBASE}|g' \
+ -e 's|/usr/bin/make|${MAKE}|g' \
+ -e 's|/usr/pkg/bin/perl|${PERL5}|g'
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pkg_notify ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pkgtools/pkg_notify/PLIST b/pkgtools/pkg_notify/PLIST
new file mode 100644
index 00000000000..bf6d07f0392
--- /dev/null
+++ b/pkgtools/pkg_notify/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/28 00:26:21 xtraeme Exp $
+bin/pkg_notify
diff --git a/pkgtools/pkg_notify/distinfo b/pkgtools/pkg_notify/distinfo
new file mode 100644
index 00000000000..424fcdda4d4
--- /dev/null
+++ b/pkgtools/pkg_notify/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/12/28 00:26:21 xtraeme Exp $
+
+SHA1 (pkg_notify-0.3.0.tar.gz) = d6874516f0a3be8aecbc2d17620d7d2f0e3ff5f0
+Size (pkg_notify-0.3.0.tar.gz) = 4625 bytes