pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/ppmd Fixed pkglint warnings.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e93d9c75e563
branches: trunk
changeset: 508439:e93d9c75e563
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Feb 19 11:30:47 2006 +0000
description:
Fixed pkglint warnings.
diffstat:
archivers/ppmd/Makefile | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diffs (34 lines):
diff -r 25911b68ecb6 -r e93d9c75e563 archivers/ppmd/Makefile
--- a/archivers/ppmd/Makefile Sun Feb 19 11:14:47 2006 +0000
+++ b/archivers/ppmd/Makefile Sun Feb 19 11:30:47 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/01/21 02:50:35 tv Exp $
+# $NetBSD: Makefile,v 1.6 2006/02/19 11:30:47 rillig Exp $
#
DISTNAME= ppmdi1
@@ -21,16 +21,15 @@
INSTALLATION_DIRS= bin
-post-extract:
- cd ${WRKSRC} && for i in *; do \
- ${MV} $$i $$i.new; \
- ${TR} -d '\r' <$$i.new >$$i; \
- ${RM} $$i.new; \
- done
+SUBST_CLASSES+= d2u
+SUBST_MESSAGE.d2u= Converting CRLF to LF.
+SUBST_STAGE.d2u= post-extract
+SUBST_FILES.d2u= *
+SUBST_FILTER_CMD.d2u= tr -d '\015'
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ppmd ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ppmd
- ${INSTALL_DATA} ${WRKSRC}/read_me.txt ${PREFIX}/share/doc/ppmd/
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/ppmd ${PREFIX:Q}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/ppmd
+ ${INSTALL_DATA} ${WRKSRC:Q}/read_me.txt ${PREFIX:Q}/share/doc/ppmd/
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index