pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fixed pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c13c76c4143f
branches:  trunk
changeset: 533495:c13c76c4143f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 20 08:54:18 2007 +0000

description:
Fixed pkglint warnings.

diffstat:

 misc/mirmon/Makefile |  9 ++++-----
 net/ywho/Makefile    |  7 ++++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r c9baaaf2097d -r c13c76c4143f misc/mirmon/Makefile
--- a/misc/mirmon/Makefile      Thu Sep 20 08:39:37 2007 +0000
+++ b/misc/mirmon/Makefile      Thu Sep 20 08:54:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+# $NetBSD: Makefile,v 1.2 2007/09/20 08:54:18 rillig Exp $
 #
 
 DISTNAME=              mirmon-1.36
@@ -18,13 +18,13 @@
 EG_DIR=                        ${PREFIX}/share/examples/mirmon
 MIRMONDIR=             ${PREFIX}/share/mirmon
 
-SUBST_CLASSES+=                mirmon1 mirmon2
-
+SUBST_CLASSES+=                mirmon1
 SUBST_STAGE.mirmon1=   pre-configure
 SUBST_FILES.mirmon1=   mirmon
 SUBST_SED.mirmon1+=    -e s!/etc/!${PKG_SYSCONFDIR}/!g
 SUBST_SED.mirmon1+=    -e s!/sw/!${LOCALBASE}/!g
 
+SUBST_CLASSES+=                mirmon2
 SUBST_STAGE.mirmon2=   pre-configure
 SUBST_FILES.mirmon2=   ${WRKDIR}/mirmon.conf
 SUBST_SED.mirmon2+=    -e s!@@MIRMONDIR@@!${MIRMONDIR}!g
@@ -43,7 +43,6 @@
        ${INSTALL_DATA_DIR} ${MIRMONDIR}
        ${INSTALL_DATA} ${WRKSRC}/countries.list ${MIRMONDIR}
        ${INSTALL_DATA_DIR} ${MIRMONDIR}/icons
-       cd ${WRKSRC}/icons && \
-        for f in *; do ${INSTALL_DATA} $${f} ${MIRMONDIR}/icons; done
+       cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${MIRMONDIR}/icons
 
 .include "../../mk/bsd.pkg.mk"
diff -r c9baaaf2097d -r c13c76c4143f net/ywho/Makefile
--- a/net/ywho/Makefile Thu Sep 20 08:39:37 2007 +0000
+++ b/net/ywho/Makefile Thu Sep 20 08:54:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/04/11 21:47:03 tv Exp $
+# $NetBSD: Makefile,v 1.9 2007/09/20 08:57:53 rillig Exp $
 #
 
 DISTNAME=              ywho-1.3
@@ -9,7 +9,8 @@
 COMMENT=               Who, users, uptime on clients in a sun-RPC network
 
 NO_CONFIGURE=          yes
-BUILD_TARGET=          all DEST=${PREFIX}
-INSTALL_TARGET=                install install.man DEST=${PREFIX}
+MAKE_FLAGS+=           DEST=${PREFIX}
+BUILD_TARGET=          all
+INSTALL_TARGET=                install install.man
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index