aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-09-01 12:31:51 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-09-01 12:31:51 +0000
commitada3aaa54d652097b97b647d228a0245e40bfb13 (patch)
tree60f404e89bb3e2c170f7de81c3d69b6ed93daa7a /archivers
parent877148c55b533c6600d3bcc4b104f700c9ca3c2f (diff)
downloadports-ada3aaa54d652097b97b647d228a0245e40bfb13.tar.gz
ports-ada3aaa54d652097b97b647d228a0245e40bfb13.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/ppmd-7z/Makefile35
-rw-r--r--archivers/ppmd-7z/distinfo3
-rw-r--r--archivers/ppmd-7z/pkg-descr5
4 files changed, 44 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 79fda75b33f0..32ba5d0280ff 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -105,6 +105,7 @@
SUBDIR += php5-bz2
SUBDIR += php5-zlib
SUBDIR += ppmd
+ SUBDIR += ppmd-7z
SUBDIR += ppunpack
SUBDIR += py-lzma
SUBDIR += py-tarfile
diff --git a/archivers/ppmd-7z/Makefile b/archivers/ppmd-7z/Makefile
new file mode 100644
index 000000000000..e4e01da1cdd9
--- /dev/null
+++ b/archivers/ppmd-7z/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: ppmd-7z
+# Date created: 1 September 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ppmd
+PORTVERSION= 4.53
+CATEGORIES= archivers
+MASTER_SITES= SF
+PKGNAMESUFFIX= -7z
+DISTNAME= p7zip_${DISTVERSION}_src_all
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= High-ratio PPMD compressor
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/p7zip_${DISTVERSION}
+BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
+MAKEFILE= makefile
+PLIST_FILES= bin/${PKGBASE}
+MAKE_ARGS= PROG=${PORTNAME} CXX="${CXX}" LIB="${PTHREAD_LIBS}"
+
+post-patch:
+ @${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
+ ${WRKSRC}/CPP/7zip/Common/FileStreams.h
+ @${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|;s|-o|${CFLAGS} -o|'\
+ ${BUILD_WRKSRC}/${MAKEFILE}
+
+do-install:
+ @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PKGBASE}
+
+.include <bsd.port.mk>
diff --git a/archivers/ppmd-7z/distinfo b/archivers/ppmd-7z/distinfo
new file mode 100644
index 000000000000..2000da1002d4
--- /dev/null
+++ b/archivers/ppmd-7z/distinfo
@@ -0,0 +1,3 @@
+MD5 (p7zip_4.53_src_all.tar.bz2) = 331450463d5737bba96cbea2115abe8b
+SHA256 (p7zip_4.53_src_all.tar.bz2) = 0daf5ce820d3a1ca590eb6eee26137815c6bc91d813d1d09fe168b82f0dd6f5d
+SIZE (p7zip_4.53_src_all.tar.bz2) = 1488885
diff --git a/archivers/ppmd-7z/pkg-descr b/archivers/ppmd-7z/pkg-descr
new file mode 100644
index 000000000000..4a52618222c1
--- /dev/null
+++ b/archivers/ppmd-7z/pkg-descr
@@ -0,0 +1,5 @@
+Simple command line implementation of PPMD compression algorithm. It
+is based on code by Dmitry Shkarin (archivers/ppmd) but reworked by
+Igor Pavlov and bundled with 7zip.
+
+WWW: http://www.7-zip.org/sdk.html