pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/ppmd Initial import of ppmd-9.1, a PPM file ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/797912dbf2e5
branches: trunk
changeset: 470396:797912dbf2e5
user: ben <ben%pkgsrc.org@localhost>
date: Mon Mar 08 23:44:00 2004 +0000
description:
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:
archivers/ppmd/DESCR | 4 ++++
archivers/ppmd/Makefile | 31 +++++++++++++++++++++++++++++++
archivers/ppmd/PLIST | 4 ++++
archivers/ppmd/distinfo | 6 ++++++
archivers/ppmd/patches/patch-aa | 30 ++++++++++++++++++++++++++++++
archivers/ppmd/patches/patch-ab | 16 ++++++++++++++++
6 files changed, 91 insertions(+), 0 deletions(-)
diffs (115 lines):
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/DESCR Mon Mar 08 23:44:00 2004 +0000
@@ -0,0 +1,4 @@
+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.
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/Makefile Mon Mar 08 23:44:00 2004 +0000
@@ -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@localhost
+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"
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/PLIST Mon Mar 08 23:44:00 2004 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
+bin/ppmd
+share/doc/ppmd/read_me.txt
+@dirrm share/doc/ppmd
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/distinfo Mon Mar 08 23:44:00 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
+
+SHA1 (ppmdi1.rar) = 8d9780f78e5131f0f21ba0519d13f6d92a8eec82
+Size (ppmdi1.rar) = 72270 bytes
+SHA1 (patch-aa) = 72bfec6320828b7b4456554a1134d5dfbb591a10
+SHA1 (patch-ab) = a5e1fa839a8aa826ae3c00e08908c9a2d1f841a6
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/patches/patch-aa Mon Mar 08 23:44:00 2004 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
+
+--- makefile.gmk.orig 2004-03-08 15:08:54.000000000 -0800
++++ makefile.gmk
+@@ -1,18 +1,17 @@
+ ## Take a look at PPMdType.h for additional compiler & environment options
+ OBJS = PPMd.o Model.o
+
+-CXX = Gcc
+-LINK = Gcc
++LINK = $(CXX)
+ CODE_FLAGS = -fno-exceptions -fno-rtti -pedantic -Wall \
+ -Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion
+-OPT_FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -fstrict-aliasing
+-DEBUG_FLAGS = -g0
++OPT_FLAGS =
++DEBUG_FLAGS = -g
+ LD_FLAGS = -s
+
+-PPMd.exe: $(OBJS)
+- $(LINK) -o PPMd.exe $(OBJS) -lstdcxx -Xlinker $(LD_FLAGS)
++ppmd: $(OBJS)
++ $(LINK) $(LD_FLAGS) -o ppmd $(OBJS)
+
+ Model.o: Model.cpp PPMdType.h PPMd.h SubAlloc.hpp Coder.hpp
+ $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c Model.cpp
+ PPMd.o: PPMd.cpp PPMdType.h PPMd.h
+- $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp
+\ No newline at end of file
++ $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp
diff -r d6e338ce5265 -r 797912dbf2e5 archivers/ppmd/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ppmd/patches/patch-ab Mon Mar 08 23:44:00 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
+
+--- PPMdType.h.orig 2004-03-08 15:08:54.000000000 -0800
++++ PPMdType.h
+@@ -10,9 +10,9 @@
+
+ #include <stdio.h>
+
+-#define _WIN32_ENVIRONMENT_
++//#define _WIN32_ENVIRONMENT_
+ //#define _DOS32_ENVIRONMENT_
+-//#define _POSIX_ENVIRONMENT_
++#define _POSIX_ENVIRONMENT_
+ //#define _UNKNOWN_ENVIRONMENT_
+ #if defined(_WIN32_ENVIRONMENT_)+defined(_DOS32_ENVIRONMENT_)+defined(_POSIX_ENVIRONMENT_)+defined(_UNKNOWN_ENVIRONMENT_) != 1
+ #error Only one environment must be defined
Home |
Main Index |
Thread Index |
Old Index