summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-01-13 21:51:19 +0000
committerjmmv <jmmv@pkgsrc.org>2005-01-13 21:51:19 +0000
commit224323427425b8a15fbda54135411716c3f879e2 (patch)
tree3eae204052271a559a6ecdafed9907f28d6f5dec /pkgtools
parentdaa15ec0da9c4a13a4a5be61336ce4054a995a20 (diff)
downloadpkgsrc-224323427425b8a15fbda54135411716c3f879e2.tar.gz
Follow style guidelines.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_notify/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkgtools/pkg_notify/Makefile b/pkgtools/pkg_notify/Makefile
index 72df065ec72..914974d033f 100644
--- a/pkgtools/pkg_notify/Makefile
+++ b/pkgtools/pkg_notify/Makefile
@@ -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 @@ 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
+NO_BUILD= yes
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+USE_PERL5= yes
+USE_PKGINSTALL= yes
+WRKSRC= ${WRKDIR}/pkg_notify
-USE_PKGINSTALL= yes
-EXAMPLEDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EXAMPLEDIR}/${PKGBASE}.list ${PKG_SYSCONFDIR}/${PKGBASE}.list
+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 @@ SUBST_SED.pkg_notify= -e 's|/usr/pkgsrc|${PKGSRCDIR}|' \
-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