mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
add xmlppm
XML-Conscious PPM Compression
This commit is contained in:
parent
72e6d66a80
commit
1bdf10e1da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42609
@ -181,6 +181,7 @@
|
||||
SUBDIR += xls2xml
|
||||
SUBDIR += xml-i18n-tools
|
||||
SUBDIR += xml4j
|
||||
SUBDIR += xmlppm
|
||||
SUBDIR += xp
|
||||
SUBDIR += xsl-docbook-modular
|
||||
SUBDIR += xt
|
||||
|
30
textproc/xmlppm/Makefile
Normal file
30
textproc/xmlppm/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# ex:ts=8
|
||||
# New ports collection makefile for: xmlppm
|
||||
# Date created: May 15, 2001
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xmlppm
|
||||
PORTVERSION= 0.95.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://www.cs.cornell.edu/People/jcheney/xmlppm/
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||
USE_GMAKE= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} ; ${INSTALL_PROGRAM} xmlppm xmlunppm ${PREFIX}/bin)
|
||||
|
||||
.include <bsd.port.mk>
|
1
textproc/xmlppm/distinfo
Normal file
1
textproc/xmlppm/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xmlppm-0.95.2-src.tar.gz) = d8de4389d735df3806c1cf72bfd03068
|
12
textproc/xmlppm/files/patch-Makefile
Normal file
12
textproc/xmlppm/files/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
--- Makefile.orig Sat May 12 03:21:58 2001
|
||||
+++ Makefile Tue May 15 11:59:08 2001
|
||||
@@ -1,7 +1,6 @@
|
||||
-CC = gcc
|
||||
#XPPMFLAGS = -DELTPREC_P=1 -DATTPREC=1 -DCHARPREC=1 -DELTORDER=5 -DATTORDER=5 -DCHARORDER=5 -DATTS -DCHAR -DSYMS
|
||||
-CFLAGS = $(XPPMFLAGS) -O2 -Wall -ansi
|
||||
-LFLAGS = -lexpat -lm
|
||||
+CFLAGS += -I%%LOCALBASE%%/include
|
||||
+LFLAGS = -L%%LOCALBASE%%/lib -lexpat -lm
|
||||
#LFLAGS = /usr/lib/libexpat.a -lm
|
||||
|
||||
BINARIES = xmlppm xmlunppm
|
1
textproc/xmlppm/pkg-comment
Normal file
1
textproc/xmlppm/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
XML-Conscious PPM Compression
|
8
textproc/xmlppm/pkg-descr
Normal file
8
textproc/xmlppm/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
XMLPPM is a data compression program that compresses XML files from 5 to
|
||||
30% better than any existing text or XML-specific compressors. It is a
|
||||
combination of the well-known Prediction by Partial Match (PPM) algorithm
|
||||
for text compression, first described by Cleary and Witten in 1984, and an
|
||||
approach to modeling tree-structured data called Multiplexed Hierarchical
|
||||
Modeling (MHM) that I have developed.
|
||||
|
||||
WWW: http://xmlppm.sourceforge.net/
|
2
textproc/xmlppm/pkg-plist
Normal file
2
textproc/xmlppm/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/xmlppm
|
||||
bin/xmlunppm
|
Loading…
Reference in New Issue
Block a user