diff options
author | spz <spz@pkgsrc.org> | 2010-04-14 06:25:23 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2010-04-14 06:25:23 +0000 |
commit | 32c54bd9ee317da08af1e950e3fcfd76480d7b67 (patch) | |
tree | 24bf5768f7007be2c131eeee99179922f9f8efc4 /net | |
parent | 5281ad37d7cb370799fd54860548fe55e5add321 (diff) | |
download | pkgsrc-32c54bd9ee317da08af1e950e3fcfd76480d7b67.tar.gz |
Makefile style improvements
Diffstat (limited to 'net')
-rw-r--r-- | net/xymonclient/Makefile | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/net/xymonclient/Makefile b/net/xymonclient/Makefile index d22e1aa8fe1..bad0442d900 100644 --- a/net/xymonclient/Makefile +++ b/net/xymonclient/Makefile @@ -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 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hobbitmon/} MAINTAINER= spz@NetBSD.org 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+= BBSERVERNAME 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+= BBHOSTNAME=${BBSERVERNAME:Q} 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} ${BBUSER} ${BBGROUP} 0755 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 @@ CONF_FILES_PERMS+= ${EXAMPLEDIR}/${file} ${PKG_SYSCONFDIR.xymon}/${file} ${BBUSE .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} |