freebsd-ports/textproc/humanzip/Makefile
Andrew Pantyukhin 11c953071b Add port textproc/humanzip:
humanzip is a compression program that operates on text files.  Unlike
most compression algorithms, its output is human readable.  Indeed, it
is explictly meant to be read by humans and might even be easier to read
than the original.

humanzip compresses files by looking for common strings of words and
replacing them with single symbols. The idea is to reduce the screen and
print size of documents.  Humanzip does not explictly try to reduce the
size of the file as measured in bytes, although this usually happens
incidentally.

WWW: http://savannah.nongnu.org/projects/humanzip/
Author: Matthew Strait
2007-07-21 19:16:45 +00:00

33 lines
824 B
Makefile

# New ports collection makefile for: humanzip
# Date created: 21 July 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= humanzip
PORTVERSION= 0.5
CATEGORIES= textproc archivers
MASTER_SITES= SAVANNAH CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Compresses text to human readable output
post-patch:
@${REINPLACE_CMD} -e 's|g++|${CXX}|;s|-O2|${CFLAGS}|' \
${WRKSRC}/${MAKEFILE}
MAN1= ${PORTNAME}.1
MLINKS= ${PORTNAME}.1 humanunzip.1
PLIST_FILES= bin/${PORTNAME} bin/humanunzip
PORTDOCS= CHANGELOG README TODO
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/human*zip ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>