pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/vice Fix a few pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbcdf562bfa8
branches:  trunk
changeset: 515263:cbcdf562bfa8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 29 23:01:43 2006 +0000

description:
Fix a few pkglint warnings.

diffstat:

 emulators/vice/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 8615d8db3ed6 -r cbcdf562bfa8 emulators/vice/Makefile
--- a/emulators/vice/Makefile   Thu Jun 29 22:59:05 2006 +0000
+++ b/emulators/vice/Makefile   Thu Jun 29 23:01:43 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2006/06/29 22:56:34 dillo Exp $
+# $NetBSD: Makefile,v 1.68 2006/06/29 23:01:43 wiz Exp $
 #
 
 DISTNAME=              vice-1.19
@@ -24,7 +24,7 @@
 GNU_CONFIGURE=         YES
 CONFIGURE_ARGS+=       --enable-fullscreen
 
-INFO_FILES=            # PLIST
+INFO_FILES=            YES
 FONTS_DIRS.x11=                ${PREFIX}/share/vice/fonts
 REQD_DIRS+=            ${PREFIX}/share/vice/fonts
 REQD_DIRS+=            ${PREFIX}/share/vice
@@ -39,16 +39,16 @@
 
 # These changes are rather common, so sed instead of patch:
 post-patch:
-       @for file in `${FIND} ${WRKSRC} -name Makefile.in -print`       \
+       for file in `${FIND} ${WRKSRC} -name Makefile.in -print`        \
                        ${WRKSRC}/src/arch/unix/archdep.h; do           \
                ${SED}  -e "s|/lib/vice/doc|/share/doc/vice|g"          \
                        -e "s|/lib/vice|/share/vice|g"                  \
                        -e "/^pkglibdir/s|(libdir)|(datadir)|g"         \
                        $$file > $$file.new;                            \
-               if cmp -s $$file $$file.new; then                       \
-                       rm -f $$file.new;                               \
+               if ${CMP} -s $$file $$file.new; then                    \
+                       ${RM} -f $$file.new;                            \
                else                                                    \
-                       mv -f $$file.new $$file;                        \
+                       ${MV} -f $$file.new $$file;                     \
                fi;                                                     \
        done
 



Home | Main Index | Thread Index | Old Index