summaryrefslogtreecommitdiff
path: root/archivers/ppmd/Makefile
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-03-08 23:44:00 +0000
committerben <ben@pkgsrc.org>2004-03-08 23:44:00 +0000
commita279467359607819e82612478ad6b32b9ebacb53 (patch)
treefa145c5af7c4bd6397ec573034873bfc19cb3ea2 /archivers/ppmd/Makefile
parentfd1ed87c146a58e38ca42c5d220002b93c77c4a3 (diff)
downloadpkgsrc-a279467359607819e82612478ad6b32b9ebacb53.tar.gz
Initial import of ppmd-9.1, a PPM file compressor.
PPMd is a file compressor written mainly for embedding in user programs, and it is not intended for direct use. This program is an effort to make speed and performance improvements on the abstract PPM model [1-6] without tuning it to particular data types.
Diffstat (limited to 'archivers/ppmd/Makefile')
-rw-r--r--archivers/ppmd/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/archivers/ppmd/Makefile b/archivers/ppmd/Makefile
new file mode 100644
index 00000000000..b042354ff5a
--- /dev/null
+++ b/archivers/ppmd/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
+#
+
+DISTNAME= ppmdi1
+PKGNAME= ppmd-9.1
+CATEGORIES= archivers
+MASTER_SITES= http://compression.ru/ds/
+EXTRACT_SUFX= .rar
+
+MAINTAINER= ben@NetBSD.org
+HOMEPAGE= http://compression.ru/ds/
+COMMENT= PPM file compressor
+
+MAKEFILE= makefile.gmk
+ALL_TARGET= ppmd
+
+WRKSRC= ${WRKDIR}
+
+post-extract:
+ cd ${WRKSRC} && for i in *; do \
+ ${MV} $$i $$i.new; \
+ ${TR} -d '\r' <$$i.new >$$i; \
+ ${RM} $$i.new; \
+ done
+
+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/
+
+.include "../../mk/bsd.pkg.mk"