summaryrefslogtreecommitdiffstats
path: root/textproc/humanzip/Makefile
blob: b5c7d7bc8931a9ae793191c620b8f0e62fd3aa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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>
OpenPOWER on IntegriCloud