summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_notify/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-12-28 00:26:20 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-12-28 00:26:20 +0000
commit46ea05f309c2211164afd264d6698022c51a990f (patch)
tree2df32916f54e6497f4831f40938e8ac58f031978 /pkgtools/pkg_notify/Makefile
parent7c09978bd0364f99269139827070b9df98b71a5f (diff)
downloadpkgsrc-46ea05f309c2211164afd264d6698022c51a990f.tar.gz
Initial import of pkg_notify-0.3 from pkgsrc-wip, packaged/coded
by Imil <imil@gcu.info>. pkg_notify notifies package maintainer when a new version of the software is available.
Diffstat (limited to 'pkgtools/pkg_notify/Makefile')
-rw-r--r--pkgtools/pkg_notify/Makefile37
1 files changed, 37 insertions, 0 deletions
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"