summaryrefslogtreecommitdiff
path: root/archivers/ppmd/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-19 11:30:47 +0000
committerrillig <rillig@pkgsrc.org>2006-02-19 11:30:47 +0000
commit8d3309f5bc908eebee578ade9c5808e7bebf6b58 (patch)
treebcf33814872b8c3cdb97c04719774a5a122a9aff /archivers/ppmd/Makefile
parent3e5c2a5f6ba5512f06f6af8a3e81b877ad52c649 (diff)
downloadpkgsrc-8d3309f5bc908eebee578ade9c5808e7bebf6b58.tar.gz
Fixed pkglint warnings.
Diffstat (limited to 'archivers/ppmd/Makefile')
-rw-r--r--archivers/ppmd/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/archivers/ppmd/Makefile b/archivers/ppmd/Makefile
index b529bf05583..2a45aae36b1 100644
--- a/archivers/ppmd/Makefile
+++ b/archivers/ppmd/Makefile
@@ -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 @@ USE_LANGUAGES= c++
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"