pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/pcps print/pcps: fix pkglint warnings



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3a252b0cf91
branches:  trunk
changeset: 403815:b3a252b0cf91
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 02 14:21:53 2019 +0000

description:
print/pcps: fix pkglint warnings

diffstat:

 print/pcps/Makefile         |  22 +++++++++++-----------
 print/pcps/distinfo         |   6 +++---
 print/pcps/patches/patch-aa |   4 +++-
 print/pcps/patches/patch-ab |   4 +++-
 4 files changed, 20 insertions(+), 16 deletions(-)

diffs (83 lines):

diff -r 5504280c3c38 -r b3a252b0cf91 print/pcps/Makefile
--- a/print/pcps/Makefile       Sat Nov 02 14:07:02 2019 +0000
+++ b/print/pcps/Makefile       Sat Nov 02 14:21:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/10/08 13:45:43 asau Exp $
+# $NetBSD: Makefile,v 1.23 2019/11/02 14:21:53 rillig Exp $
 #
 
 DISTNAME=      pcps840
@@ -12,14 +12,14 @@
 COMMENT=       Converts text files to PostScript(tm)
 LICENSE=       pcps-license
 
-RESTRICTED=    This is shareware for your evaluation and subsequent payment
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM=${RESTRICTED}
+RESTRICTED=            This is shareware for your evaluation and subsequent payment
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
 
 WRKSRC=                ${WRKDIR}
 MAKE_FILE=     makefile
 BUILD_TARGET=
-MAKE_ENV+=     "CC=${CC} ${CFLAGS} -DUNIX"
+MAKE_ENV+=     CC=${CC:Q}\ ${CFLAGS:Q}\ -DUNIX
 NO_CONFIGURE=  yes
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/pcps share/examples/pcps
@@ -30,11 +30,11 @@
        ${SED} "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/pcps.1 > ${WRKDIR}/pcps.1
 
 do-install:
-       @${INSTALL_PROGRAM}  ${WRKSRC}/pcps ${DESTDIR}${PREFIX}/bin/pcps
-       @${INSTALL_MAN}      ${WRKDIR}/pcps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-       @${INSTALL_DATA}     ${WRKSRC}/license.doc ${DESTDIR}${PREFIX}/share/doc/pcps
-       @${INSTALL_DATA}     ${WRKSRC}/register.doc ${DESTDIR}${PREFIX}/share/doc/pcps
-       @${INSTALL_DATA}     ${WRKSRC}/pcps.man ${DESTDIR}${PREFIX}/share/doc/pcps
-       @${INSTALL_DATA}     ${FILESDIR}/pcps.cfg ${DESTDIR}${PREFIX}/share/examples/pcps/pcps.cfg
+       ${INSTALL_PROGRAM}  ${WRKSRC}/pcps ${DESTDIR}${PREFIX}/bin/pcps
+       ${INSTALL_MAN}      ${WRKDIR}/pcps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA}     ${WRKSRC}/license.doc ${DESTDIR}${PREFIX}/share/doc/pcps
+       ${INSTALL_DATA}     ${WRKSRC}/register.doc ${DESTDIR}${PREFIX}/share/doc/pcps
+       ${INSTALL_DATA}     ${WRKSRC}/pcps.man ${DESTDIR}${PREFIX}/share/doc/pcps
+       ${INSTALL_DATA}     ${FILESDIR}/pcps.cfg ${DESTDIR}${PREFIX}/share/examples/pcps/pcps.cfg
 
 .include "../../mk/bsd.pkg.mk"
diff -r 5504280c3c38 -r b3a252b0cf91 print/pcps/distinfo
--- a/print/pcps/distinfo       Sat Nov 02 14:07:02 2019 +0000
+++ b/print/pcps/distinfo       Sat Nov 02 14:21:53 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 01:01:36 agc Exp $
+$NetBSD: distinfo,v 1.7 2019/11/02 14:21:53 rillig Exp $
 
 SHA1 (pcps840.tar.gz) = aa144398d59326c183d2d248b16f30f31420b3c6
 RMD160 (pcps840.tar.gz) = b5a172dc5e0bb876bb52ac7d6c0aa450c12f957b
 SHA512 (pcps840.tar.gz) = cdd8644707028fdc8a2cd05158554843e451282cd8c1ab1ce66be6dd049882f8aedddd84b4325a08574aea02acd5f1ca8cb6df1c5920f5fde3fa08d5d46ec288
 Size (pcps840.tar.gz) = 84459 bytes
-SHA1 (patch-aa) = b61ed0bac9c83716519797cc980e2ccfabbdd395
-SHA1 (patch-ab) = e17de47516bc1b97704c632a618f881aadb6432e
+SHA1 (patch-aa) = 9cbfc36f51682eb54c0171e22b716276111d6659
+SHA1 (patch-ab) = 5b888293425aa221650870fbcd397dd1e15f7ac8
diff -r 5504280c3c38 -r b3a252b0cf91 print/pcps/patches/patch-aa
--- a/print/pcps/patches/patch-aa       Sat Nov 02 14:07:02 2019 +0000
+++ b/print/pcps/patches/patch-aa       Sat Nov 02 14:21:53 2019 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2003/06/10 00:04:18 jmc Exp $
+$NetBSD: patch-aa,v 1.3 2019/11/02 14:21:53 rillig Exp $
+
+Adjust the compiler and the compiler flags.
 
 --- ./makefile.orig    Tue Apr  4 20:06:22 2000
 +++ ./makefile Mon May 22 13:40:03 2000
diff -r 5504280c3c38 -r b3a252b0cf91 print/pcps/patches/patch-ab
--- a/print/pcps/patches/patch-ab       Sat Nov 02 14:07:02 2019 +0000
+++ b/print/pcps/patches/patch-ab       Sat Nov 02 14:21:53 2019 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.1 2004/05/23 23:28:29 danw Exp $
+$NetBSD: patch-ab,v 1.2 2019/11/02 14:21:53 rillig Exp $
+
+Fix headers for all modern operating systems.
 
 --- define.h.orig      Tue Apr  4 23:06:22 2000
 +++ define.h



Home | Main Index | Thread Index | Old Index