pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_notify Follow style guidelines.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7eb2a935a086
branches: trunk
changeset: 487405:7eb2a935a086
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Thu Jan 13 21:51:19 2005 +0000
description:
Follow style guidelines.
diffstat:
pkgtools/pkg_notify/Makefile | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diffs (51 lines):
diff -r 89f4f5d8710d -r 7eb2a935a086 pkgtools/pkg_notify/Makefile
--- a/pkgtools/pkg_notify/Makefile Thu Jan 13 21:51:08 2005 +0000
+++ b/pkgtools/pkg_notify/Makefile Thu Jan 13 21:51:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/01/13 21:49:21 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2005/01/13 21:51:19 jmmv Exp $
#
DISTNAME= pkg_notify-0.4.1
@@ -12,22 +12,20 @@
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
+NO_BUILD= yes
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+USE_PERL5= yes
+USE_PKGINSTALL= yes
+WRKSRC= ${WRKDIR}/pkg_notify
-INSTALLATION_DIRS= bin
+EXAMPLEDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EXAMPLEDIR}/${PKGBASE}.list \
+ ${PKG_SYSCONFDIR}/${PKGBASE}.list
-USE_PKGINSTALL= yes
-EXAMPLEDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EXAMPLEDIR}/${PKGBASE}.list ${PKG_SYSCONFDIR}/${PKGBASE}.list
-
-SUBST_CLASSES+= pkg_notify
+SUBST_CLASSES+= pkg_notify
SUBST_MESSAGE.pkg_notify= "Setting up hardcoded path."
SUBST_STAGE.pkg_notify= post-patch
SUBST_FILES.pkg_notify= pkg_notify
@@ -36,6 +34,8 @@
-e 's|/usr/bin/make|${MAKE}|g' \
-e 's|/usr/pkg/bin/perl|${PERL5}|g'
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_SCRIPT} ${WRKSRC}/pkg_notify ${PREFIX}/bin
Home |
Main Index |
Thread Index |
Old Index