pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/xymonclient Makefile style improvements



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd4c55742627
branches:  trunk
changeset: 574316:fd4c55742627
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Apr 14 06:25:23 2010 +0000

description:
Makefile style improvements

diffstat:

 net/xymonclient/Makefile |  31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diffs (76 lines):

diff -r 86b322cce79b -r fd4c55742627 net/xymonclient/Makefile
--- a/net/xymonclient/Makefile  Wed Apr 14 02:19:27 2010 +0000
+++ b/net/xymonclient/Makefile  Wed Apr 14 06:25:23 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/03/16 00:23:46 spz Exp $
+# $NetBSD: Makefile,v 1.5 2010/04/14 06:25:23 spz Exp $
 #
 
 DISTNAME=              xymon-4.3.0-beta2
@@ -10,6 +10,7 @@
 MAINTAINER=            spz%NetBSD.org@localhost
 HOMEPAGE=              http://hobbitmon.sourceforge.net/
 COMMENT=               Network services monitor a la Big Brother
+
 LICENSE=               gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   user-destdir
@@ -62,12 +63,12 @@
 BUILD_DEFS+=           BBSERVERIP
 
 FILES_SUBST+=          BBHOME=${BBHOME:Q}
-FILES_SUBST+=          BBLOGDIR=${BBLOGDIR:Q}
+FILES_SUBST+=          BBLOGDIR=${BBLOGDIR}
 FILES_SUBST+=          BBVAR=${BBVAR:Q}
-FILES_SUBST+=          XYBINDIR=${XYBINDIR:Q}
-FILES_SUBST+=          XYETCDIR=${XYETCDIR:Q}
-FILES_SUBST+=          XYEXTDIR=${XYEXTDIR:Q}
-FILES_SUBST+=          XYTMPDIR=${XYTMPDIR:Q}
+FILES_SUBST+=          XYBINDIR=${XYBINDIR}
+FILES_SUBST+=          XYETCDIR=${XYETCDIR}
+FILES_SUBST+=          XYEXTDIR=${XYEXTDIR}
+FILES_SUBST+=          XYTMPDIR=${XYTMPDIR}
 
 CONFIGURE_ARGS+=       "--client"
 
@@ -77,15 +78,15 @@
 CONFIGURE_ENV+=                BBHOSTIP=${BBSERVERIP:Q}
 CONFIGURE_ENV+=                BBUSER=${BBUSER:Q}
 CONFIGURE_ENV+=                BBHOME=${BBHOME:Q}
-CONFIGURE_ENV+=                BBTOPDIR=${BBTOPDIR:Q}
-CONFIGURE_ENV+=                BBLOGDIR=${BBLOGDIR:Q}
+CONFIGURE_ENV+=                BBTOPDIR=${BBTOPDIR}
+CONFIGURE_ENV+=                BBLOGDIR=${BBLOGDIR}
 CONFIGURE_ENV+=                BBVAR=${BBVAR:Q}
 CONFIGURE_ENV+=                INSTALLROOT=${DESTDIR}
-CONFIGURE_ENV+=                INSTALLBINDIR=${XYBINDIR:Q}
-CONFIGURE_ENV+=                INSTALLETCDIR=${XYETCDIR:Q}
-CONFIGURE_ENV+=                INSTALLEXADIR=${EXAMPLEDIR:Q}
-CONFIGURE_ENV+=                INSTALLEXTDIR=${XYEXTDIR:Q}
-CONFIGURE_ENV+=                INSTALLTMPDIR=${XYTMPDIR:Q}
+CONFIGURE_ENV+=                INSTALLBINDIR=${XYBINDIR}
+CONFIGURE_ENV+=                INSTALLETCDIR=${XYETCDIR}
+CONFIGURE_ENV+=                INSTALLEXADIR=${EXAMPLEDIR}
+CONFIGURE_ENV+=                INSTALLEXTDIR=${XYEXTDIR}
+CONFIGURE_ENV+=                INSTALLTMPDIR=${XYTMPDIR}
 CONFIGURE_ENV+=                MANROOT=${PREFIX}/${PKGMANDIR}/
 
 USE_TOOLS+=    awk:run         cat:run         cp:run
@@ -110,7 +111,7 @@
 OWN_DIRS_PERMS+=       ${XYTMPDIR}/client ${BBUSER} ${BBGROUP} 0755
 
 OWN_DIRS_PERMS+=       ${BBVAR} ${BBUSER} ${BBGROUP} 0755
-OWN_DIRS_PERMS+=        ${BBVAR}/data ${BBUSER} ${BBGROUP} 0755
+OWN_DIRS_PERMS+=       ${BBVAR}/data ${BBUSER} ${BBGROUP} 0755
 
 CFILES+=               clientlaunch.cfg hobbitclient.cfg localclient.cfg
 .for file in ${CFILES}
@@ -118,7 +119,7 @@
 .endfor
 
 MAKE_ENV+=             MAKE=${MAKE_PROGRAM:Q}
-MAKE_ENV+=             PKGDIR=${PREFIX:Q}
+MAKE_ENV+=             PKGDIR=${PREFIX}
 MAKE_ENV+=             INSTALLROOT=${DESTDIR}
 MAKE_ENV+=             PKGBUILD=y
 MAKE_ENV+=             ${TOOLS_ENV}



Home | Main Index | Thread Index | Old Index