aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/humanzip/Makefile
blob: 143d2b506060f0a4dd7e328394d38eb0cba7f93b (plain) (blame)
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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   humanzip
PORTVERSION=    0.5
CATEGORIES= textproc archivers
MASTER_SITES=   SAVANNAH CENKES

MAINTAINER= ports@FreeBSD.org
COMMENT=    Compresses text to human readable output

NO_STAGE=   yes
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>