pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/pcps Use config file framework for pcps.cfg. Bum...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55da1acf5c7f
branches:  trunk
changeset: 511298:55da1acf5c7f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Apr 12 20:57:39 2006 +0000

description:
Use config file framework for pcps.cfg. Bump revision.

diffstat:

 print/pcps/Makefile |  8 ++++++--
 print/pcps/PLIST    |  5 +++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 354b8931f4a8 -r 55da1acf5c7f print/pcps/Makefile
--- a/print/pcps/Makefile       Wed Apr 12 20:55:04 2006 +0000
+++ b/print/pcps/Makefile       Wed Apr 12 20:57:39 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:30:31 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/04/12 20:57:39 joerg Exp $
 #
 
 DISTNAME=      pcps840
 PKGNAME=       pcps-8.40
+PKGREVISION=   1
 CATEGORIES=    print textproc
 MASTER_SITES=  ftp://garbo.uwasa.fi/unix/pcps/
 
@@ -23,16 +24,19 @@
 
 INSTALLATION_DIRS=     bin man/man1
 
+CONF_FILES+=   ${PREFIX}/share/examples/pcps/pcps.cfg ${PREFIX}/bin/pcps.cfg
+
 post-patch:
        ${SED} "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/pcps.1 > ${WRKDIR}/pcps.1
 
 do-install:
        @${INSTALL_PROGRAM}  ${WRKSRC}/pcps ${PREFIX}/bin/pcps
        @${INSTALL_MAN}      ${WRKDIR}/pcps.1 ${PREFIX}/man/man1
-       @${INSTALL_DATA}     ${FILESDIR}/pcps.cfg ${PREFIX}/bin/pcps.cfg
        @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pcps
        @${INSTALL_DATA}     ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps
        @${INSTALL_DATA}     ${WRKSRC}/register.doc ${PREFIX}/share/doc/pcps
        @${INSTALL_DATA}     ${WRKSRC}/pcps.man ${PREFIX}/share/doc/pcps
+       @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pcps
+       @${INSTALL_DATA}     ${FILESDIR}/pcps.cfg ${PREFIX}/share/examples/pcps/pcps.cfg
 
 .include "../../mk/bsd.pkg.mk"
diff -r 354b8931f4a8 -r 55da1acf5c7f print/pcps/PLIST
--- a/print/pcps/PLIST  Wed Apr 12 20:55:04 2006 +0000
+++ b/print/pcps/PLIST  Wed Apr 12 20:57:39 2006 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:57 skrll Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/04/12 20:57:39 joerg Exp $
 bin/pcps
 man/man1/pcps.1
 share/doc/pcps/pcps.man
 share/doc/pcps/license.doc
 share/doc/pcps/register.doc
+share/examples/pcps/pcps.cfg
 @dirrm share/doc/pcps
-@unexec ${RM} -f %D/bin/pcps.cfg
+@dirrm share/examples/pcps



Home | Main Index | Thread Index | Old Index